Remove a patch for binutils-2.19 that makes the cross MIPS case fail.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Nov 24 10:17:05 2008 +0000 (2008-11-24)
changeset 10733ea9b9521203
parent 1072 955abeda0ce4
child 1074 f69c993af096
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(+)
patches/binutils/2.19/170-generate-gnu-hash.patch
patches/binutils/2.19/170-use-relro.patch
patches/binutils/2.19/180-libiberty-pic.patch
patches/binutils/2.19/180-use-relro.patch
patches/binutils/2.19/190-libiberty-pic.patch
     1.1 --- a/patches/binutils/2.19/170-generate-gnu-hash.patch	Sun Nov 23 18:00:59 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,16 +0,0 @@
     1.4 -Original patch from Gentoo:
     1.5 -gentoo/src/patchsets/binutils/2.19/77_all_generate-gnu-hash.patch
     1.6 -
     1.7 -diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c
     1.8 ---- binutils-2.19.orig/ld/ldmain.c	2008-11-23 16:58:24.000000000 +0100
     1.9 -+++ binutils-2.19/ld/ldmain.c	2008-11-23 16:58:33.000000000 +0100
    1.10 -@@ -266,6 +266,9 @@
    1.11 -   link_info.combreloc = TRUE;
    1.12 -   link_info.strip_discarded = TRUE;
    1.13 -   link_info.emit_hash = TRUE;
    1.14 -+#ifndef __mips__
    1.15 -+  link_info.emit_gnu_hash = TRUE;
    1.16 -+#endif
    1.17 -   link_info.callbacks = &link_callbacks;
    1.18 -   link_info.input_bfds_tail = &link_info.input_bfds;
    1.19 -   /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/patches/binutils/2.19/170-use-relro.patch	Mon Nov 24 10:17:05 2008 +0000
     2.3 @@ -0,0 +1,14 @@
     2.4 +Original patch from Gentoo:
     2.5 +gentoo/src/patchsets/binutils/2.19/78_all_use-relro.patch
     2.6 +
     2.7 +diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c
     2.8 +--- binutils-2.19.orig/ld/ldmain.c	2008-11-23 16:59:24.000000000 +0100
     2.9 ++++ binutils-2.19/ld/ldmain.c	2008-11-23 16:59:45.000000000 +0100
    2.10 +@@ -264,6 +264,7 @@
    2.11 +   link_info.keep_memory = TRUE;
    2.12 +   link_info.new_dtags = TRUE;
    2.13 +   link_info.combreloc = TRUE;
    2.14 ++  link_info.relro = TRUE;
    2.15 +   link_info.strip_discarded = TRUE;
    2.16 +   link_info.emit_hash = TRUE;
    2.17 + #ifndef __mips__
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/patches/binutils/2.19/180-libiberty-pic.patch	Mon Nov 24 10:17:05 2008 +0000
     3.3 @@ -0,0 +1,14 @@
     3.4 +Original patch from Gentoo:
     3.5 +gentoo/src/patchsets/binutils/2.19/91_all_libiberty-pic.patch
     3.6 +
     3.7 +diff -durN binutils-2.19.orig/libiberty/Makefile.in binutils-2.19/libiberty/Makefile.in
     3.8 +--- binutils-2.19.orig/libiberty/Makefile.in	2008-07-24 15:51:49.000000000 +0200
     3.9 ++++ binutils-2.19/libiberty/Makefile.in	2008-11-23 17:03:33.000000000 +0100
    3.10 +@@ -227,6 +227,7 @@
    3.11 + 	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
    3.12 + 	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
    3.13 + 	  $(RANLIB) $(TARGETLIB); \
    3.14 ++	  cp $(TARGETLIB) ../ ; \
    3.15 + 	  cd ..; \
    3.16 + 	else true; fi
    3.17 + 
     4.1 --- a/patches/binutils/2.19/180-use-relro.patch	Sun Nov 23 18:00:59 2008 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,14 +0,0 @@
     4.4 -Original patch from Gentoo:
     4.5 -gentoo/src/patchsets/binutils/2.19/78_all_use-relro.patch
     4.6 -
     4.7 -diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c
     4.8 ---- binutils-2.19.orig/ld/ldmain.c	2008-11-23 16:59:24.000000000 +0100
     4.9 -+++ binutils-2.19/ld/ldmain.c	2008-11-23 16:59:45.000000000 +0100
    4.10 -@@ -264,6 +264,7 @@
    4.11 -   link_info.keep_memory = TRUE;
    4.12 -   link_info.new_dtags = TRUE;
    4.13 -   link_info.combreloc = TRUE;
    4.14 -+  link_info.relro = TRUE;
    4.15 -   link_info.strip_discarded = TRUE;
    4.16 -   link_info.emit_hash = TRUE;
    4.17 - #ifndef __mips__
     5.1 --- a/patches/binutils/2.19/190-libiberty-pic.patch	Sun Nov 23 18:00:59 2008 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,14 +0,0 @@
     5.4 -Original patch from Gentoo:
     5.5 -gentoo/src/patchsets/binutils/2.19/91_all_libiberty-pic.patch
     5.6 -
     5.7 -diff -durN binutils-2.19.orig/libiberty/Makefile.in binutils-2.19/libiberty/Makefile.in
     5.8 ---- binutils-2.19.orig/libiberty/Makefile.in	2008-07-24 15:51:49.000000000 +0200
     5.9 -+++ binutils-2.19/libiberty/Makefile.in	2008-11-23 17:03:33.000000000 +0100
    5.10 -@@ -227,6 +227,7 @@
    5.11 - 	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
    5.12 - 	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
    5.13 - 	  $(RANLIB) $(TARGETLIB); \
    5.14 -+	  cp $(TARGETLIB) ../ ; \
    5.15 - 	  cd ..; \
    5.16 - 	else true; fi
    5.17 -