diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2015-01-27 10:02:26 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2015-01-27 10:02:26 +0000 |
commit | f962fbf14c2fba5d5195cb4094f13e76f901f709 (patch) | |
tree | c5b74eb2bd82060729d21ee4e591837c8d85b923 /gcc | |
parent | f4bdb96a3476e1e10655173cb8df2c41ea33038e (diff) | |
download | gcc-f962fbf14c2fba5d5195cb4094f13e76f901f709.zip gcc-f962fbf14c2fba5d5195cb4094f13e76f901f709.tar.gz gcc-f962fbf14c2fba5d5195cb4094f13e76f901f709.tar.bz2 |
Move Solaris/x86 CRT_GET_RFIB_DATA definition to libgcc
gcc:
* config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
libgcc:
* config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
Add i386/elf-lib.h to tm_file.
* config/i386/elf-lib.h: Fix comment.
* unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
&& __sun__ && __svr4__]: Remove workaround.
From-SVN: r220160
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/sysv4.h | 13 |
2 files changed, 4 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a7d553..8ef1ae4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove. + 2015-01-27 Jakub Jelinek <jakub@redhat.com> Yury Gribov <y.gribov@samsung.com> diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h index 099af9b..9f94507 100644 --- a/gcc/config/i386/sysv4.h +++ b/gcc/config/i386/sysv4.h @@ -49,16 +49,3 @@ along with GCC; see the file COPYING3. If not see goto DONE; \ } \ } while (0) - -/* Used by crtstuff.c to initialize the base of data-relative relocations. - These are GOT relative on x86, so return the pic register. */ -#define CRT_GET_RFIB_DATA(BASE) \ - __asm__ ("call\t.LPR%=\n" \ - ".LPR%=:\n\t" \ - "pop{l}\t%0\n\t" \ - /* Due to a GAS bug, this cannot use EAX. That encodes \ - smaller than the traditional EBX, which results in the \ - offset being off by one. */ \ - "add{l}\t{$_GLOBAL_OFFSET_TABLE_+[.-.LPR%=],%0" \ - "|%0,_GLOBAL_OFFSET_TABLE_+(.-.LPR%=)}" \ - : "=d"(BASE)) |