bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20737] [aarch64] -static -pie linked binary has R_AARCH64_ABS64


From: nszabolcs at gmail dot com
Subject: [Bug ld/20737] [aarch64] -static -pie linked binary has R_AARCH64_ABS64 relocation
Date: Wed, 26 Oct 2016 10:21:13 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20737

Szabolcs Nagy <nszabolcs at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |aarch64-*, arm-*

--- Comment #1 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
it seems 32bit arm is also affected:

$ arm-none-linux-gnueabihf-ld -nostdlib -Bstatic -X -marmelf_linux_eabi -pie
--no-dynamic-linker a.o b.o
$ arm-none-linux-gnueabihf-readelf -r --dyn-sym -W a.out 

Relocation section '.rel.dyn' at offset 0x134 contains 2 entries:
 Offset     Info    Type                Sym. Value  Symbol's Name
0001100c  00000017 R_ARM_RELATIVE        
00011010  00000302 R_ARM_ABS32            00011014   i

Symbol table '.dynsym' contains 4 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000144     0 SECTION LOCAL  DEFAULT    5 
     2: 00011010     0 SECTION LOCAL  DEFAULT    8 
     3: 00011014     4 OBJECT  GLOBAL DEFAULT    9 i

-- 
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]