This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Using linker script instead of library in Gold


Hi Ian,
I have one short question today. Situation is as follow: instead of
having lib.so as shared library, on our Linux distribution we have ld
linker script:
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf32-tradlittlemips)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED (
/lib/ld.so.1 ) )

Is Gold capable of using it (for ld is enough to put -lc in command
line) and if yes, what command option should be used?

Thanks in advance for your answer.

Aleksandar



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