[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25179 --- Comment #8 from Valery Ushakov --- Why? I do know about W^X and everything, but why does the linker care? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25179 --- Comment #6 from Valery Ushakov --- Change that .data to .section ".forth", "awx", @progbits and the bug still happens. (IIRC, PPC doesn't have separate "executable" permission in the MMU, so "can read" implies "can execute" and so abu

[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25179 --- Comment #4 from Valery Ushakov --- Yes, ld.so can be changed to resolve them, but they can and should be resolved at link time. They are resolved at link time for text. In older versions they were always resolved for data too. Now they

[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25179 --- Comment #2 from Valery Ushakov --- I managed to misedit the original submission and sent it too early it seems. Sorry. $ cc ha.S && ./a.out ./a.out: Unsupported relocation type 6 in non-PLT relocations where the error message is printe

[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25179 --- Comment #1 from Valery Ushakov --- I see this on NetBSD/macppc 8-stable with $ ld --version GNU ld (NetBSD Binutils nb1) 2.27 and current with $ ld --version GNU ld (NetBSD Binutils nb1) 2.31.1 This used to work before I've upgraded f

[Bug ld/25179] New: ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section

2019-11-09 Thread uwe at NetBSD dot org
: minor Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: uwe at NetBSD dot org Target Milestone: --- On PowerPC ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section if the symbol was not previously referred in the

[Bug binutils/13390] SuperH "pref" instruction was introduced in sh3, not sh4

2019-11-09 Thread uwe at NetBSD dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13390 --- Comment #1 from Valery Ushakov --- This was fixed in ac99436572d903781c124fa3cc72d83360202b76 in 2015. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/13390] New: SuperH "pref" instruction was introduced in sh3, not sh4

2011-11-06 Thread uwe at NetBSD dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13390 Bug #: 13390 Summary: SuperH "pref" instruction was introduced in sh3, not sh4 Product: binutils Version: 2.21 Status: NEW Severity: minor Priority

[Bug binutils/3631] New: bfd/archive64.c is compiled unconditionally even for 32-bit targets

2006-12-01 Thread uwe at NetBSD dot org
Status: NEW Severity: minor Priority: P3 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: uwe at NetBSD dot org CC: bug-binutils at gnu dot org GCC build triplet: i386--netbsdelf GCC host triplet: