bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/20308] Gold should support i386 TLS code sequences without PLT


From: hjl.tools at gmail dot com
Subject: [Bug gold/20308] Gold should support i386 TLS code sequences without PLT
Date: Wed, 17 Aug 2016 23:50:59 +0000

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

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to ncahill_alt from comment #13)
> Oh sorry, here it is:
> 
> `echo i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> -I../../../binutils-2.27/gold/testsuite -I.. 
> -I../../../binutils-2.27/gold/testsuite
> -I../../../binutils-2.27/gold/testsuite/..
> -I../../../binutils-2.27/gold/testsuite/../../include
> -I../../../binutils-2.27/gold/testsuite/../../elfcpp -I..
> -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.27/locale\""  
> -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
> -Wstack-usage=262144 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -fmerge-constants -O2 -fno-tree-slsr -march=athlon64 -mtune=core2
> -fno-inline -pipe -funroll-loops -funswitch-loops | sed -e
> 's/-Wp,-D_FORTIFY_SOURCE=[0-9[0-9]]*//'` -Bgcctestdir/ -c -o pr20308_gd.o
> ../../../binutils-2.27/gold/testsuite/pr20308_gd.S
> 
> which translates to
> 
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> -I../../../binutils-2.27/gold/testsuite -I..
> -I../../../binutils-2.27/gold/testsuite
> -I../../../binutils-2.27/gold/testsuite/..
> -I../../../binutils-2.27/gold/testsuite/../../include
> -I../../../binutils-2.27/gold/testsuite/../../elfcpp -I..
> -DLOCALEDIR="/usr/share/binutils-data/i686-pc-linux-gnu/2.27/locale" -W
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -O2
> -fno-tree-slsr -march=athlon64 -mtune=core2 -fno-inline -pipe -funroll-loops
> -funswitch-loops -Bgcctestdir/ -c -o pr20308_gd.o
> ../../../binutils-2.27/gold/testsuite/pr20308_gd.S

This should generate R_386_GOT32X, not R_386_GOT32 relocation.

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