This is the mail archive of the binutils@sources.redhat.com 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]

Re: Resolving External References


Savithri Venkatachalapathy, Noida wrote:

Commands:
---------

gcc -c -EL -fpic -o a.o fun1.c gcc -c -EL -fpic -o b.o fun2.c ld -verbose -i -EL -fpic -o mytest.elf -defsym __start=0xbfc00000
-Tmyapp_lnk a.o b.o


Try to remove the '-fpic' option from the three command.

- Jie


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