[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #4 from Alan Modra --- BTW, the testcase in comment #3 (and yours too!) show just how difficult it is to fix this problem. When the main program is *not* relro you don't have anywhere to put the new .dynbss.ro or whatever you want

[Bug ld/19965] Copy relocation leads to change in read-only data

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

[Bug gold/19891] arm: The order of IFUNC (R_ARM_IRELATIVE and R_ARM_JUMP_SLOT) relocations is incorrect

2016-04-18 Thread shenhan at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19891 Han Shen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/19722] [libopcodes] [Aarch64] Undefined SIMD instruction not marked undefined

2016-04-18 Thread njholcomb at wi dot rr.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19722 --- Comment #4 from njholcomb at wi dot rr.com --- This may not be a valid output from the libopcodes disassembler, but there are a lot of tools out there, and not all of them may produce expected instructions. People can also edit binaries the

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #2 from H.J. Lu --- (In reply to Andreas Schwab from comment #1) > And how is that a bug? The program invokes undefined behavior. Linker should generate copy relocation against read-only symbol in .data.rel.ro section, instead of

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #1 from Andreas Schwab --- And how is that a bug? The program invokes undefined behavior. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils m

[Bug binutils/19661] [libopcodes] [x86] Lock prefixes are allowed even when they SIGILL

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19661 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug binutils/19659] [libopcodes] Segmentation fault on print_insn_i386

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19659 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug binutils/19660] [libopcodes] [x86] REP prefixes shown incorrectly

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19660 --- Comment #3 from H.J. Lu --- (In reply to njholcomb from comment #2) > Created attachment 9201 [details] > Shows rep prefixes on non-string instructions I got : 0: 55 push %rbp 1: 48 89 e5

[Bug ld/19965] New: Copy relocation leads to change in read-only data

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 Bug ID: 19965 Summary: Copy relocation leads to change in read-only data Product: binutils Version: 2.27 (HEAD) Status: NEW Severity: normal Priority: P2 Comp

[Bug binutils/19661] [libopcodes] [x86] Lock prefixes are allowed even when they SIGILL

2016-04-18 Thread njholcomb at wi dot rr.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19661 --- Comment #2 from njholcomb at wi dot rr.com --- Created attachment 9202 --> https://sourceware.org/bugzilla/attachment.cgi?id=9202&action=edit File displays locking without a memory operand. objdump -d lock_no_mem.o lock_no_mem.o: fi

[Bug binutils/19660] [libopcodes] [x86] REP prefixes shown incorrectly

2016-04-18 Thread njholcomb at wi dot rr.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19660 --- Comment #2 from njholcomb at wi dot rr.com --- Created attachment 9201 --> https://sourceware.org/bugzilla/attachment.cgi?id=9201&action=edit Shows rep prefixes on non-string instructions -- You are receiving this mail because: You are

[Bug binutils/19659] [libopcodes] Segmentation fault on print_insn_i386

2016-04-18 Thread njholcomb at wi dot rr.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19659 --- Comment #2 from njholcomb at wi dot rr.com --- Created attachment 9200 --> https://sourceware.org/bugzilla/attachment.cgi?id=9200&action=edit File causes Abort by objdump This file contains bytes that objdump fails to decode using "objdu