[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22136] Support marking "debug" info files with special ET_
From: |
mark at klomp dot org |
Subject: |
[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values. |
Date: |
Fri, 15 Sep 2017 20:58:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22136
--- Comment #18 from Mark Wielaard <mark at klomp dot org> ---
(In reply to H.J. Lu from comment #16)
> (In reply to Mark Wielaard from comment #15)
> > (In reply to H.J. Lu from comment #14)
> > > Anything else besides "identical to the phdrs"? Must .dynamic section
> > > have
> > > the identical section contents in debug info file?
> >
> > Allocated sections are NOBITS in a separate debug file.
>
> I checked libfoo.so against the output of "objcopy --only-keep-debug".
> Their program headers are different:
That might be a bug. See e.g. eu-strip -f which keeps them intact.
And eu-unstrip depends on this for example.
Anyway, the point is that you are not supposed to use the phdrs offsets of the
separate debug file. So you need some marker in the ELF header to indicate what
kind of ELF file it is.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., (continued)
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., fweimer at redhat dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., mark at klomp dot org, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., mark at klomp dot org, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.,
mark at klomp dot org <=
- [Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values., hjl.tools at gmail dot com, 2017/09/15