[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-06 16:22 --- Subject: Bug 10492 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2009-08-06 16:22:36 Modified files: binutils/testsuite: ChangeLog binutils/testsu

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-06 13:08 --- Subject: Bug 10492 CVSROOT:/cvs/src Module name:src Changes by: ja...@sourceware.org2009-08-06 13:08:24 Modified files: bfd: ChangeLog elf.c elf32-mips.c elfn32-m

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-06 12:51 --- Please commit -- What|Removed |Added Status|NEW |RESOL

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2009-08-06 12:45 --- Created an attachment (id=4114) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4114&action=view) binutils-bz10492.patch Indeed, you're right. Following patch cures it. -- http://sourceware.org/bugzill

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-06 12:36 --- sounds like a tweak to sym_is_global is needed -- http://sourceware.org/bugzilla/show_bug.cgi?id=10492 --- You are receiving this mail because: --- You are on the CC list for the bug, or are w

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2009-08-06 12:29 --- With s/gnu_object_// it works, the difference in readelf -Wa between y.o and z.o is just the order of local symbols in .symtab. But with STB_GNU_UNIQUE, the _ZN1AIiE1aE symbol (UNIQUE) is also reordered, between ot