[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3166] --only-keep-debug doesn't work on .o files with grou
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/3166] --only-keep-debug doesn't work on .o files with group |
Date: |
4 Sep 2006 12:34:44 -0000 |
------- 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 sections (and which hence have incomplete
debugging information).
This particular problem however appears to arise because strip thinks that the
group sections contain debugging information. (The test for a debugging section
is basically one that contains information, but which is not allocated space in
the memory map at runtime). The uploaded patch should resolve this. Please
could you try it out and let me know if it works for you.
Cheers
Nick
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
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 watching someone who is.
- [Bug binutils/3166] New: aborting at elf.c line 2971 in bfd_elf_set_group_contents during stripping., pluto at agmk dot net, 2006/09/01
- [Bug binutils/3166] aborting at elf.c line 2971 in bfd_elf_set_group_contents during stripping., pluto at agmk dot net, 2006/09/01
- [Bug binutils/3166] aborting at elf.c line 2971 in bfd_elf_set_group_contents during stripping., hjl at lucon dot org, 2006/09/01
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, hjl at lucon dot org, 2006/09/02
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group,
nickc at redhat dot com <=
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, nickc at redhat dot com, 2006/09/04
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, pluto at agmk dot net, 2006/09/04
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, pluto at agmk dot net, 2006/09/04
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, pluto at agmk dot net, 2006/09/04
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, hjl at lucon dot org, 2006/09/04
- [Bug binutils/3166] --only-keep-debug doesn't work on .o files with group, nickc at redhat dot com, 2006/09/05