# HG changeset patch # User "Yann E. MORIN" # Date 1227521825 0 # Node ID 3ea9b9521203aea4637cf6110c69190c4e539701 # Parent 955abeda0ce4c5333ef220a1f2ab2f6425c1be31 Remove a patch for binutils-2.19 that makes the cross MIPS case fail. - it is not necessary to use the gnu_hash section by default. - renumber following patches /trunk/patches/binutils/2.19/170-use-relro.patch | 14 14 0 0 ++++++++++++++ /trunk/patches/binutils/2.19/180-libiberty-pic.patch | 14 14 0 0 ++++++++++++++ 2 files changed, 28 insertions(+) diff -r 955abeda0ce4 -r 3ea9b9521203 patches/binutils/2.19/170-generate-gnu-hash.patch --- a/patches/binutils/2.19/170-generate-gnu-hash.patch Sun Nov 23 18:00:59 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -Original patch from Gentoo: -gentoo/src/patchsets/binutils/2.19/77_all_generate-gnu-hash.patch - -diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c ---- binutils-2.19.orig/ld/ldmain.c 2008-11-23 16:58:24.000000000 +0100 -+++ binutils-2.19/ld/ldmain.c 2008-11-23 16:58:33.000000000 +0100 -@@ -266,6 +266,9 @@ - link_info.combreloc = TRUE; - link_info.strip_discarded = TRUE; - link_info.emit_hash = TRUE; -+#ifndef __mips__ -+ link_info.emit_gnu_hash = TRUE; -+#endif - link_info.callbacks = &link_callbacks; - link_info.input_bfds_tail = &link_info.input_bfds; - /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init diff -r 955abeda0ce4 -r 3ea9b9521203 patches/binutils/2.19/170-use-relro.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/binutils/2.19/170-use-relro.patch Mon Nov 24 10:17:05 2008 +0000 @@ -0,0 +1,14 @@ +Original patch from Gentoo: +gentoo/src/patchsets/binutils/2.19/78_all_use-relro.patch + +diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c +--- binutils-2.19.orig/ld/ldmain.c 2008-11-23 16:59:24.000000000 +0100 ++++ binutils-2.19/ld/ldmain.c 2008-11-23 16:59:45.000000000 +0100 +@@ -264,6 +264,7 @@ + link_info.keep_memory = TRUE; + link_info.new_dtags = TRUE; + link_info.combreloc = TRUE; ++ link_info.relro = TRUE; + link_info.strip_discarded = TRUE; + link_info.emit_hash = TRUE; + #ifndef __mips__ diff -r 955abeda0ce4 -r 3ea9b9521203 patches/binutils/2.19/180-libiberty-pic.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/binutils/2.19/180-libiberty-pic.patch Mon Nov 24 10:17:05 2008 +0000 @@ -0,0 +1,14 @@ +Original patch from Gentoo: +gentoo/src/patchsets/binutils/2.19/91_all_libiberty-pic.patch + +diff -durN binutils-2.19.orig/libiberty/Makefile.in binutils-2.19/libiberty/Makefile.in +--- binutils-2.19.orig/libiberty/Makefile.in 2008-07-24 15:51:49.000000000 +0200 ++++ binutils-2.19/libiberty/Makefile.in 2008-11-23 17:03:33.000000000 +0100 +@@ -227,6 +227,7 @@ + $(AR) $(AR_FLAGS) $(TARGETLIB) \ + $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ + $(RANLIB) $(TARGETLIB); \ ++ cp $(TARGETLIB) ../ ; \ + cd ..; \ + else true; fi + diff -r 955abeda0ce4 -r 3ea9b9521203 patches/binutils/2.19/180-use-relro.patch --- a/patches/binutils/2.19/180-use-relro.patch Sun Nov 23 18:00:59 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -Original patch from Gentoo: -gentoo/src/patchsets/binutils/2.19/78_all_use-relro.patch - -diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c ---- binutils-2.19.orig/ld/ldmain.c 2008-11-23 16:59:24.000000000 +0100 -+++ binutils-2.19/ld/ldmain.c 2008-11-23 16:59:45.000000000 +0100 -@@ -264,6 +264,7 @@ - link_info.keep_memory = TRUE; - link_info.new_dtags = TRUE; - link_info.combreloc = TRUE; -+ link_info.relro = TRUE; - link_info.strip_discarded = TRUE; - link_info.emit_hash = TRUE; - #ifndef __mips__ diff -r 955abeda0ce4 -r 3ea9b9521203 patches/binutils/2.19/190-libiberty-pic.patch --- a/patches/binutils/2.19/190-libiberty-pic.patch Sun Nov 23 18:00:59 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -Original patch from Gentoo: -gentoo/src/patchsets/binutils/2.19/91_all_libiberty-pic.patch - -diff -durN binutils-2.19.orig/libiberty/Makefile.in binutils-2.19/libiberty/Makefile.in ---- binutils-2.19.orig/libiberty/Makefile.in 2008-07-24 15:51:49.000000000 +0200 -+++ binutils-2.19/libiberty/Makefile.in 2008-11-23 17:03:33.000000000 +0100 -@@ -227,6 +227,7 @@ - $(AR) $(AR_FLAGS) $(TARGETLIB) \ - $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ - $(RANLIB) $(TARGETLIB); \ -+ cp $(TARGETLIB) ../ ; \ - cd ..; \ - else true; fi -