]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-i686.patch
- test patch for i686 build problem (sysdeps/i386/fpu/s_frexp.S:66: Error: invalid...
[packages/glibc.git] / glibc-i686.patch
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
3 @@ -133,6 +133,8 @@
4      cfi_adjust_cfa_offset (-4);                                                      \
5      addl $_GLOBAL_OFFSET_TABLE+[.-0b], %ebx;
6  
7 +# define __old__i686 __i686
8 +# undef __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;           \
12 @@ -146,6 +148,8 @@
13    .previous;                                                                 \
14    .endif;                                                                    \
15    call __i686.get_pc_thunk.reg
16 +# define __i686 __old__i686
17 +# undef __old__i686
18  
19  # define LOAD_PIC_REG(reg) \
20    SETUP_PIC_REG(reg); addl $_GLOBAL_OFFSET_TABLE_, %e##reg
This page took 0.025652 seconds and 3 git commands to generate.