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]

Wrong object file generated with -fPIC option 2.17 ported to Interix


Hi All
While porting binutils 2.17 to interix, I am getting the following issue:-
An object file generated using -fPIC option has undefined symbols like the following:-
  U L10@GOTOFF
  U L12@GOTOFF
  U L5@GOTOFF
  U L6@GOTOFF
  U _gl1@GOT
  U _src@GOT


I also found that this is happening in the assembly phase. I did the following:-
Gcc  -S -fPIC file.c

As -o file.o file.s

The object file generated have all the above as undefined symbol. I want to know what part of assembler or bfd code resolves these labels so that I can debug more to find out why these undefined symbols are getting generated.

Thanks
Mayank


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