mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

152 lines
4.3 KiB

  1. --- ./nptl/sysdeps/pthread/pt-initfini.c.orig 2005-02-25 20:38:45.000000000 -0500
  2. +++ ./nptl/sysdeps/pthread/pt-initfini.c 2005-04-14 07:40:10.000000000 -0400
  3. @@ -44,6 +44,10 @@
  4. /* Embed an #include to pull in the alignment and .end directives. */
  5. asm ("\n#include \"defs.h\"");
  6. +asm ("\n#ifdef __i686");
  7. +asm ("\n# undef __i686");
  8. +asm ("\n# define __i686 __i686");
  9. +asm ("\n#endif");
  10. /* The initial common code ends here. */
  11. asm ("\n/*@HEADER_ENDS*/");
  12. --- ./nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S.orig 2004-09-02 14:52:38.000000000 -0400
  13. +++ ./nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S 2005-04-13 16:27:43.000000000 -0400
  14. @@ -22,6 +22,11 @@
  15. #include <lowlevelcond.h>
  16. #include <tcb-offsets.h>
  17. +#if defined(PIC) && defined(__i686)
  18. +# undef __i686
  19. +# define __i686 __i686
  20. +#endif
  21. +
  22. #ifdef UP
  23. # define LOCK
  24. #else
  25. --- ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S.orig 2005-02-16 06:07:43.000000000 -0500
  26. +++ ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S 2005-04-13 16:27:34.000000000 -0400
  27. @@ -21,6 +21,11 @@
  28. #include <shlib-compat.h>
  29. #include <pthread-errnos.h>
  30. +#if defined(PIC) && defined(__i686)
  31. +# undef __i686
  32. +# define __i686 __i686
  33. +#endif
  34. +
  35. #ifndef UP
  36. # define LOCK lock
  37. #else
  38. --- ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S.orig 2005-02-16 06:07:44.000000000 -0500
  39. +++ ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S 2005-04-13 16:27:26.000000000 -0400
  40. @@ -21,6 +21,11 @@
  41. #include <shlib-compat.h>
  42. #include <pthread-errnos.h>
  43. +#if defined(PIC) && defined(__i686)
  44. +# undef __i686
  45. +# define __i686 __i686
  46. +#endif
  47. +
  48. #ifndef UP
  49. # define LOCK lock
  50. #else
  51. --- ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S.orig 2005-02-16 06:07:44.000000000 -0500
  52. +++ ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S 2005-04-13 16:27:23.000000000 -0400
  53. @@ -21,6 +21,11 @@
  54. #include <shlib-compat.h>
  55. #include <pthread-errnos.h>
  56. +#if defined(PIC) && defined(__i686)
  57. +# undef __i686
  58. +# define __i686 __i686
  59. +#endif
  60. +
  61. #ifndef UP
  62. # define LOCK lock
  63. #else
  64. --- ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S.orig 2005-02-16 06:07:44.000000000 -0500
  65. +++ ./nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S 2005-04-13 16:27:31.000000000 -0400
  66. @@ -21,6 +21,11 @@
  67. #include <shlib-compat.h>
  68. #include <pthread-errnos.h>
  69. +#if defined(PIC) && defined(__i686)
  70. +# undef __i686
  71. +# define __i686 __i686
  72. +#endif
  73. +
  74. #ifndef UP
  75. # define LOCK lock
  76. #else
  77. --- ./nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S.orig 2003-10-03 15:49:23.000000000 -0400
  78. +++ ./nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S 2005-04-13 16:27:46.000000000 -0400
  79. @@ -20,6 +20,11 @@
  80. #include <unwindbuf.h>
  81. #include <sysdep.h>
  82. +#if defined(PIC) && defined(__i686)
  83. +# undef __i686
  84. +# define __i686 __i686
  85. +#endif
  86. +
  87. #ifndef UP
  88. # define LOCK lock
  89. #else
  90. --- ./sysdeps/i386/elf/setjmp.S.orig 2003-10-03 16:25:46.000000000 -0400
  91. +++ ./sysdeps/i386/elf/setjmp.S 2005-04-13 16:27:16.000000000 -0400
  92. @@ -24,6 +24,11 @@
  93. #include "bp-sym.h"
  94. #include "bp-asm.h"
  95. +#ifdef __i686
  96. +# undef __i686
  97. +# define __i686 __i686
  98. +#endif
  99. +
  100. #define PARMS LINKAGE /* no space for saved regs */
  101. #define JMPBUF PARMS
  102. #define SIGMSK JMPBUF+PTR_SIZE
  103. --- ./sysdeps/i386/elf/bsd-setjmp.S.orig 2003-10-03 16:29:03.000000000 -0400
  104. +++ ./sysdeps/i386/elf/bsd-setjmp.S 2005-04-13 16:27:20.000000000 -0400
  105. @@ -24,6 +24,11 @@
  106. #include "bp-sym.h"
  107. #include "bp-asm.h"
  108. +#ifdef __i686
  109. +# undef __i686
  110. +# define __i686 __i686
  111. +#endif
  112. +
  113. #define PARMS LINKAGE /* no space for saved regs */
  114. #define JMPBUF PARMS
  115. #define SIGMSK JMPBUF+PTR_SIZE
  116. --- ./sysdeps/i386/i686/memcmp.S.orig 2004-04-01 18:28:37.000000000 -0500
  117. +++ ./sysdeps/i386/i686/memcmp.S 2005-04-13 16:26:56.000000000 -0400
  118. @@ -22,6 +22,11 @@
  119. #include "bp-sym.h"
  120. #include "bp-asm.h"
  121. +#ifdef __i686
  122. +# undef __i686
  123. +# define __i686 __i686
  124. +#endif
  125. +
  126. #define PARMS LINKAGE+4 /* Preserve EBX. */
  127. #define BLK1 PARMS
  128. #define BLK2 BLK1+PTR_SIZE
  129. --- ./sysdeps/unix/sysv/linux/i386/sysdep.h.orig 2005-02-16 06:20:22.000000000 -0500
  130. +++ ./sysdeps/unix/sysv/linux/i386/sysdep.h 2005-04-13 16:22:41.000000000 -0400
  131. @@ -117,6 +117,10 @@
  132. ret; \
  133. .previous
  134. # else
  135. +# ifdef __i686
  136. +# undef __i686
  137. +# define __i686 __i686
  138. +# endif
  139. # define SETUP_PIC_REG(reg) \
  140. .section .gnu.linkonce.t.__i686.get_pc_thunk.reg,"ax",@progbits; \
  141. .globl __i686.get_pc_thunk.reg; \