https://sourceware.org/bugzilla/show_bug.cgi?id=18421
Bug ID: 18421
Summary: hppa/parisc ld: read-only segment has dynamic
relocations
Product: binutils
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: deller at gmx dot de
CC: dave.anglin at bell dot net
Target Milestone: ---
This program:
int main() { ; return 0; }
compiled on the hppa/parisc architecture via:
gcc -o conftest -Wl,-z,text -pie conftest.c
gives:
/usr/bin/ld: read-only segment has dynamic relocations.
collect2: error: ld returned 1 exit status
Output of:
readelf -r conftest
Relocation section '.rela.PARISC.unwind' at offset 0x140 contains 2 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00000000 00000131 R_PARISC_SEGREL32 00000000 .text + 0
00000004 00000131 R_PARISC_SEGREL32 00000000 .text + 18
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils