"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
>
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
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
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
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
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
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"
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
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
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
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
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
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
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
https://sourceware.org/bugzilla/show_bug.cgi?id=22136
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--
You are
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
https://sourceware.org/bugzilla/show_bug.cgi?id=22136
Nick Clifton changed:
What|Removed |Added
CC||nickc at redhat dot com
--- Comment
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
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?
>
>
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:
https://sourceware.org/bugzilla/show_bug.cgi?id=22118
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://sourceware.org/bugzilla/show_bug.cgi?id=22118
Alan Modra changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
23 matches
Mail list logo