OpenSDE Packages Database (without history before r20070)
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.

143 lines
6.1 KiB

  1. diff -ruN gcc-4.1.2/gcc/config/i386/linux64.h gcc-4.1.2-pure64/gcc/config/i386/linux64.h
  2. --- gcc-4.1.2/gcc/config/i386/linux64.h 2005-08-10 20:53:01.000000000 +0300
  3. +++ gcc-4.1.2-pure64/gcc/config/i386/linux64.h 2007-09-30 02:40:00.000000000 +0300
  4. @@ -60,8 +60,8 @@
  5. %{!shared: \
  6. %{!static: \
  7. %{rdynamic:-export-dynamic} \
  8. - %{m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
  9. - %{!m32:%{!dynamic-linker:-dynamic-linker /lib64/ld-linux-x86-64.so.2}}} \
  10. + %{m32:%{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \
  11. + %{!m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux-x86-64.so.2}}} \
  12. %{static:-static}}"
  13. /* Similar to standard Linux, but adding -ffast-math support. */
  14. diff -ruN gcc-4.1.2/gcc/config/i386/t-linux64 gcc-4.1.2-pure64/gcc/config/i386/t-linux64
  15. --- gcc-4.1.2/gcc/config/i386/t-linux64 2005-08-10 20:53:01.000000000 +0300
  16. +++ gcc-4.1.2-pure64/gcc/config/i386/t-linux64 2007-09-30 02:41:43.000000000 +0300
  17. @@ -6,7 +6,7 @@
  18. MULTILIB_OPTIONS = m64/m32
  19. MULTILIB_DIRNAMES = 64 32
  20. -MULTILIB_OSDIRNAMES = ../lib64 ../lib
  21. +MULTILIB_OSDIRNAMES = ../lib ../lib32
  22. LIBGCC = stmp-multilib
  23. INSTALL_LIBGCC = install-multilib
  24. diff -ruN gcc-4.1.2/gcc/config/mips/linux64.h gcc-4.1.2-pure64/gcc/config/mips/linux64.h
  25. --- gcc-4.1.2/gcc/config/mips/linux64.h 2005-06-25 04:22:41.000000000 +0300
  26. +++ gcc-4.1.2-pure64/gcc/config/mips/linux64.h 2007-09-30 02:42:37.000000000 +0300
  27. @@ -47,9 +47,9 @@
  28. %{!static: \
  29. %{rdynamic:-export-dynamic} \
  30. %{!dynamic-linker: \
  31. - %{mabi=n32: -dynamic-linker /lib32/ld.so.1} \
  32. - %{mabi=64: -dynamic-linker /lib64/ld.so.1} \
  33. - %{mabi=32: -dynamic-linker /lib/ld.so.1}}} \
  34. + %{mabi=n32: -dynamic-linker /lib64/ld.so.1} \
  35. + %{mabi=64: -dynamic-linker /lib/ld.so.1} \
  36. + %{mabi=32: -dynamic-linker /lib32/ld.so.1}}} \
  37. %{static:-static}}} \
  38. %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \
  39. %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \
  40. diff -ruN gcc-4.1.2/gcc/config/mips/t-linux64 gcc-4.1.2-pure64/gcc/config/mips/t-linux64
  41. --- gcc-4.1.2/gcc/config/mips/t-linux64 2006-09-10 10:13:12.000000000 +0300
  42. +++ gcc-4.1.2-pure64/gcc/config/mips/t-linux64 2007-09-30 02:43:48.000000000 +0300
  43. @@ -1,6 +1,6 @@
  44. MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
  45. MULTILIB_DIRNAMES = n32 32 64
  46. -MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
  47. +MULTILIB_OSDIRNAMES = ../lib64 ../lib32 ../lib
  48. EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
  49. diff -ruN gcc-4.1.2/gcc/config/rs6000/linux64.h gcc-4.1.2-pure64/gcc/config/rs6000/linux64.h
  50. --- gcc-4.1.2/gcc/config/rs6000/linux64.h 2006-02-10 22:58:33.000000000 +0200
  51. +++ gcc-4.1.2-pure64/gcc/config/rs6000/linux64.h 2007-09-30 02:46:47.000000000 +0300
  52. @@ -339,11 +339,11 @@
  53. #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
  54. %{rdynamic:-export-dynamic} \
  55. - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
  56. + %{!dynamic-linker:-dynamic-linker /lib32/ld.so.1}}}"
  57. #define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
  58. %{rdynamic:-export-dynamic} \
  59. - %{!dynamic-linker:-dynamic-linker /lib64/ld64.so.1}}}"
  60. + %{!dynamic-linker:-dynamic-linker /lib/ld64.so.1}}}"
  61. #undef TOC_SECTION_ASM_OP
  62. #define TOC_SECTION_ASM_OP \
  63. diff -ruN gcc-4.1.2/gcc/config/rs6000/t-linux64 gcc-4.1.2-pure64/gcc/config/rs6000/t-linux64
  64. --- gcc-4.1.2/gcc/config/rs6000/t-linux64 2006-02-10 22:58:33.000000000 +0200
  65. +++ gcc-4.1.2-pure64/gcc/config/rs6000/t-linux64 2007-09-30 02:47:31.000000000 +0300
  66. @@ -11,7 +11,7 @@
  67. MULTILIB_EXTRA_OPTS = fPIC mstrict-align
  68. MULTILIB_EXCEPTIONS =
  69. MULTILIB_EXCLUSIONS =
  70. -MULTILIB_OSDIRNAMES = ../lib64 ../lib
  71. +MULTILIB_OSDIRNAMES = ../lib ../lib32
  72. MULTILIB_MATCHES =
  73. # We want fine grained libraries, so use the new code to build the
  74. diff -ruN gcc-4.1.2/gcc/config/sparc/linux64.h gcc-4.1.2-pure64/gcc/config/sparc/linux64.h
  75. --- gcc-4.1.2/gcc/config/sparc/linux64.h 2006-02-11 10:38:51.000000000 +0200
  76. +++ gcc-4.1.2-pure64/gcc/config/sparc/linux64.h 2007-09-30 02:51:50.000000000 +0300
  77. @@ -162,21 +162,21 @@
  78. { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
  79. { "link_arch", LINK_ARCH_SPEC },
  80. -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
  81. +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib32 %{shared:-shared} \
  82. %{!shared: \
  83. %{!ibcs: \
  84. %{!static: \
  85. %{rdynamic:-export-dynamic} \
  86. - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
  87. + %{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \
  88. %{static:-static}}} \
  89. "
  90. -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
  91. +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \
  92. %{!shared: \
  93. %{!ibcs: \
  94. %{!static: \
  95. %{rdynamic:-export-dynamic} \
  96. - %{!dynamic-linker:-dynamic-linker /lib64/ld-linux.so.2}} \
  97. + %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
  98. %{static:-static}}} \
  99. "
  100. @@ -252,12 +252,12 @@
  101. #else /* !SPARC_BI_ARCH */
  102. #undef LINK_SPEC
  103. -#define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
  104. +#define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib %{shared:-shared} \
  105. %{!shared: \
  106. %{!ibcs: \
  107. %{!static: \
  108. %{rdynamic:-export-dynamic} \
  109. - %{!dynamic-linker:-dynamic-linker /lib64/ld-linux.so.2}} \
  110. + %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
  111. %{static:-static}}} \
  112. %{mlittle-endian:-EL} \
  113. %{!mno-relax:%{!r:-relax}} \
  114. diff -ruN gcc-4.1.2/gcc/config/sparc/t-linux64 gcc-4.1.2-pure64/gcc/config/sparc/t-linux64
  115. --- gcc-4.1.2/gcc/config/sparc/t-linux64 2004-04-01 19:05:22.000000000 +0300
  116. +++ gcc-4.1.2-pure64/gcc/config/sparc/t-linux64 2007-09-30 02:54:16.000000000 +0300
  117. @@ -1,6 +1,6 @@
  118. MULTILIB_OPTIONS = m64/m32
  119. MULTILIB_DIRNAMES = 64 32
  120. -MULTILIB_OSDIRNAMES = ../lib64 ../lib
  121. +MULTILIB_OSDIRNAMES = ../lib ../lib32
  122. LIBGCC = stmp-multilib
  123. INSTALL_LIBGCC = install-multilib
  124. @@ -16,4 +16,4 @@
  125. CRTSTUFF_T_CFLAGS = `if test x$$($(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) \
  126. -print-multi-os-directory) \
  127. - = x../lib64; then echo -mcmodel=medany; fi`
  128. + = x../lib; then echo -mcmodel=medany; fi`