Re: Potential Licensing Problem in binutils-2.29/gas/config/tc-alpha.c

2017-09-15 Thread Ian Lance Taylor
"Fendt, Oliver" writes: > I think there is a potential licensing problem in the file > binutils-2.29/gas/config/tc-alpha.c > > The license information in the beginning of the files says that this > file is licensed under GPL-3.0+ ; below this information the CMU >

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #19 from H.J. Lu --- (In reply to Mark Wielaard from comment #18) > (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

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #18 from Mark Wielaard --- (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

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #17 from H.J. Lu --- This fixed the ld.so crash on debug file: diff --git a/elf/dl-load.c b/elf/dl-load.c index a067760cc6..261ec997c8 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1052,8 +1052,11 @@ _dl_map_object_from_fd

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #16 from H.J. Lu --- (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

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #15 from Mark Wielaard --- (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

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #14 from H.J. Lu --- (In reply to Mark Wielaard from comment #13) > (In reply to H.J. Lu from comment #11) > > So the problem is the invalid .dynamic section. Can we just drop > > .dynamic section with "objcopy --only-keep-debug"

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #13 from Mark Wielaard --- (In reply to H.J. Lu from comment #11) > So the problem is the invalid .dynamic section. Can we just drop > .dynamic section with "objcopy --only-keep-debug" No. The phdrs in a separate debug file are

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #12 from H.J. Lu --- Here is patch: https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=c35b4e8cee990d0d1c33b631912333e623a37477 If we really need to keep .dynamic section, we can change the segment type from PT_DYNAMIC to

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #11 from H.J. Lu --- So the problem is the invalid .dynamic section. Can we just drop .dynamic section with "objcopy --only-keep-debug", like this: diff --git a/binutils/objcopy.c b/binutils/objcopy.c index

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #10 from Florian Weimer --- (In reply to H.J. Lu from comment #9) > (In reply to Florian Weimer from comment #7) > > The dynamic linker cannot easily reject to load binaries with a specific > > program note because it uses the

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #9 from H.J. Lu --- (In reply to Florian Weimer from comment #7) > The dynamic linker cannot easily reject to load binaries with a specific > program note because it uses the NOTE program header, and separated > debuginfo

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #8 from H.J. Lu --- (In reply to Nick Clifton from comment #6) > Hi H.J. > > > Why not use program property? > > I can see a couple of potential objections: > > * Separate debug info files do not (currently) contain any

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You are

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #7 from Florian Weimer --- The dynamic linker cannot easily reject to load binaries with a specific program note because it uses the NOTE program header, and separated debuginfo currently has invalid program headers (well, the

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment

Potential Licensing Problem in binutils-2.29/gas/config/tc-alpha.c

2017-09-15 Thread Fendt, Oliver
Hi all, I think there is a potential licensing problem in the file binutils-2.29/gas/config/tc-alpha.c The license information in the beginning of the files says that this file is licensed under GPL-3.0+ ; below this information the CMU License is listed. This suggests that the file itself

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #5 from H.J. Lu --- (In reply to H.J. Lu from comment #4) > (In reply to Carlos O'Donell from comment #3) > > (In reply to H.J. Lu from comment #2) > > > Why not use program property? > > > > Could you expand on that please? > >

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #4 from H.J. Lu --- (In reply to Carlos O'Donell from comment #3) > (In reply to H.J. Lu from comment #2) > > Why not use program property? > > Could you expand on that please? See .note.gnu.property section in:

[Bug ld/22118] Incorrectly-capitalized regexp in testsuite/ld-aarch64/erratum843419.d

2017-09-15 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22118 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/22118] Incorrectly-capitalized regexp in testsuite/ld-aarch64/erratum843419.d

2017-09-15 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22118 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8fd138c43b3a820e1d7deec80c9290b458f09d63 commit

[Bug ld/22118] Incorrectly-capitalized regexp in testsuite/ld-aarch64/erratum843419.d

2017-09-15 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22118 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned