]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- more workarounds
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 24 Apr 2010 21:32:14 +0000 (21:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc-i686.patch -> 1.2

glibc-i686.patch

index 0c6977e4ffed54eaa47407a127a01626cb2f2131..b16c1ee8a1eb68e93fad5dad454b1e33bf99a5a3 100644 (file)
  
  # define LOAD_PIC_REG(reg) \
    SETUP_PIC_REG(reg); addl $_GLOBAL_OFFSET_TABLE_, %e##reg
+--- glibc-2.11.1/sysdeps/i386/i686/memcmp.S.org        2010-04-24 23:25:03.876469117 +0200
++++ glibc-2.11.1/sysdeps/i386/i686/memcmp.S    2010-04-24 23:26:58.336457933 +0200
+@@ -34,6 +34,8 @@
+ /* Load an entry in a jump table into EBX.  TABLE is a jump table
+    with relative offsets.  INDEX is a register contains the index
+    into the jump table.  */
++# define __old__i686 __i686
++# undef __i686
+ #define LOAD_JUMP_TABLE_ENTRY(TABLE, INDEX) \
+   /* We first load PC into EBX.  */                                         \
+   call        __i686.get_pc_thunk.bx;                                               \
+@@ -42,6 +44,8 @@
+   /* Get the entry and convert the relative offset to the                   \
+      absolute address.  */                                                  \
+   addl        (%ebx,INDEX,4), %ebx
++# define __i686 __old__i686
++# undef __old__i686
+       .section        .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
+       .globl  __i686.get_pc_thunk.bx
This page took 0.103816 seconds and 4 git commands to generate.