1 --- glibc-2.11.1/sysdeps/i386/sysdep.h~ 2009-12-08 21:10:20.000000000 +0100
2 +++ glibc-2.11.1/sysdeps/i386/sysdep.h 2010-04-24 23:17:12.477558192 +0200
4 cfi_adjust_cfa_offset (-4); \
5 addl $_GLOBAL_OFFSET_TABLE+[.-0b], %ebx;
7 +# define __old__i686 __i686
9 # define SETUP_PIC_REG(reg) \
10 .ifndef __i686.get_pc_thunk.reg; \
11 .section .gnu.linkonce.t.__i686.get_pc_thunk.reg,"ax",@progbits; \
15 call __i686.get_pc_thunk.reg
16 +# define __i686 __old__i686
19 # define LOAD_PIC_REG(reg) \
20 SETUP_PIC_REG(reg); addl $_GLOBAL_OFFSET_TABLE_, %e##reg
21 --- glibc-2.11.1/sysdeps/i386/i686/memcmp.S.org 2010-04-24 23:25:03.876469117 +0200
22 +++ glibc-2.11.1/sysdeps/i386/i686/memcmp.S 2010-04-24 23:26:58.336457933 +0200
24 /* Load an entry in a jump table into EBX. TABLE is a jump table
25 with relative offsets. INDEX is a register contains the index
26 into the jump table. */
27 +# define __old__i686 __i686
29 #define LOAD_JUMP_TABLE_ENTRY(TABLE, INDEX) \
30 /* We first load PC into EBX. */ \
31 call __i686.get_pc_thunk.bx; \
33 /* Get the entry and convert the relative offset to the \
34 absolute address. */ \
35 addl (%ebx,INDEX,4), %ebx
36 +# define __i686 __old__i686
39 .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
40 .globl __i686.get_pc_thunk.bx