[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-05 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-09-05 08:24 --- Hi Guys, I have checked in the patch, as well as an update to the documentation specifiying that the --only-keep-debug switch is only intended to be used on fully linked files. (I could not see any reasonable w

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-04 16:30 --- If --only-keep-debug isn't supposed to be used on .o, we shouldn't try. As for group, a group can contain a debug section. I will open a new bug. The problem is when we strip a section, we don't ajust the section grou

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-04 13:19 --- please ignore last comment. my buildsystem was buggy :) -- http://sourceware.org/bugzilla/show_bug.cgi?id=3166 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watc

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-04 13:10 --- hmm, with this patch i get an error on shared libs. i486-gnu-linux-objcopy --only-keep-debug \ ../../build-stlport-release-i486-gnu-linux/libArmInstanceAdder.so \ ../../build-stlport-release-i486-gnu-linux/libArm

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-04 13:02 --- (In reply to comment #4) > The uploaded patch should resolve this. Please > could you try it out and let me know if it works for you. it works for me. thank you very much. ps). i've filled one more bug about stripp

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-09-04 12:35 --- Created an attachment (id=1277) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1277&action=view) Do not treat group sections as debugging sections -- http://sourceware.org/bugzilla/show_bug.cgi?id=3166

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-04 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-09-04 12:34 --- Hi Pawel, Hi H.J. The --only-keep-debug switch is not intended to work on object files (or static libraries containing object files). At least not those that contain relocations that point into the debug sectio

[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group

2006-09-02 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-02 14:40 --- Nick, you added --only-keep-debug. Is --only-keep-debug supposed to work on .o files? Can you look into it? Thanks. -- What|Removed |Added --