[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 --- Comment #8 from Alan Modra --- Ignore any mention of ifunc in the last comment. It's simply just not enough plt relocs. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 --- Comment #7 from Alan Modra --- It looks like this is a problem with ifunc. If I link with -z nocombreloc to keep dynamic relocs in separate sections, then I see Relocation section '.rela.got' at offset 0x314 contains 20 entries: Offset

[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread danglin at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 --- Comment #6 from John David Anglin --- Looking further, I have concluded $global$ and %r19 are set correctly. The relocations for .Lpmain: .word P%main .Lp__libc_start_main: .word P%__libc_start_main .Lp__libc_csu_fini:

[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 --- Comment #5 from Alan Modra --- Hang on, emulparams/hppaelf.sh and scripttempl/hppaelf.sc are only used for hppa*-*-*elf* and hppa*-*-lites* (whatever that is) which don't even support shared libraries let alone pies. -- You are receiving

[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 --- Comment #4 from dave.anglin at bell dot net --- On 2017-02-14, at 9:41 PM, amodra at gmail dot com wrote: > Now that we do define $global$ in elf32_hppa_set_gp, the DATA_START_SYMBOLS > define should disappear, probably. I'll leave that p

[Bug ld/21132] [hppa-linux] pie support doesn't work

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21132 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 f

[Bug binutils/21099] Strip should update symbol section index after some sections removed?

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21099 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug ld/21131] *** Error in `/usr/bin/ld': corrupted double-linked list: 0x00239b48 ***

2017-02-14 Thread danglin at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21131 --- Comment #5 from John David Anglin --- As the error is in the testsuite, this problem is going to be hard to reproduce with a cross. Need all the libs, etc. Helge, would you please set up an account for Alan on phantom? I see that the in

[Bug ld/21000] hppa-linux does not support -z relro

2017-02-14 Thread danglin at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21000 --- Comment #19 from John David Anglin --- The LOAD headers for ld-new look good. We had following ld testsuite fails on trunk with patch: FAIL: PIE preinit array FAIL: PIE init array FAIL: PIE fini array FAIL: PIE init array mixed FAIL: PIE

[Bug gas/21123] [PowerPC] tlbie instruction restricted to two-operand form and incorrectly limits operand 2

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21123 --- Comment #4 from Alan Modra --- *** Bug 21125 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

[Bug gas/21125] [PowerPC] dcbt and dcbtst instructions not accepted in 3-operand form

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21125 --- Comment #4 from Alan Modra --- *** This bug has been marked as a duplicate of bug 21123 *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailin

[Bug gas/21125] [PowerPC] dcbt and dcbtst instructions not accepted in 3-operand form

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21125 Alan Modra changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Alan Modra

[Bug gas/21123] [PowerPC] tlbie instruction restricted to two-operand form and incorrectly limits operand 2

2017-02-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21123 --- Comment #3 from Alan Modra --- No, -many won't enable more than one encoding for an instruction. -many was invented (by me) to work around gcc -mcpu option handling bugs, and to silence complaints from people who had written asm() for mul

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #12 from H.J. Lu --- (In reply to Dopıng from comment #11) > (In reply to H.J. Lu from comment #10) > > > What I don’t get is why the older GNU ld seems to link these objects files > > > into a shared library just fine. If that’s t

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread bugs at moronic dot technology
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #11 from Dopıng --- (In reply to H.J. Lu from comment #10) > > What I don’t get is why the older GNU ld seems to link these objects files > > into a shared library just fine. If that’s the case, the older ld must have > > a way to

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #10 from H.J. Lu --- (In reply to Dopıng from comment #9) > (In reply to H.J. Lu from comment #8) > > [...] > > The problem is that since linker doesn't know where the GOT base is at > > run-time, > > it can't properly resolve R_3

[Bug gas/21123] [PowerPC] tlbie instruction restricted to two-operand form and incorrectly limits operand 2

2017-02-14 Thread nholcomb at wisc dot edu
https://sourceware.org/bugzilla/show_bug.cgi?id=21123 --- Comment #2 from nholcomb at wisc dot edu --- Should this work with -many? It currently does not. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mail

[Bug binutils/21124] [PowerPC] Source and target registers must be different for some load instructions - should be decoded as invalid

2017-02-14 Thread nholcomb at wisc dot edu
https://sourceware.org/bugzilla/show_bug.cgi?id=21124 --- Comment #2 from nholcomb at wisc dot edu --- The instruction is invalid. The ".long 0x7c228" tells anyone looking at the assembly that the instruction is invalid. I think the decoding should be obviously invalid, instead of apparently v

[Bug gas/21125] [PowerPC] dcbt and dcbtst instructions not accepted in 3-operand form

2017-02-14 Thread nholcomb at wisc dot edu
https://sourceware.org/bugzilla/show_bug.cgi?id=21125 --- Comment #2 from nholcomb at wisc dot edu --- (In reply to Alan Modra from comment #1) > Pass -mpower4 or above to gas in order to enable these insns. Should -many work? I can assemble this instruction with two operands using -many, but not

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread bugs at moronic dot technology
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #9 from Dopıng --- (In reply to H.J. Lu from comment #8) > [...] > The problem is that since linker doesn't know where the GOT base is at > run-time, > it can't properly resolve R_386_GOT32. Unfortunately, my knowledge of binary

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #8 from H.J. Lu --- (In reply to Dopıng from comment #7) > Hi. > > It looks like this change breaks the Oracle 12.1 client installation. While > trying to install the 32-bit Oracle client on a 64-bit SUSE SLES 12 SP2 > machine, we

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread bugs at moronic dot technology
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 --- Comment #7 from Dopıng --- Hi. It looks like this change breaks the Oracle 12.1 client installation. While trying to install the 32-bit Oracle client on a 64-bit SUSE SLES 12 SP2 machine, we got [...]/ld: [...]/product/121/lib/libnls12.a

[Bug gold/21152] Incorrect relocation handling of R_MIPS_HI16 / R_MIPS_LO16

2017-02-14 Thread jan.smets at nokia dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21152 Jan Smets changed: What|Removed |Added Target||mips64-unknown-elf -- You are receiving

[Bug ld/20244] ld fails to handle "op $imm, bar@GOT"

2017-02-14 Thread bugs at moronic dot technology
https://sourceware.org/bugzilla/show_bug.cgi?id=20244 Dopıng changed: What|Removed |Added CC||bugs at moronic dot technology -- You are r

[Bug gold/21152] Incorrect relocation handling of R_MIPS_HI16 / R_MIPS_LO16

2017-02-14 Thread jan.smets at nokia dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21152 --- Comment #2 from Jan Smets --- Created attachment 9829 --> https://sourceware.org/bugzilla/attachment.cgi?id=9829&action=edit testcase a.s -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug gold/21152] Incorrect relocation handling of R_MIPS_HI16 / R_MIPS_LO16

2017-02-14 Thread jan.smets at nokia dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21152 --- Comment #3 from Jan Smets --- I found the corruption occurred at an earlier stage, ld -r Attached files can used to reproduce the issue. mips64-linux-gnuabi64-as -mabi=32 a.s -o a.o mips64-linux-gnuabi64-as -mabi=32 b.s -o b.o mips64-li

[Bug gold/21152] Incorrect relocation handling of R_MIPS_HI16 / R_MIPS_LO16

2017-02-14 Thread jan.smets at nokia dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21152 --- Comment #1 from Jan Smets --- Created attachment 9828 --> https://sourceware.org/bugzilla/attachment.cgi?id=9828&action=edit testcase -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug binutils/21159] readelf of-by-one -- seems to be related to PR 21135

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21159 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bc303e5d6c2dd33086478f80fd1d3096d4e1bc01 commit bc303e5d6c2dd33086478f80fd1

[Bug binutils/21159] readelf of-by-one -- seems to be related to PR 21135

2017-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21159 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug binutils/21158] objdump - off-by-one global-buffer-overflow

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21158 Thuan Pham changed: What|Removed |Added Summary|objdump - of-by-one |objdump - off-by-one |

[Bug binutils/21157] objdump segfault - off-by-one read

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21157 Thuan Pham changed: What|Removed |Added Summary|objdump segfault - |objdump segfault - |of

[Bug binutils/21158] objdump - of-by-one global-buffer-overflow

2017-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21158 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug binutils/21158] objdump - of-by-one global-buffer-overflow

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21158 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=92134dc19b4bf6407a88a306b771c9c6c88658d6 commit 92134dc19b4bf6407a88a306b77

[Bug binutils/21157] objdump segfault - of-by-one read

2017-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21157 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug binutils/21157] objdump segfault - of-by-one read

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21157 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2dea0b20bc66a4c287c3c50002b8c3b3e9d953a commit a2dea0b20bc66a4c287c3c50002

[Bug binutils/21156] readefl segfault - invalid read of size 4

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21156 --- Comment #2 from Thuan Pham --- Hi Nick, I just checked out the newest version and the problem is still there commit b32e566ba6ee02687c6def22ade0899076adf7dd Author: Nick Clifton Date: Tue Feb 14 13:24:09 2017 + Fix illegal memo

[Bug binutils/21156] readefl segfault - invalid read of size 4

2017-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21156 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug binutils/21155] readelf segfault - PR 21137 seems to be incomplete

2017-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21155 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug binutils/21155] readelf segfault - PR 21137 seems to be incomplete

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21155 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b32e566ba6ee02687c6def22ade0899076adf7dd commit b32e566ba6ee02687c6def22ade

[Bug ld/21000] hppa-linux does not support -z relro

2017-02-14 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21000 --- Comment #18 from dave.anglin at bell dot net --- On 2017-02-14, at 1:03 AM, amodra at gmail dot com wrote: > Created attachment 9820 > --> https://sourceware.org/bugzilla/attachment.cgi?id=9820&action=edit > Implement no_page_alias Thank

[Bug gas/21118] As silently converts registers to immediates

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

[Bug gas/21118] As silently converts registers to immediates

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21118 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The binutils-2_28-branch branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ce45602b476d30f2ca354691374a092886b64951 commit ce45602b476d30f

[Bug gas/21118] As silently converts registers to immediates

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21118 --- 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=7e0de605cbac2531bb70506c0843aea13111 commit 7e0de605cbac2531bb70506c0

[Bug gas/21118] As silently converts registers to immediates

2017-02-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21118 --- Comment #2 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=606a935e3a9066ab11308b8c934c9bdec7f128d3 commit 606a935e3a9066ab11308b8c934c9

[Bug binutils/21159] New: readelf of-by-one -- seems to be related to PR 21135

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21159 Bug ID: 21159 Summary: readelf of-by-one -- seems to be related to PR 21135 Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2

[Bug binutils/21158] New: objdump - of-by-one global-buffer-overflow

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21158 Bug ID: 21158 Summary: objdump - of-by-one global-buffer-overflow Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Com

[Bug binutils/21157] New: objdump segfault - of-by-one read

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21157 Bug ID: 21157 Summary: objdump segfault - of-by-one read Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: b

[Bug binutils/21156] New: readefl segfault - invalid read of size 4

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21156 Bug ID: 21156 Summary: readefl segfault - invalid read of size 4 Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Comp

[Bug binutils/21155] New: readelf segfault - PR 21137 seems to be incomplete

2017-02-14 Thread thuanpv at comp dot nus.edu.sg
https://sourceware.org/bugzilla/show_bug.cgi?id=21155 Bug ID: 21155 Summary: readelf segfault - PR 21137 seems to be incomplete Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2