[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-31 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-12-31 22:04 --- I am closing this bug. If we really want to handle .dynsym in DSOs created by old linker, we can open a new bug report. -- What|Removed |Added --

[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-07 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-12-08 06:23 --- A similar problem can be seen on older dynamic objects. When stripping debug sections, section syms for the removed sections are not removed from .dynsym, because strip doesn't touch .dynsym. This leaves

[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-07 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-12-07 18:53 --- A patch is posted at http://sourceware.org/ml/binutils/2005-12/msg00058.html http://sourceware.org/ml/binutils/2005-12/msg00056.html is similar. But it doesn't handle a section is removed by "-R". -- http://sour

[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-07 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-12-07 17:07 --- The problem is that elf_discarded_section points to the input section, but this is not the linker. -- http://sourceware.org/bugzilla/show_bug.cgi?id=1991 --- You are receiving this mail because: --- You

[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-07 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-12-07 16:57 --- Created an attachment (id=782) --> (http://sourceware.org/bugzilla/attachment.cgi?id=782&action=view) Test object -- http://sourceware.org/bugzilla/show_bug.cgi?id=1991 --- You are receiving this mail becau

[Bug binutils/1991] objcopy does not update sh_link correctly

2005-12-07 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-12-07 16:57 --- Created an attachment (id=783) --> (http://sourceware.org/bugzilla/attachment.cgi?id=783&action=view) Output of objcopy -g -- http://sourceware.org/bugzilla/show_bug.cgi?id=1991 --- You are receiving this m