[PATCH] Fix section symbols in objcopy when removing sections with relocations from Elf objects
Julian Brown
julian@codesourcery.com
Thu May 25 23:10:00 GMT 2006
Hi,
Alan Modra wrote:
> * elf.c (sym_is_global): Return a bfd_boolean.
> (ignore_section_sym): New function.
> (elf_map_symbols): Use ignore_section_sym to discard some syms.
> (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
> bfd before using elf_section_syms.
Thanks very much for looking into this! It's far preferable that the fix
is in Elf-specific code rather than the generic code, I agree. FYI, this
patch fixes the original problem just fine, and I've committed it on our
binutils-csl-2_17-branch.
Cheers,
Julian
More information about the Binutils
mailing list