This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Always link against static libgcc on hppa-linux


> > If it's being pulled from "-Wl,-A" for some platform, I would
> > consider it a bug.
> 
> Likely.  But given the context in which it is used to 
> suppress libraries, incremental linking appears to be
> the correct answer.

Then, the tests on "A" in LINK_COMMAND_SPEC are not relevant to hppa
linux and standard gnu ld.

I've thought some more about the position of "-lgcc" in the link spec.
I don't like putting it in the ENDFILE_SPEC because it depends on
"!nostartfiles" which seems wrong.  However, I've got the define
for LINK_COMMAND_SPEC in the wrong file.  It should be in pa-linux.h.

I suppose a linker script could be used but that seems like overkill
and something else to install.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]