IA64 HP-UX patch for external function declarations
Steve Ellcey
sje@cup.hp.com
Mon Sep 9 10:28:00 GMT 2002
> On Mon, Sep 09, 2002 at 10:12:12AM -0700, Steve Ellcey wrote:
> > The need for this comes up if one uses a pragma or the __asm__ notation
> > to set the name of a function. You need to make the new name include
> > the '#' trailer because assemble_name will just call fputs to put out
> > the name you gave it and not call ASM_OUTPUT_LABELREF so no trailer is
> > automatically added in these cases.
>
> Hum. This seems like a bug. I don't think we can fix it
> until 3.4 though...
Would you approve the checkin if I take out the removal of the '#'
suffix? That would at least fix the issue of putting out external
declarations when they are not needed on HP-UX (and getting bogus
undefines) and take care of 90% of what this patch is trying to do.
Steve Ellcey
sje@cup.hp.com
More information about the Gcc-patches
mailing list