Question about archive search behavior vs. --defsym
Mark Mitchell
mark@codesourcery.com
Thu Sep 9 06:55:00 GMT 2010
More information about the Binutils mailing list
Thu Sep 9 06:55:00 GMT 2010
- Previous message (by thread): Question about archive search behavior vs. --defsym
- Next message (by thread): Question about archive search behavior vs. --defsym
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/8/2010 11:19 PM, Ian Lance Taylor wrote: >> $ gcc main.c -Wl,--defsym=f=4 -L. -lf >> >> pulls in f.o from libf.a even though the symbol is already defined. > It's a phase ordering problem. Objects are pulled in from archives > before symbol assignments are processed. > I think this has to be considered a bug. OK. Is this a structurally hard thing to fix? Or just something that would take some effort? And, does GOLD handle this correctly? Thanks, -- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
- Previous message (by thread): Question about archive search behavior vs. --defsym
- Next message (by thread): Question about archive search behavior vs. --defsym
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list