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]

Re: LD doesn't complain undefined reference


Hi Tzu-Chien,

My linker or32-elf-ld didn't complain undefined reference. What
should I check?

* Are you using the most up to date binutils sources ?


* If you generate a linker map (using -Wl,-Map,foo.map) what does the linker think has happened to the "foo" symbol ? Also what type does the
"foo" symbol have in the executable ?


* Has the "--unresolved-symbols=ignore-all" linker option been enabled somehow ? Perhaps by the OpenRISC specific code in the linker ?

* Has the bfd error handler been disabled somehow ? (See ldlang.c:lang_check() for an example of this).

Cheers
  Nick


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