bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18421] New: hppa/parisc ld: read-only segment has dynamic reloc


From: deller at gmx dot de
Subject: [Bug ld/18421] New: hppa/parisc ld: read-only segment has dynamic relocations
Date: Sat, 16 May 2015 11:05:02 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]