bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19807] [2.26 regression] R_386_GOT32X optimization breaks linux


From: hjl.tools at gmail dot com
Subject: [Bug ld/19807] [2.26 regression] R_386_GOT32X optimization breaks linux kernel
Date: Fri, 11 Mar 2016 22:54:54 +0000

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
address@hidden ld-x86-64]$ cat pr19807a.s
        .globl  _start
        .type   _start, @function
_start:
        movq    $foo, %rax
        .size   _start, .-_start
address@hidden ld-x86-64]$ cat pr19807b.s
        .globl  foo
        .type   foo, @object
        foo = 0x145e000
address@hidden ld-x86-64]$ 
...
address@hidden ld]$ ./ld-new -pie pr19807a.o pr19807b.o
./ld-new: pr19807a.o: relocation R_X86_64_32S against `foo' can not be used
when making a shared object; recompile with -fPIC
pr19807a.o: error adding symbols: Bad value
address@hidden ld]$

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