gld not complaining about undefined symbols
Ian Lance Taylor
ian@zembu.com
Thu Jan 6 14:11:00 GMT 2000
More information about the Binutils mailing list
Thu Jan 6 14:11:00 GMT 2000
- Previous message (by thread): gld not complaining about undefined symbols
- Next message (by thread): gld not complaining about undefined symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 06 Jan 2000 15:12:42 -0600 From: Eric DeVolder <devolder@evsx.com> I thought that the reloc howto functions were only called when symbol value had been resolved, else ld spits out an undefined symbol message. No. The linker lets BFD do all relocation handling. If you are using the new linker style (see the long comment at the top of linker.c), then you need to call the undefined_symbol callback when appropriate. If you are using bfd_perform_relocation with a special_function, and the special_function does not return bfd_reloc_continue, then you need to return bfd_reloc_undefined for an undefined symbol. Ian
- Previous message (by thread): gld not complaining about undefined symbols
- Next message (by thread): gld not complaining about undefined symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list