diff options
author | Roland McGrath <roland@gnu.org> | 2005-05-25 02:49:02 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-05-25 02:49:02 +0000 |
commit | 1f708405fc137d3235803832110a7eec8f14d894 (patch) | |
tree | 993022387d9bb513fa1bcf6401f6ddfaa6e5be28 /sysdeps/unix/sysv/linux | |
parent | ce9b3bc17a7abc5b729b9e2cc72eb207a3617328 (diff) | |
download | glibc-1f708405fc137d3235803832110a7eec8f14d894.tar glibc-1f708405fc137d3235803832110a7eec8f14d894.tar.gz glibc-1f708405fc137d3235803832110a7eec8f14d894.tar.bz2 glibc-1f708405fc137d3235803832110a7eec8f14d894.zip |
* sysdeps/unix/sysv/linux/i386/sysdep.h
(SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
* sysdeps/i386/sysdep.h [PIC]: ... to here.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysdep.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index a9637be33d..99f9bf1edf 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -109,32 +109,6 @@ # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ #else -# ifndef HAVE_HIDDEN -# define SETUP_PIC_REG(reg) \ - call 1f; \ - .subsection 1; \ -1:movl (%esp), %e##reg; \ - ret; \ - .previous -# else -# define SETUP_PIC_REG(reg) \ - .ifndef __i686.get_pc_thunk.reg; \ - .section .gnu.linkonce.t.__i686.get_pc_thunk.reg,"ax",@progbits; \ - .globl __i686.get_pc_thunk.reg; \ - .hidden __i686.get_pc_thunk.reg; \ - .type __i686.get_pc_thunk.reg,@function; \ -__i686.get_pc_thunk.reg: \ - movl (%esp), %e##reg; \ - ret; \ - .size __i686.get_pc_thunk.reg, . - __i686.get_pc_thunk.reg; \ - .previous; \ - .endif; \ - call __i686.get_pc_thunk.reg -# endif - -# define LOAD_PIC_REG(reg) \ - SETUP_PIC_REG(reg); addl $_GLOBAL_OFFSET_TABLE_, %e##reg - # if RTLD_PRIVATE_ERRNO # define SYSCALL_ERROR_HANDLER \ 0:SETUP_PIC_REG(cx); \ |