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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-02
           Assignee|unassigned at sourceware dot org   |hjl.tools at gmail dot 
com
     Ever confirmed|0                           |1

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-1 pr23324]$ cat x.s 
        .text
        .globl  _start
        .type   _start,@function
_start:
        movq    _start@GOTPCREL(%rip), %rsi
        ret
[hjl@gnu-cfl-1 pr23324]$ make clean
rm -f *.o *.so
[hjl@gnu-cfl-1 pr23324]$ cat x.s 
        .text
        .globl  _start
        .type   _start,@function
_start:
        movq    _start@GOTPCREL(%rip), %rsi
        ret
[hjl@gnu-cfl-1 pr23324]$ make
as   -o x.o x.s
./ld -pie -q -o x x.o
readelf -r x

Relocation section '.rela.text' at offset 0x31a8 contains 1 entry:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
000000001003  000c00000082 unrecognized: 82      0000000000001000 _start - 4
[hjl@gnu-cfl-1 pr23324]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to