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: stripping debug info & local symbols


Nathan Sidwell wrote:
I'm trying to fix a bug where objcopy -g is breaking relocations in a relocatable vxworks executable. The executable is generated by a non-gnu linker. It contains the following reloc and symbol table entry:

A little detective work fingers http://sourceware.org/ml/binutils/2006-05/msg00458.html


should we perhaps be fixing up the reloc in elf_write_relocs? I'm guessing we could check internal and external symbols, and if they are different figure out whether sec->output_offset and sym->values tell us there's an additional addend to adjust.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery


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