[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/20520] ld terminated with signal 11 [Segmentation fault]

2016-08-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20520 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/20513] GNU ld does not ignore symbols defined in sections marked EXCLUDE

2016-08-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20513 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 f

[Bug ld/20520] ld terminated with signal 11 [Segmentation fault]

2016-08-26 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20520 --- 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=53720c495c7c25f9b0f4bfce3269c6c8a7696522 commit 53720c495c7c25f9b0f4bfce3269c

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #3 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=8a9e8e72fe88095043d16f8a56b5a1e150ee288b commit 8a9e8e72fe88095043d16f8a56b5a

[Bug ld/20513] GNU ld does not ignore symbols defined in sections marked EXCLUDE

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20513 --- Comment #2 from H.J. Lu --- This is better: index e7a8dff..052b276 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -959,6 +959,19 @@ multiple_definition (struct bfd_link_info *info, && bfd_is_abs_section (nsec->output_section))) r

[Bug ld/20528] ld -r doesn't handle SHF_EXCLUDE section properly

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20528 --- Comment #1 from H.J. Lu --- This works: diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index dd4d35a..6ce4e00 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1903,9 +1903,16 @@ gld${EMULATION_NAME}_place_orp

[Bug gold/20529] New: Gold [powerpc] - relaxing loop never ends

2016-08-26 Thread shenhan at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20529 Bug ID: 20529 Summary: Gold [powerpc] - relaxing loop never ends Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Comp

[Bug ld/20528] New: ld -r doesn't handle SHF_EXCLUDE section properly

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20528 Bug ID: 20528 Summary: ld -r doesn't handle SHF_EXCLUDE section properly Product: binutils Version: 2.28 (HEAD) Status: NEW Severity: normal Priority: P2 Comp

[Bug ld/20513] GNU ld does not ignore symbols defined in sections marked EXCLUDE

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20513 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com Target

[Bug binutils/20499] gprof: segmentation fault on invalid symbol file

2016-08-26 Thread tobias at stoeckmann dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20499 --- Comment #14 from Tobias Stoeckmann --- Created attachment 9479 --> https://sourceware.org/bugzilla/attachment.cgi?id=9479&action=edit My proposed patch -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug binutils/20499] gprof: segmentation fault on invalid symbol file

2016-08-26 Thread tobias at stoeckmann dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20499 --- Comment #13 from Tobias Stoeckmann --- The check alone does not prevent the integer overflow in xmalloc()s argument. I would recommend to bail out when encountering a file that is simply too large to be sane. See my proposal for details.

[Bug ld/14961] Dynamic IFUNC pointer to local function doesn't work for i386

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14961 H.J. Lu changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #3 from H.J. Lu ---

[Bug ld/20515] i686 ifunc and non-default symbol visibility

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20515 --- Comment #2 from H.J. Lu --- *** Bug 14961 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing li

[Bug ld/20515] i686 ifunc and non-default symbol visibility

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20515 --- Comment #1 from H.J. Lu --- diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 4179572..aa6b8d0 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -2178,6 +2178,20 @@ do_relocation: a function defined in a sha

[Bug ld/20515] i686 ifunc and non-default symbol visibility

2016-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20515 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com Target

[Bug gold/20523] powerpc64le kernel build with additional cross section references fails

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20523 npiggin at gmail dot com changed: What|Removed |Added Target||powerpc64le-unknown-linux-g

[Bug gold/20523] New: powerpc64le kernel build with additional cross section references fails

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20523 Bug ID: 20523 Summary: powerpc64le kernel build with additional cross section references fails Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Sev

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gold/20522] New: linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20522 Bug ID: 20522 Summary: linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386 Product: binutils Versio

[Bug ld/20520] ld terminated with signal 11 [Segmentation fault]

2016-08-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20520 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #2 from npiggin at gmail dot com --- Confirmed this does not require any kernel modifications, a large kernel, or --gc-sections or --emit-relocs etc. Standard upstream Linux kernel with minimal config reproduces the error. -- You

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #1 from npiggin at gmail dot com --- Confirmed to fail with head of tree as of Aug 26, commit 980aa3e6dfeb0f018915f65be4b2987667f31fe9 -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug ld/20520] New: ld terminated with signal 11 [Segmentation fault]

2016-08-26 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20520 Bug ID: 20520 Summary: ld terminated with signal 11 [Segmentation fault] Product: binutils Version: 2.26 Status: NEW Severity: normal Priority: P2 Component:

[Bug ld/20519] New: "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 Bug ID: 20519 Summary: "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898 Product: binutils Version: 2.28 (HEAD) Status: UNCO