[Bug binutils/22923] readelf crashes with fuzzed samples 748 times

2018-03-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22923 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #10

[Bug ld/22920] Segfault in ld with RISC-V binary target

2018-03-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22920 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #3

[Bug ld/22929] New: x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section

2018-03-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 Bug ID: 22929 Summary: x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section Product: binutils Versi

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section

2018-03-06 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 Florian Weimer changed: What|Removed |Added CC||fweimer at redhat dot com -- You ar

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 H.J. Lu changed: What|Removed |Added Summary|x86_64 linker seg-faults|x86_64 linker seg-faults

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against a note section

2018-03-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING Assignee|unassigned at so

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #2 from Nick Clifton --- Hi H.J. > Since these relocations > are in non-allocatable sections, should linker treat them as in > debug section? Ideally not. If I understand the code correctly the debug relocations are just silentl

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #3 from H.J. Lu --- (In reply to Nick Clifton from comment #2) > Hi H.J. > > > Since these relocations > > are in non-allocatable sections, should linker treat them as in > > debug section? > > Ideally not. If I understand the c

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #4 from Florian Weimer --- (In reply to H.J. Lu from comment #3) > The value will be wrong. Linker can only resolve PC relative relocations > against local definition. Agreed. I think we need to fix the producer for these reloca

Re: [Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread Nick Clifton
Hi H.J. > The value will be wrong. Linker can only resolve PC relative relocations> > against local definition. But can't the linker assume that the object is located at address 0 and resolve the relocations using that ? It does not matter that this address will not match the run-time address o

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #5 from Nick Clifton --- Hi H.J. > The value will be wrong. Linker can only resolve PC relative relocations> > against local definition. But can't the linker assume that the object is located at address 0 and resolve the relocat

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #6 from Nick Clifton --- Created attachment 10873 --> https://sourceware.org/bugzilla/attachment.cgi?id=10873&action=edit Assembler source for the object file Hi H.J. Here is the assembler source. Cheers Nick -- You are

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC

2018-03-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22929 --- Comment #7 from H.J. Lu --- (In reply to Nick Clifton from comment #5) > Hi H.J. > > > The value will be wrong. Linker can only resolve PC relative relocations> > > against local definition. > But can't the linker assume that the object

[Bug ld/22920] Segfault in ld with RISC-V binary target

2018-03-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22920 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Jim Wilson : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=770aa8a3d3da978a35520af5f205ab2d8a5371a0 commit 770aa8a3d3da978a35520af5f205a

[Bug ld/22920] Segfault in ld with RISC-V binary target

2018-03-06 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22920 Jim Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/22920] Segfault in ld with RISC-V binary target

2018-03-06 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22920 Jim Wilson changed: What|Removed |Added Assignee|unassigned at sourceware dot org |wilson at gcc dot gnu.org -- Yo