From 44a2186e472a709049241091b83d3147f123096b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 24 Nov 2008 10:17:05 +0000 Subject: 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 --git a/patches/binutils/2.19/170-generate-gnu-hash.patch b/patches/binutils/2.19/170-generate-gnu-hash.patch deleted file mode 100644 index b3ffd5e..0000000 --- a/patches/binutils/2.19/170-generate-gnu-hash.patch +++ /dev/null @@ -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 --git a/patches/binutils/2.19/170-use-relro.patch b/patches/binutils/2.19/170-use-relro.patch new file mode 100644 index 0000000..e990e9a --- /dev/null +++ b/patches/binutils/2.19/170-use-relro.patch @@ -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 --git a/patches/binutils/2.19/180-libiberty-pic.patch b/patches/binutils/2.19/180-libiberty-pic.patch new file mode 100644 index 0000000..644ec1e --- /dev/null +++ b/patches/binutils/2.19/180-libiberty-pic.patch @@ -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 --git a/patches/binutils/2.19/180-use-relro.patch b/patches/binutils/2.19/180-use-relro.patch deleted file mode 100644 index e990e9a..0000000 --- a/patches/binutils/2.19/180-use-relro.patch +++ /dev/null @@ -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 --git a/patches/binutils/2.19/190-libiberty-pic.patch b/patches/binutils/2.19/190-libiberty-pic.patch deleted file mode 100644 index 644ec1e..0000000 --- a/patches/binutils/2.19/190-libiberty-pic.patch +++ /dev/null @@ -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 - -- cgit v0.10.2-6-g49f6