summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/binutils/files')
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch4
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-testsuite-Wall-fixes.patch32
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch20
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-gas-mips-gprel.patch21
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.13.90.0.201
5 files changed, 78 insertions, 0 deletions
diff --git a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch
index 263e7920966e..9c895d45a3dc 100644
--- a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch
+++ b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch
@@ -1,3 +1,7 @@
+2002-08-26 Jan Hubicka <jh@suse.cz>
+
+ * tc-i386.c (tc_i386_fix_adjustable): Recognize GOTPCREL properly.
+
--- binutils-2.13.90.0.10/gas/config/tc-i386.c.x86_64-gotpcrel 2002-11-15 15:16:42.000000000 +0100
+++ binutils-2.13.90.0.10/gas/config/tc-i386.c 2002-11-15 15:22:40.000000000 +0100
@@ -1220,6 +1220,12 @@ tc_i386_fix_adjustable (fixP)
diff --git a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-testsuite-Wall-fixes.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-testsuite-Wall-fixes.patch
new file mode 100644
index 000000000000..213c2032effb
--- /dev/null
+++ b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-testsuite-Wall-fixes.patch
@@ -0,0 +1,32 @@
+2003-02-15 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
+
+ * ld/testsuite/ld-shared/main.c (main): -Wall fixes.
+
+--- binutils-2.13.90.0.18/ld/testsuite/ld-shared/main.c.testsuite-Wall-fixes 2001-06-09 03:13:02.000000000 -0400
++++ binutils-2.13.90.0.18/ld/testsuite/ld-shared/main.c 2003-02-15 03:47:05.000000000 -0500
+@@ -38,8 +38,6 @@ shlib_overriddencall2 ()
+ int
+ main ()
+ {
+- int (*p) ();
+-
+ printf ("mainvar == %d\n", mainvar);
+ printf ("overriddenvar == %d\n", overriddenvar);
+ printf ("shlibvar1 == %d\n", shlibvar1);
+@@ -62,6 +60,8 @@ main ()
+ printf ("shlib_checkfunptr2 (main_called) == %d\n",
+ shlib_checkfunptr2 (main_called));
+ #endif
++ {
++ int (*p) ();
+ p = shlib_getfunptr1 ();
+ printf ("shlib_getfunptr1 () ");
+ if (p == shlib_shlibvar1)
+@@ -78,6 +78,7 @@ main ()
+ printf ("!=");
+ printf (" main_called\n");
+ #endif
++ }
+ #endif
+ printf ("shlib_check () == %d\n", shlib_check ());
+ return 0;
diff --git a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch
new file mode 100644
index 000000000000..2f2993ffe5b3
--- /dev/null
+++ b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch
@@ -0,0 +1,20 @@
+--- ld/scripttempl/elf.sc.array-sects-compat~ 2003-01-03 22:21:16.000000000 -0200
++++ ld/scripttempl/elf.sc 2003-01-03 22:27:42.000000000 -0200
+@@ -288,6 +288,17 @@
+ ${CREATE_SHLIB-${RELOCATING+. = ${DATA_ADDR-${DATA_SEGMENT_ALIGN}};}}
+ ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_DATA_ADDR-${DATA_SEGMENT_ALIGN}};}}
+
++ /* For backward-compatibility with tools that don't support the
++ *_array_* sections below, our glibc's crt files contain weak
++ definitions of symbols that they reference. We don't want to use
++ them, though, unless they're strictly necessary, because they'd
++ bring us empty sections, unlike PROVIDE below, so we drop the
++ sections from the crt files here. */
++ /DISCARD/ : {
++ */crti.o(.init_array .fini_array .preinit_array)
++ */crtn.o(.init_array .fini_array .preinit_array)
++ }
++
+ /* Ensure the __preinit_array_start label is properly aligned. We
+ could instead move the label definition inside the section, but
+ the linker would then create the section even if it turns out to
diff --git a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-gas-mips-gprel.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-gas-mips-gprel.patch
new file mode 100644
index 000000000000..2b1c637d9f19
--- /dev/null
+++ b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.20-gas-mips-gprel.patch
@@ -0,0 +1,21 @@
+diff -Naurp binutils-2.13.90.0.18.orig/gas/config/tc-mips.c binutils-2.13.90.0.18/gas/config/tc-mips.c
+--- binutils-2.13.90.0.18.orig/gas/config/tc-mips.c 2003-02-28 11:22:14.000000000 -0500
++++ binutils-2.13.90.0.18/gas/config/tc-mips.c 2003-02-28 11:23:28.000000000 -0500
+@@ -13402,7 +13402,16 @@ tc_gen_reloc (section, fixp)
+ && (code == BFD_RELOC_GPREL16 || code == BFD_RELOC_MIPS16_GPREL)
+ && reloc->addend != 0
+ && mips_need_elf_addend_fixup (fixp))
+- reloc->addend += S_GET_VALUE (fixp->fx_addsy);
++ {
++ /* gbl: in o32 GPREL16 is always inplace, but in n32 and 64
++ it isn't. I wish someone would get rid of this "fix". */
++ reloc_howto_type *howto;
++
++ howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
++ if (howto->partial_inplace) {
++ reloc->addend += S_GET_VALUE (fixp->fx_addsy);
++ }
++ }
+ #endif
+
+ reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
diff --git a/sys-devel/binutils/files/digest-binutils-2.13.90.0.20 b/sys-devel/binutils/files/digest-binutils-2.13.90.0.20
new file mode 100644
index 000000000000..f6bf489a3570
--- /dev/null
+++ b/sys-devel/binutils/files/digest-binutils-2.13.90.0.20
@@ -0,0 +1 @@
+MD5 cfbad8b279410a3edbcdea9684943015 binutils-2.13.90.0.20.tar.bz2 10157139