Rebase sources on 2.19.50.0.1 tarball. Update all patches, trimming those
that are no longer needed.
This commit is contained in:
parent
752b15975f
commit
fe03d628f6
@ -1,6 +1 @@
|
||||
.build-2.18.50.0.9-5.fc10.log
|
||||
binutils-2.18.50.0.9.tar.bz2
|
||||
binutils-2.18.50.0.9
|
||||
binutils-2.18.50.0.9-5.fc10.src.rpm
|
||||
i386
|
||||
binutils-2.18.50.0.9.ifunc-patched
|
||||
binutils-2.19.50.0.1.tar.bz2
|
||||
|
@ -1,36 +0,0 @@
|
||||
2004-05-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* emulparams/elf64_ia64.sh (LIBPATH_SUFFIX): Use */lib64 paths on
|
||||
ia64-linux if /lib64 tree is present.
|
||||
|
||||
--- ld/emulparams/elf64_ia64.sh.jj 2004-02-18 20:06:03.000000000 +0100
|
||||
+++ ld/emulparams/elf64_ia64.sh 2004-05-14 10:11:22.992278608 +0200
|
||||
@@ -37,3 +37,13 @@ OTHER_READONLY_SECTIONS="${OTHER_READONL
|
||||
# .dtors. They have to be next to .sbss/.sbss2/.sdata/.sdata2.
|
||||
SMALL_DATA_CTOR=" "
|
||||
SMALL_DATA_DTOR=" "
|
||||
+
|
||||
+# Linux modify the default library search path to first include
|
||||
+# a 64-bit specific directory.
|
||||
+case "$target" in
|
||||
+ ia64*-linux*)
|
||||
+ case "$EMULATION_NAME" in
|
||||
+ *64*) test -d /lib64 && LIBPATH_SUFFIX=64 ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+esac
|
||||
--- ltconfig 2003-02-03 16:56:49.000000000 +0900
|
||||
+++ ltconfig 2003-02-03 16:56:49.000000000 +0900
|
||||
@@ -1240,10 +1240,10 @@
|
||||
|
||||
# Find out which ABI we are using (multilib hack).
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390*|sparc*|ppc*|powerpc*)
|
||||
+ x86_64*|s390*|sparc*|ppc*|powerpc*|ia64)
|
||||
echo "$progname:@lineno@: checking multilib ABI type" 1>&5
|
||||
touch conftest.$ac_ext
|
||||
- if { (eval echo $progname: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; then
|
||||
+ if test -d /lib64 && { (eval echo $progname: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; then
|
||||
case `/usr/bin/file conftest.o` in
|
||||
*64-bit*)
|
||||
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"
|
@ -1,16 +0,0 @@
|
||||
2003-08-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd.
|
||||
|
||||
--- ld/emulparams/elf64ppc.sh 2007-03-16 16:48:30.000000000 +0100
|
||||
+++ ld/emulparams/elf64ppc.sh 2008-07-25 20:11:20.000000000 +0200
|
||||
@@ -28,7 +28,8 @@ else
|
||||
.toc 0 : { *(.toc) }"
|
||||
fi
|
||||
OTHER_GOT_RELOC_SECTIONS="
|
||||
- .rela.toc ${RELOCATING-0} : { *(.rela.toc) }"
|
||||
+ .rela.toc ${RELOCATING-0} : { *(.rela.toc) }
|
||||
+ .rela.opd ${RELOCATING-0} : { *(.rela.opd) }"
|
||||
OTHER_READWRITE_SECTIONS="
|
||||
.toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
|
||||
.opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }
|
File diff suppressed because it is too large
Load Diff
@ -1,536 +0,0 @@
|
||||
http://sourceware.org/ml/binutils-cvs/2008-09/msg00088.html
|
||||
http://sourceware.org/ml/binutils/2008-09/msg00125.html
|
||||
|
||||
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix testcases compilation failures due to unused variables.
|
||||
* ld-elfcomm/common1b.c (dummy1): Mark the variable for GCC as USED.
|
||||
* ld-shared/main.c (main): Move the P variable only to the places where
|
||||
it is used.
|
||||
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elfcomm/common1b.c,v
|
||||
retrieving revision 1.1
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.1 -r1.2
|
||||
--- ld/testsuite/ld-elfcomm/common1b.c 2003/04/15 09:38:10 1.1
|
||||
+++ ld/testsuite/ld-elfcomm/common1b.c 2008/09/17 07:43:49 1.2
|
||||
@@ -1,3 +1,7 @@
|
||||
-static char dummy1 = 'X';
|
||||
+static
|
||||
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
|
||||
+ __attribute__((__used__))
|
||||
+#endif /* __GNUC__ */
|
||||
+ char dummy1 = 'X';
|
||||
char foo1 [] = "Aligned at odd byte.";
|
||||
char foo2 [4];
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-shared/main.c,v
|
||||
retrieving revision 1.3
|
||||
retrieving revision 1.4
|
||||
diff -u -r1.3 -r1.4
|
||||
--- ld/testsuite/ld-shared/main.c 2001/06/06 21:03:59 1.3
|
||||
+++ ld/testsuite/ld-shared/main.c 2008/09/17 07:43:49 1.4
|
||||
@@ -38,8 +38,6 @@
|
||||
int
|
||||
main ()
|
||||
{
|
||||
- int (*p) ();
|
||||
-
|
||||
printf ("mainvar == %d\n", mainvar);
|
||||
printf ("overriddenvar == %d\n", overriddenvar);
|
||||
printf ("shlibvar1 == %d\n", shlibvar1);
|
||||
@@ -62,21 +60,29 @@
|
||||
printf ("shlib_checkfunptr2 (main_called) == %d\n",
|
||||
shlib_checkfunptr2 (main_called));
|
||||
#endif
|
||||
- p = shlib_getfunptr1 ();
|
||||
- printf ("shlib_getfunptr1 () ");
|
||||
- if (p == shlib_shlibvar1)
|
||||
- printf ("==");
|
||||
- else
|
||||
- printf ("!=");
|
||||
- printf (" shlib_shlibvar1\n");
|
||||
+ {
|
||||
+ int (*p) ();
|
||||
+
|
||||
+ p = shlib_getfunptr1 ();
|
||||
+ printf ("shlib_getfunptr1 () ");
|
||||
+ if (p == shlib_shlibvar1)
|
||||
+ printf ("==");
|
||||
+ else
|
||||
+ printf ("!=");
|
||||
+ printf (" shlib_shlibvar1\n");
|
||||
+ }
|
||||
#ifndef XCOFF_TEST
|
||||
- p = shlib_getfunptr2 ();
|
||||
- printf ("shlib_getfunptr2 () ");
|
||||
- if (p == main_called)
|
||||
- printf ("==");
|
||||
- else
|
||||
- printf ("!=");
|
||||
- printf (" main_called\n");
|
||||
+ {
|
||||
+ int (*p) ();
|
||||
+
|
||||
+ p = shlib_getfunptr2 ();
|
||||
+ printf ("shlib_getfunptr2 () ");
|
||||
+ if (p == main_called)
|
||||
+ printf ("==");
|
||||
+ else
|
||||
+ printf ("!=");
|
||||
+ printf (" main_called\n");
|
||||
+ }
|
||||
#endif
|
||||
#endif
|
||||
printf ("shlib_check () == %d\n", shlib_check ());
|
||||
|
||||
|
||||
|
||||
http://sourceware.org/ml/binutils-cvs/2008-09/msg00089.html
|
||||
http://sourceware.org/ml/binutils/2008-09/msg00124.html
|
||||
|
||||
bfd/
|
||||
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
PR 6893 - Do not consider FDEs for discarded sections as invalid.
|
||||
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): New REQUIRE_CLEARED_RELOCS.
|
||||
Consider FDEs with cleared relocations as valid and ignorable.
|
||||
|
||||
binutils/
|
||||
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Suppress warnings on NONE relocations to discarded sections.
|
||||
* readelf.c (is_none_reloc): New function.
|
||||
(debug_apply_relocations): Ignore is_none_reloc() relocations.
|
||||
|
||||
testsuite/
|
||||
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test.
|
||||
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/bfd/elf-eh-frame.c,v
|
||||
retrieving revision 1.72
|
||||
retrieving revision 1.73
|
||||
diff -u -r1.72 -r1.73
|
||||
--- bfd/elf-eh-frame.c 2008/08/24 21:43:00 1.72
|
||||
+++ bfd/elf-eh-frame.c 2008/09/17 07:50:28 1.73
|
||||
@@ -549,6 +549,16 @@
|
||||
< (bfd_size_type) ((buf) - ehbuf))) \
|
||||
cookie->rel++
|
||||
|
||||
+#define REQUIRE_CLEARED_RELOCS(buf) \
|
||||
+ while (cookie->rel < cookie->relend \
|
||||
+ && (cookie->rel->r_offset \
|
||||
+ < (bfd_size_type) ((buf) - ehbuf))) \
|
||||
+ { \
|
||||
+ REQUIRE (cookie->rel->r_info == 0); \
|
||||
+ REQUIRE (cookie->rel->r_addend == 0); \
|
||||
+ cookie->rel++; \
|
||||
+ }
|
||||
+
|
||||
#define GET_RELOC(buf) \
|
||||
((cookie->rel < cookie->relend \
|
||||
&& (cookie->rel->r_offset \
|
||||
@@ -766,9 +776,14 @@
|
||||
|
||||
/* Chain together the FDEs for each section. */
|
||||
rsec = _bfd_elf_gc_mark_rsec (info, sec, gc_mark_hook, cookie);
|
||||
- REQUIRE (rsec && rsec->owner == abfd);
|
||||
- this_inf->u.fde.next_for_section = elf_fde_list (rsec);
|
||||
- elf_fde_list (rsec) = this_inf;
|
||||
+ /* RSEC will be NULL if FDE was cleared out as it was belonging to
|
||||
+ a discarded SHT_GROUP. */
|
||||
+ if (rsec)
|
||||
+ {
|
||||
+ REQUIRE (rsec->owner == abfd);
|
||||
+ this_inf->u.fde.next_for_section = elf_fde_list (rsec);
|
||||
+ elf_fde_list (rsec) = this_inf;
|
||||
+ }
|
||||
|
||||
/* Skip the initial location and address range. */
|
||||
start = buf;
|
||||
@@ -801,7 +816,17 @@
|
||||
insns = buf;
|
||||
|
||||
buf = last_fde + 4 + hdr_length;
|
||||
- SKIP_RELOCS (buf);
|
||||
+
|
||||
+ /* Cleared FDE? The instructions will not be cleared but verify all
|
||||
+ the relocation entries for them are cleared. */
|
||||
+ if (rsec == NULL)
|
||||
+ {
|
||||
+ REQUIRE_CLEARED_RELOCS (buf);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ SKIP_RELOCS (buf);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Try to interpret the CFA instructions and find the first
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/binutils/readelf.c,v
|
||||
retrieving revision 1.425
|
||||
retrieving revision 1.426
|
||||
diff -u -r1.425 -r1.426
|
||||
--- binutils/readelf.c 2008/09/05 14:49:05 1.425
|
||||
+++ binutils/readelf.c 2008/09/17 07:50:28 1.426
|
||||
@@ -8284,6 +8284,53 @@
|
||||
}
|
||||
}
|
||||
|
||||
+/* Returns TRUE iff RELOC_TYPE is a NONE relocation used for discarded
|
||||
+ relocation entries (possibly formerly used for SHT_GROUP sections). */
|
||||
+
|
||||
+static bfd_boolean
|
||||
+is_none_reloc (unsigned int reloc_type)
|
||||
+{
|
||||
+ switch (elf_header.e_machine)
|
||||
+ {
|
||||
+ case EM_68K:
|
||||
+ return reloc_type == 0; /* R_68K_NONE. */
|
||||
+ case EM_386:
|
||||
+ return reloc_type == 0; /* R_386_NONE. */
|
||||
+ case EM_SPARC32PLUS:
|
||||
+ case EM_SPARCV9:
|
||||
+ case EM_SPARC:
|
||||
+ return reloc_type == 0; /* R_SPARC_NONE. */
|
||||
+ case EM_MIPS:
|
||||
+ return reloc_type == 0; /* R_MIPS_NONE. */
|
||||
+ case EM_PARISC:
|
||||
+ return reloc_type == 0; /* R_PARISC_NONE. */
|
||||
+ case EM_ALPHA:
|
||||
+ return reloc_type == 0; /* R_ALPHA_NONE. */
|
||||
+ case EM_PPC:
|
||||
+ return reloc_type == 0; /* R_PPC_NONE. */
|
||||
+ case EM_PPC64:
|
||||
+ return reloc_type == 0; /* R_PPC64_NONE. */
|
||||
+ case EM_ARM:
|
||||
+ return reloc_type == 0; /* R_ARM_NONE. */
|
||||
+ case EM_IA_64:
|
||||
+ return reloc_type == 0; /* R_IA64_NONE. */
|
||||
+ case EM_SH:
|
||||
+ return reloc_type == 0; /* R_SH_NONE. */
|
||||
+ case EM_S390_OLD:
|
||||
+ case EM_S390:
|
||||
+ return reloc_type == 0; /* R_390_NONE. */
|
||||
+ case EM_CRIS:
|
||||
+ return reloc_type == 0; /* R_CRIS_NONE. */
|
||||
+ case EM_X86_64:
|
||||
+ return reloc_type == 0; /* R_X86_64_NONE. */
|
||||
+ case EM_MN10300:
|
||||
+ return reloc_type == 0; /* R_MN10300_NONE. */
|
||||
+ case EM_M32R:
|
||||
+ return reloc_type == 0; /* R_M32R_NONE. */
|
||||
+ }
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
/* Uncompresses a section that was compressed using zlib, in place.
|
||||
* This is a copy of bfd_uncompress_section_contents, in bfd/compress.c */
|
||||
|
||||
@@ -8419,6 +8466,9 @@
|
||||
|
||||
reloc_type = get_reloc_type (rp->r_info);
|
||||
|
||||
+ if (is_none_reloc (reloc_type))
|
||||
+ continue;
|
||||
+
|
||||
if (is_32bit_abs_reloc (reloc_type)
|
||||
|| is_32bit_pcrel_reloc (reloc_type))
|
||||
reloc_size = 4;
|
||||
/cvs/src/src/ld/testsuite/ld-elf/eh-group.exp,v --> standard output
|
||||
revision 1.1
|
||||
--- ld/testsuite/ld-elf/eh-group.exp
|
||||
+++ ld/testsuite/ld-elf/eh-group.exp 2008-09-21 22:56:18.321559000 +0000
|
||||
@@ -0,0 +1,51 @@
|
||||
+# Expect script for .eh_frame entries to a removed section.
|
||||
+# Copyright 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is part of the GNU Binutils.
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 3 of the License, or
|
||||
+# (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful,
|
||||
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+# GNU General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License
|
||||
+# along with this program; if not, write to the Free Software
|
||||
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
||||
+# MA 02110-1301, USA.
|
||||
+#
|
||||
+
|
||||
+#
|
||||
+# Written by Jan Kratochvil (jan.kratochvil@redhat.com)
|
||||
+#
|
||||
+# .eh_frame with relocations to a removed (group) section did result to:
|
||||
+# error in tmpdir/eh-group.o(.eh_frame); no .eh_frame_hdr table will be created.
|
||||
+# The purpose of this test is to merge two .o files with -r and then link this
|
||||
+# merged file (containing a discarded R_X86_64_NONE relocation) to the final
|
||||
+# executable trying to create .eh_frame_hdr. It needs a separate .exp file due
|
||||
+# to the requirement of two `ld' runs.
|
||||
+
|
||||
+# Exclude non-ELF targets.
|
||||
+
|
||||
+if ![is_elf_format] {
|
||||
+ return
|
||||
+}
|
||||
+
|
||||
+set build_tests_ld {
|
||||
+ {"Build eh-group1.o"
|
||||
+ "-r" ""
|
||||
+ {eh-group1.s eh-group2.s} {} "eh-group.o"}
|
||||
+}
|
||||
+
|
||||
+run_ld_link_tests $build_tests_ld
|
||||
+
|
||||
+set testname "Link eh-group.o to eh-group"
|
||||
+if [ld_simple_link $ld "tmpdir/eh-group" "-e _start tmpdir/eh-group.o"] {
|
||||
+ pass $testname
|
||||
+} else {
|
||||
+ fail $testname
|
||||
+}
|
||||
/cvs/src/src/ld/testsuite/ld-elf/eh-group1.s,v --> standard output
|
||||
revision 1.1
|
||||
--- ld/testsuite/ld-elf/eh-group1.s
|
||||
+++ ld/testsuite/ld-elf/eh-group1.s 2008-09-21 22:56:19.003793000 +0000
|
||||
@@ -0,0 +1,6 @@
|
||||
+ .section sect, "axG", @progbits, sectgroup, comdat
|
||||
+ .global _start
|
||||
+_start:
|
||||
+ .cfi_startproc
|
||||
+ .skip 16
|
||||
+ .cfi_endproc
|
||||
/cvs/src/src/ld/testsuite/ld-elf/eh-group2.s,v --> standard output
|
||||
revision 1.1
|
||||
--- ld/testsuite/ld-elf/eh-group2.s
|
||||
+++ ld/testsuite/ld-elf/eh-group2.s 2008-09-21 22:56:19.663297000 +0000
|
||||
@@ -0,0 +1,4 @@
|
||||
+ .section sect, "axG", @progbits, sectgroup, comdat
|
||||
+ .cfi_startproc
|
||||
+ .skip 16
|
||||
+ .cfi_endproc
|
||||
|
||||
http://sourceware.org/ml/binutils-cvs/2008-09/msg00107.html
|
||||
http://sourceware.org/ml/binutils/2008-09/msg00145.html
|
||||
|
||||
testsuite/
|
||||
2008-09-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Provide virtual target "cfi" for targets supporting CFI.
|
||||
* ld-elf/eh-frame-hdr.d: Replace target and xfail statements by single
|
||||
`target: cfi'.
|
||||
* ld-elf/eh-group.exp: Call check_as_cfi instead of is_elf_format.
|
||||
* ld-elf/eh-group1.s, elf/eh-group2.s: Use more compatible section
|
||||
flags prefix '%'.
|
||||
* ld-elf/eh5.d: Replace target statement by `target: cfi' with an Alpha
|
||||
exception. Relax the `Code alignment factor' matching.
|
||||
* lib/ld-lib.exp: Rename istarget as istarget_ld.
|
||||
(istarget, check_as_cfi): New procedure.
|
||||
(run_dump_test): New comment for the virtual target `cfi'.
|
||||
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh-frame-hdr.d,v
|
||||
retrieving revision 1.1
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.1 -r1.2
|
||||
--- ld/testsuite/ld-elf/eh-frame-hdr.d 2006/12/04 08:57:09 1.1
|
||||
+++ ld/testsuite/ld-elf/eh-frame-hdr.d 2008/09/20 08:42:53 1.2
|
||||
@@ -1,17 +1,7 @@
|
||||
#source: eh-frame-hdr.s
|
||||
#ld: -e _start --eh-frame-hdr
|
||||
#objdump: -hw
|
||||
-#target: alpha*-*-*
|
||||
-#target: arm*-*-*
|
||||
-#target: i?86-*-*
|
||||
-#target: m68k-*-*
|
||||
-#target: mips*-*-*
|
||||
-#target: powerpc*-*-*
|
||||
-#target: s390*-*-*
|
||||
-#target: sh*-*-*
|
||||
-#xfail: sh*l*-*-*
|
||||
-#target: sparc*-*-*
|
||||
-#target: x86_64-*-*
|
||||
+#target: cfi
|
||||
#...
|
||||
[0-9] .eh_frame_hdr 0*[12][048c] .*
|
||||
#pass
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh-group.exp,v
|
||||
retrieving revision 1.1
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.1 -r1.2
|
||||
--- ld/testsuite/ld-elf/eh-group.exp 2008/09/17 07:50:29 1.1
|
||||
+++ ld/testsuite/ld-elf/eh-group.exp 2008/09/20 08:42:53 1.2
|
||||
@@ -29,9 +29,9 @@
|
||||
# executable trying to create .eh_frame_hdr. It needs a separate .exp file due
|
||||
# to the requirement of two `ld' runs.
|
||||
|
||||
-# Exclude non-ELF targets.
|
||||
+# Exclude non-CFI (such as ia64) targets.
|
||||
|
||||
-if ![is_elf_format] {
|
||||
+if {![check_as_cfi]} {
|
||||
return
|
||||
}
|
||||
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh-group1.s,v
|
||||
retrieving revision 1.1
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.1 -r1.2
|
||||
--- ld/testsuite/ld-elf/eh-group1.s 2008/09/17 07:50:29 1.1
|
||||
+++ ld/testsuite/ld-elf/eh-group1.s 2008/09/20 08:42:53 1.2
|
||||
@@ -1,4 +1,4 @@
|
||||
- .section sect, "axG", @progbits, sectgroup, comdat
|
||||
+ .section sect, "axG", %progbits, sectgroup, comdat
|
||||
.global _start
|
||||
_start:
|
||||
.cfi_startproc
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh-group2.s,v
|
||||
retrieving revision 1.1
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.1 -r1.2
|
||||
--- ld/testsuite/ld-elf/eh-group2.s 2008/09/17 07:50:29 1.1
|
||||
+++ ld/testsuite/ld-elf/eh-group2.s 2008/09/20 08:42:53 1.2
|
||||
@@ -1,4 +1,4 @@
|
||||
- .section sect, "axG", @progbits, sectgroup, comdat
|
||||
+ .section sect, "axG", %progbits, sectgroup, comdat
|
||||
.cfi_startproc
|
||||
.skip 16
|
||||
.cfi_endproc
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh5.d,v
|
||||
retrieving revision 1.2
|
||||
retrieving revision 1.3
|
||||
diff -u -r1.2 -r1.3
|
||||
--- ld/testsuite/ld-elf/eh5.d 2008/01/28 15:15:32 1.2
|
||||
+++ ld/testsuite/ld-elf/eh5.d 2008/09/20 08:42:53 1.3
|
||||
@@ -3,14 +3,15 @@
|
||||
#source: eh5b.s
|
||||
#ld:
|
||||
#readelf: -wf
|
||||
-#target: x86_64-*-* i?86-*-*
|
||||
+#target: cfi
|
||||
+#notarget: alpha*
|
||||
|
||||
The section .eh_frame contains:
|
||||
|
||||
00000000 0000001[04] 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 1b
|
||||
@@ -29,7 +30,7 @@
|
||||
000000(2c|30) 00000014 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zPR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 03 .. .. .. .. 1b
|
||||
@@ -53,7 +54,7 @@
|
||||
0000007[48] 0000001[8c] 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zPLR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 03 .. .. .. .. 0c 1b
|
||||
@@ -74,7 +75,7 @@
|
||||
000000b[08] 0000001[04] 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 1b
|
||||
@@ -89,7 +90,7 @@
|
||||
000000[de]8 00000014 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zPR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 03 .. .. .. .. 1b
|
||||
@@ -111,7 +112,7 @@
|
||||
000001(1c|30) 0000001[8c] 00000000 CIE
|
||||
Version: 1
|
||||
Augmentation: "zPLR"
|
||||
- Code alignment factor: 1
|
||||
+ Code alignment factor: .*
|
||||
Data alignment factor: .*
|
||||
Return address column: .*
|
||||
Augmentation data: 03 .. .. .. .. 0c 1b
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/testsuite/lib/ld-lib.exp,v
|
||||
retrieving revision 1.54
|
||||
retrieving revision 1.55
|
||||
diff -u -r1.54 -r1.55
|
||||
--- ld/testsuite/lib/ld-lib.exp 2008/02/18 11:04:09 1.54
|
||||
+++ ld/testsuite/lib/ld-lib.exp 2008/09/20 08:42:53 1.55
|
||||
@@ -598,7 +598,8 @@
|
||||
#
|
||||
# target: TARGET
|
||||
# Only run the test for TARGET. This may occur more than once; the
|
||||
-# target being tested must match at least one.
|
||||
+# target being tested must match at least one. You may provide target
|
||||
+# name "cfi" for any target supporting the CFI statements.
|
||||
#
|
||||
# notarget: TARGET
|
||||
# Do not run the test for TARGET. This may occur more than once;
|
||||
@@ -1569,3 +1570,39 @@
|
||||
}
|
||||
return $gc_sections_available_saved
|
||||
}
|
||||
+
|
||||
+# Check if the assembler supports CFI statements.
|
||||
+
|
||||
+proc check_as_cfi { } {
|
||||
+ global check_as_cfi_result
|
||||
+ global as
|
||||
+ if [info exists check_as_cfi_result] {
|
||||
+ return $check_as_cfi_result
|
||||
+ }
|
||||
+ set as_file "tmpdir/check_as_cfi.s"
|
||||
+ set as_fh [open $as_file w 0666]
|
||||
+ puts $as_fh "# Generated file. DO NOT EDIT"
|
||||
+ puts $as_fh "\t.cfi_startproc"
|
||||
+ puts $as_fh "\t.cfi_endproc"
|
||||
+ close $as_fh
|
||||
+ remote_download host $as_file
|
||||
+ verbose -log "Checking CFI support:"
|
||||
+ rename "perror" "check_as_cfi_perror"
|
||||
+ proc perror { args } { }
|
||||
+ set success [ld_assemble $as $as_file "/dev/null"]
|
||||
+ rename "perror" ""
|
||||
+ rename "check_as_cfi_perror" "perror"
|
||||
+ #remote_file host delete $as_file
|
||||
+ set check_as_cfi_result $success
|
||||
+ return $success
|
||||
+}
|
||||
+
|
||||
+# Provide virtual target "cfi" for targets supporting CFI.
|
||||
+
|
||||
+rename "istarget" "istarget_ld"
|
||||
+proc istarget { target } {
|
||||
+ if {$target == "cfi"} {
|
||||
+ return [check_as_cfi]
|
||||
+ }
|
||||
+ return [istarget_ld $target]
|
||||
+}
|
21
binutils-2.19.50.0.1-ia64-lib64.patch
Normal file
21
binutils-2.19.50.0.1-ia64-lib64.patch
Normal file
@ -0,0 +1,21 @@
|
||||
2004-05-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* emulparams/elf64_ia64.sh (LIBPATH_SUFFIX): Use */lib64 paths on
|
||||
ia64-linux if /lib64 tree is present.
|
||||
|
||||
--- ../binutils-2.19.50.0.1.orig/ld/emulparams/elf64_ia64.sh 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ld/emulparams/elf64_ia64.sh 2008-11-21 16:55:46.000000000 +0000
|
||||
@@ -38,3 +38,13 @@ OTHER_READONLY_SECTIONS="${OTHER_READONL
|
||||
SMALL_DATA_CTOR=" "
|
||||
SMALL_DATA_DTOR=" "
|
||||
SHARABLE_SECTIONS=yes
|
||||
+
|
||||
+# For Linux modify the default library search path
|
||||
+# to first include a 64-bit specific directory.
|
||||
+case "$target" in
|
||||
+ ia64*-linux*)
|
||||
+ case "$EMULATION_NAME" in
|
||||
+ *64*) test -d /lib64 && LIBPATH_SUFFIX=64 ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+esac
|
@ -1,6 +1,46 @@
|
||||
--- binutils/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ binutils/configure 2007-06-27 13:55:07.000000000 -0400
|
||||
@@ -8990,10 +8990,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/bfd/configure ./bfd/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/bfd/configure 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ ./bfd/configure 2008-11-21 16:49:02.000000000 +0000
|
||||
@@ -10487,10 +10487,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/binutils/configure ./binutils/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/binutils/configure 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ./binutils/configure 2008-11-21 16:49:40.000000000 +0000
|
||||
@@ -10318,10 +10318,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
@ -30,15 +70,16 @@
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- opcodes/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ opcodes/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8420,10 +8420,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/gas/configure ./gas/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/gas/configure 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ ./gas/configure 2008-11-21 16:50:18.000000000 +0000
|
||||
@@ -10316,10 +10316,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
@ -68,15 +109,16 @@
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gprof/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ gprof/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8250,10 +8250,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/gprof/configure ./gprof/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/gprof/configure 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ./gprof/configure 2008-11-21 16:50:42.000000000 +0000
|
||||
@@ -10407,10 +10407,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
@ -106,15 +148,16 @@
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- ld/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ ld/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8253,10 +8253,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/ld/configure ./ld/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/ld/configure 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ./ld/configure 2008-11-21 16:51:10.000000000 +0000
|
||||
@@ -10607,10 +10607,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
@ -144,91 +187,16 @@
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gas/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ gas/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8252,10 +8252,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- bfd/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ bfd/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -9156,10 +9156,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- libtool.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ libtool.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -2337,10 +2337,30 @@ linux* | k*bsd*-gnu)
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/libtool.m4 ./libtool.m4
|
||||
--- ../binutils-2.19.50.0.1.orig/libtool.m4 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ./libtool.m4 2008-11-21 16:51:35.000000000 +0000
|
||||
@@ -2470,10 +2470,30 @@ linux* | k*bsd*-gnu)
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
@ -254,7 +222,46 @@
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
diff -rup ../binutils-2.19.50.0.1.orig/opcodes/configure ./opcodes/configure
|
||||
--- ../binutils-2.19.50.0.1.orig/opcodes/configure 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ./opcodes/configure 2008-11-21 16:52:05.000000000 +0000
|
||||
@@ -10118,10 +10118,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
@ -10,9 +10,9 @@ http://sourceware.org/ml/binutils/2008-10/msg00235.html
|
||||
* ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
|
||||
ld-elf/linkoncerdiff2.s: New.
|
||||
|
||||
--- bfd/elflink.c 2008-10-22 21:08:20.000000000 +0200
|
||||
+++ bfd/elflink.c 2008-10-29 18:18:43.000000000 +0100
|
||||
@@ -7649,7 +7649,23 @@ elf_link_input_bfd (struct elf_final_lin
|
||||
--- ../binutils-2.19.50.0.1.orig/bfd/elflink.c 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ bfd/elflink.c 2008-11-21 17:08:32.000000000 +0000
|
||||
@@ -9361,7 +9361,23 @@ elf_link_input_bfd (struct elf_final_lin
|
||||
if ((sec = *ps) != NULL && elf_discarded_section (sec))
|
||||
{
|
||||
BFD_ASSERT (r_symndx != 0);
|
||||
@ -37,16 +37,16 @@ http://sourceware.org/ml/binutils/2008-10/msg00235.html
|
||||
(*finfo->info->callbacks->einfo)
|
||||
(_("%X`%s' referenced in section `%A' of %B: "
|
||||
"defined in discarded section `%A' of %B\n"),
|
||||
--- ld/testsuite/ld-elf/linkoncerdiff.d 2008-10-22 21:16:04.000000000 +0200
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff.d 2008-10-29 18:17:07.000000000 +0100
|
||||
--- /dev/null 2008-11-21 14:50:50.404125628 +0000
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff.d 2008-11-21 16:12:11.000000000 +0000
|
||||
@@ -0,0 +1,5 @@
|
||||
+#source: linkoncerdiff1.s
|
||||
+#source: linkoncerdiff2.s
|
||||
+#notarget: arc* d30v* dlx* openrisc* or32* pj*
|
||||
+#ld: -r
|
||||
+#error: `.gnu.linkonce.t.bar' referenced in section `.gnu.linkonce.r.foo' of tmpdir/dump1.o: defined in discarded section `.gnu.linkonce.t.bar' of tmpdir/dump1.o
|
||||
--- ld/testsuite/ld-elf/linkoncerdiff1.s 2008-10-22 21:16:04.000000000 +0200
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff1.s 2008-10-29 18:17:07.000000000 +0100
|
||||
--- /dev/null 2008-11-21 14:50:50.404125628 +0000
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff1.s 2008-11-21 16:12:11.000000000 +0000
|
||||
@@ -0,0 +1,7 @@
|
||||
+ .section .gnu.linkonce.t.foo, "a", %progbits
|
||||
+ .globl symfoo
|
||||
@ -55,8 +55,8 @@ http://sourceware.org/ml/binutils/2008-10/msg00235.html
|
||||
+ .section .gnu.linkonce.t.bar, "a", %progbits
|
||||
+ .globl symbar
|
||||
+symbar:
|
||||
--- ld/testsuite/ld-elf/linkoncerdiff2.s 2008-10-22 21:16:04.000000000 +0200
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff2.s 2008-10-29 18:17:07.000000000 +0100
|
||||
--- /dev/null 2008-11-21 14:50:50.404125628 +0000
|
||||
+++ ld/testsuite/ld-elf/linkoncerdiff2.s 2008-11-21 16:12:11.000000000 +0000
|
||||
@@ -0,0 +1,17 @@
|
||||
+ .section .gnu.linkonce.t.foo, "a", %progbits
|
||||
+1:
|
@ -1,6 +1,6 @@
|
||||
--- bfd/elf64-ppc.c.jj 2004-09-27 16:46:06.000000000 -0400
|
||||
+++ bfd/elf64-ppc.c 2004-10-04 09:09:50.000000000 -0400
|
||||
@@ -9681,7 +9681,12 @@ ppc64_elf_relocate_section (bfd *output_
|
||||
--- ../binutils-2.19.50.0.1.orig/bfd/elf64-ppc.c 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ bfd/elf64-ppc.c 2008-11-21 16:53:28.000000000 +0000
|
||||
@@ -11296,7 +11296,12 @@ ppc64_elf_relocate_section (bfd *output_
|
||||
else if (!SYMBOL_REFERENCES_LOCAL (info, &h->elf)
|
||||
&& !is_opd
|
||||
&& r_type != R_PPC64_TOC)
|
||||
@ -9,7 +9,7 @@
|
||||
+ outrel.r_info = ELF64_R_INFO (h->elf.dynindx, r_type);
|
||||
+ if (h->elf.dynindx == -1
|
||||
+ && h->elf.root.type == bfd_link_hash_undefweak)
|
||||
+ memset (&outrel, 0, sizeof outrel);
|
||||
+ memset (&outrel, 0, sizeof outrel);
|
||||
+ }
|
||||
else
|
||||
{
|
@ -16,9 +16,9 @@
|
||||
BFD_HOSTPTR_T="unsigned long long"
|
||||
fi
|
||||
fi
|
||||
--- bfd/configure-orig 2008-09-22 01:05:41.000000000 +0200
|
||||
+++ bfd/configure 2008-09-22 01:11:48.000000000 +0200
|
||||
@@ -13190,11 +13190,13 @@ if test "x${ac_cv_sizeof_long}" = "x8";
|
||||
--- ../binutils-2.19.50.0.1.orig/bfd/configure 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ bfd/configure 2008-11-21 17:04:55.000000000 +0000
|
||||
@@ -13844,11 +13868,13 @@ if test "x${ac_cv_sizeof_long}" = "x8";
|
||||
BFD_HOST_64BIT_LONG=1
|
||||
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
|
||||
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
|
@ -1,15 +1,16 @@
|
||||
It reverts the H.J. Lu's binutils custom patch.
|
||||
|
||||
--- ld/NEWS 2008-07-10 17:33:23.000000000 +0200
|
||||
+++ ld/NEWS 2008-07-30 21:24:25.000000000 +0200
|
||||
@@ -1,7 +1,4 @@
|
||||
--- ../binutils-2.19.50.0.1.orig/ld/NEWS 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ld/NEWS 2008-11-21 17:03:12.000000000 +0000
|
||||
@@ -1,8 +1,5 @@
|
||||
-*- text -*-
|
||||
|
||||
-* ELF: Support environment variables, LD_SYMBOLIC for -Bsymbolic and
|
||||
- LD_SYMBOLIC_FUNCTIONS for -Bsymbolic-functions.
|
||||
-
|
||||
* Linker script input section filespecs may now specify a file within an
|
||||
archive by writing "archive:file".
|
||||
Changes in 2.19:
|
||||
|
||||
* Linker scripts support a new INSERT command that makes it easier to
|
||||
--- ld/ld.texinfo 2008-07-10 17:33:23.000000000 +0200
|
||||
+++ ld/ld.texinfo 2008-07-30 21:24:05.000000000 +0200
|
||||
@@ -1147,21 +1147,14 @@ When creating a shared library, bind ref
|
||||
@ -36,9 +37,9 @@ It reverts the H.J. Lu's binutils custom patch.
|
||||
|
||||
@kindex --dynamic-list=@var{dynamic-list-file}
|
||||
@item --dynamic-list=@var{dynamic-list-file}
|
||||
--- ld/ldmain.c 2008-07-10 17:33:23.000000000 +0200
|
||||
+++ ld/ldmain.c 2008-07-30 21:24:05.000000000 +0200
|
||||
@@ -258,11 +258,6 @@ main (int argc, char **argv)
|
||||
--- ../binutils-2.19.50.0.1.orig/ld/ldmain.c 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ld/ldmain.c 2008-11-21 17:02:48.000000000 +0000
|
||||
@@ -256,11 +256,6 @@ main (int argc, char **argv)
|
||||
command_line.warn_search_mismatch = TRUE;
|
||||
command_line.check_section_addresses = TRUE;
|
||||
|
107
binutils-2.19.50.0.1-upstream-ld-tests.patch
Normal file
107
binutils-2.19.50.0.1-upstream-ld-tests.patch
Normal file
@ -0,0 +1,107 @@
|
||||
http://sourceware.org/ml/binutils-cvs/2008-09/msg00088.html
|
||||
http://sourceware.org/ml/binutils/2008-09/msg00125.html
|
||||
|
||||
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test.
|
||||
|
||||
http://sourceware.org/ml/binutils-cvs/2008-09/msg00107.html
|
||||
http://sourceware.org/ml/binutils/2008-09/msg00145.html
|
||||
|
||||
testsuite/
|
||||
2008-09-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Provide virtual target "cfi" for targets supporting CFI.
|
||||
* ld-elf/eh-frame-hdr.d: Replace target and xfail statements by single
|
||||
`target: cfi'.
|
||||
* ld-elf/eh-group.exp: Call check_as_cfi instead of is_elf_format.
|
||||
* ld-elf/eh-group1.s, elf/eh-group2.s: Use more compatible section
|
||||
flags prefix '%'.
|
||||
* ld-elf/eh5.d: Replace target statement by `target: cfi' with an Alpha
|
||||
exception. Relax the `Code alignment factor' matching.
|
||||
* lib/ld-lib.exp: Rename istarget as istarget_ld.
|
||||
(istarget, check_as_cfi): New procedure.
|
||||
(run_dump_test): New comment for the virtual target `cfi'.
|
||||
|
||||
diff -rup ../binutils-2.19.1/ld/testsuite/ld-elf/eh-group1.s ld/testsuite/ld-elf/eh-group1.s
|
||||
--- ../binutils-2.19.1/ld/testsuite/ld-elf/eh-group1.s 2008-11-21 14:57:18.000000000 +0000
|
||||
+++ ld/testsuite/ld-elf/eh-group1.s 2008-11-21 16:24:07.000000000 +0000
|
||||
@@ -4,3 +4,9 @@ _start:
|
||||
.cfi_startproc
|
||||
.skip 16
|
||||
.cfi_endproc
|
||||
+ .section sect, "axG", %progbits, sectgroup, comdat
|
||||
+ .global _start
|
||||
+_start:
|
||||
+ .cfi_startproc
|
||||
+ .skip 16
|
||||
+ .cfi_endproc
|
||||
diff -rup ../binutils-2.19.1/ld/testsuite/ld-elf/eh-group2.s ld/testsuite/ld-elf/eh-group2.s
|
||||
--- ../binutils-2.19.1/ld/testsuite/ld-elf/eh-group2.s 2008-11-21 14:57:18.000000000 +0000
|
||||
+++ ld/testsuite/ld-elf/eh-group2.s 2008-11-21 16:24:07.000000000 +0000
|
||||
@@ -2,3 +2,7 @@
|
||||
.cfi_startproc
|
||||
.skip 16
|
||||
.cfi_endproc
|
||||
+ .section sect, "axG", %progbits, sectgroup, comdat
|
||||
+ .cfi_startproc
|
||||
+ .skip 16
|
||||
+ .cfi_endproc
|
||||
diff -rup ../binutils-2.19.1/ld/testsuite/ld-elf/eh-group.exp ld/testsuite/ld-elf/eh-group.exp
|
||||
--- ../binutils-2.19.50.0.1.orig/ld/testsuite/ld-elf/eh-group.exp 2008-11-21 16:45:00.000000000 +0000
|
||||
+++ ld/testsuite/ld-elf/eh-group.exp 2008-11-21 17:06:16.000000000 +0000
|
||||
@@ -54,3 +54,54 @@ if [ld_simple_link $ld "tmpdir/eh-group"
|
||||
} else {
|
||||
fail $testname
|
||||
}
|
||||
+# Expect script for .eh_frame entries to a removed section.
|
||||
+# Copyright 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is part of the GNU Binutils.
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 3 of the License, or
|
||||
+# (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful,
|
||||
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+# GNU General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License
|
||||
+# along with this program; if not, write to the Free Software
|
||||
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
||||
+# MA 02110-1301, USA.
|
||||
+#
|
||||
+
|
||||
+#
|
||||
+# Written by Jan Kratochvil (jan.kratochvil@redhat.com)
|
||||
+#
|
||||
+# .eh_frame with relocations to a removed (group) section did result to:
|
||||
+# error in tmpdir/eh-group.o(.eh_frame); no .eh_frame_hdr table will be created.
|
||||
+# The purpose of this test is to merge two .o files with -r and then link this
|
||||
+# merged file (containing a discarded R_X86_64_NONE relocation) to the final
|
||||
+# executable trying to create .eh_frame_hdr. It needs a separate .exp file due
|
||||
+# to the requirement of two `ld' runs.
|
||||
+
|
||||
+# Exclude non-CFI (such as ia64) targets.
|
||||
+
|
||||
+if {![check_as_cfi]} {
|
||||
+ return
|
||||
+}
|
||||
+
|
||||
+set build_tests_ld {
|
||||
+ {"Build eh-group1.o"
|
||||
+ "-r" ""
|
||||
+ {eh-group1.s eh-group2.s} {} "eh-group.o"}
|
||||
+}
|
||||
+
|
||||
+run_ld_link_tests $build_tests_ld
|
||||
+
|
||||
+set testname "Link eh-group.o to eh-group"
|
||||
+if [ld_simple_link $ld "tmpdir/eh-group" "-e _start tmpdir/eh-group.o"] {
|
||||
+ pass $testname
|
||||
+} else {
|
||||
+ fail $testname
|
||||
+}
|
@ -1,6 +1,6 @@
|
||||
--- bfd/Makefile.in.jj 2007-05-11 17:23:18.000000000 +0200
|
||||
+++ bfd/Makefile.in 2007-06-12 12:28:10.000000000 +0200
|
||||
@@ -1540,12 +1540,12 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
||||
--- ../binutils-2.19/bfd/Makefile.am 2008-10-16 14:20:34.000000000 +0100
|
||||
+++ bfd/Makefile.am 2008-11-21 15:52:53.000000000 +0000
|
||||
@@ -994,12 +994,12 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
||||
report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
|
||||
if test "x$(RELEASE)" = x ; then \
|
||||
bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\
|
||||
@ -16,9 +16,9 @@
|
||||
-e "s,@report_bugs_to@,$$report_bugs_to," \
|
||||
< $(srcdir)/version.h > $@; \
|
||||
echo "$${bfd_soversion}" > libtool-soversion
|
||||
--- bfd/Makefile.am.jj 2007-05-11 17:23:18.000000000 +0200
|
||||
+++ bfd/Makefile.am 2007-06-12 12:28:10.000000000 +0200
|
||||
@@ -973,12 +973,12 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
||||
--- ../binutils-2.19.50.0.1.orig/bfd/Makefile.in 2008-11-21 16:45:02.000000000 +0000
|
||||
+++ bfd/Makefile.in 2008-11-21 16:57:07.000000000 +0000
|
||||
@@ -1590,12 +1590,12 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/
|
||||
report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
|
||||
if test "x$(RELEASE)" = x ; then \
|
||||
bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\
|
@ -16,23 +16,21 @@
|
||||
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||
Version: 2.18.50.0.9
|
||||
Version: 2.19.50.0.1
|
||||
Release: 7%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Development/Tools
|
||||
URL: http://sources.redhat.com/binutils
|
||||
Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
|
||||
Source2: binutils-2.18.50.0.9-output-format.sed
|
||||
Patch1: binutils-2.18.50.0.6-ltconfig-multilib.patch
|
||||
Patch2: binutils-2.18.50.0.6-ppc64-pie.patch
|
||||
Patch3: binutils-2.18.50.0.8-place-orphan.patch
|
||||
Patch4: binutils-2.18.50.0.6-ia64-lib64.patch
|
||||
Patch6: binutils-2.18.50.0.8-symbolic-envvar-revert.patch
|
||||
Patch7: binutils-2.18.50.0.6-version.patch
|
||||
Patch11: binutils-2.18.50.0.9-largefile.patch
|
||||
Patch12: binutils-2.18.50.0.9-set-long-long.patch
|
||||
Patch13: binutils-2.18.50.0.9-upstream.patch
|
||||
Patch14: binutils-2.18.50.0.9-linkonce-r-discard.patch
|
||||
Source2: binutils-2.19.50.0.1-output-format.sed
|
||||
Patch01: binutils-2.19.50.0.1-libtool-lib64.patch
|
||||
Patch02: binutils-2.19.50.0.1-ppc64-pie.patch
|
||||
Patch03: binutils-2.19.50.0.1-ia64-lib64.patch
|
||||
Patch04: binutils-2.19.50.0.1-symbolic-envvar-revert.patch
|
||||
Patch05: binutils-2.19.50.0.1-version.patch
|
||||
Patch06: binutils-2.19.50.0.1-set-long-long.patch
|
||||
Patch07: binutils-2.19.50.0.1-upstream-ld-tests.patch
|
||||
Patch08: binutils-2.19.50.0.1-linkonce-r-discard.patch
|
||||
|
||||
%if 0%{?_with_debug:1}
|
||||
# Define this if you want to skip the strip step and preserve debug info.
|
||||
@ -92,20 +90,18 @@ to consider using libelf instead of BFD.
|
||||
|
||||
%prep
|
||||
%setup -q -n binutils-%{version}
|
||||
%patch1 -p0 -b .ltconfig-multilib~
|
||||
%patch2 -p0 -b .ppc64-pie~
|
||||
%patch3 -p0 -b .place-orphan~
|
||||
%patch01 -p0 -b .libtool-lib64~
|
||||
%patch02 -p0 -b .ppc64-pie~
|
||||
%ifarch ia64
|
||||
%if "%{_lib}" == "lib64"
|
||||
%patch4 -p0 -b .ia64-lib64~
|
||||
%patch03 -p0 -b .ia64-lib64~
|
||||
%endif
|
||||
%endif
|
||||
%patch6 -p0 -b .symbolic-envvar-revert~
|
||||
%patch7 -p0 -b .version~
|
||||
%patch11 -p0 -b .largefile~
|
||||
%patch12 -p0 -b .set-long-long~
|
||||
%patch13 -p0 -b .upstream~
|
||||
%patch14 -p0 -b .linkonce-r-discard~
|
||||
%patch04 -p0 -b .symbolic-envvar-revert~
|
||||
%patch05 -p0 -b .version~
|
||||
%patch06 -p0 -b .set-long-long~
|
||||
%patch07 -p0 -b .upstream-ld-tests~
|
||||
%patch08 -p0 -b .linkonce-r-discard~
|
||||
|
||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||
|
||||
@ -349,6 +345,10 @@ fi
|
||||
%endif # %{isnative}
|
||||
|
||||
%changelog
|
||||
* Fri Nov 21 2008 Nick Clifton <nickc@redhat.com> 2.19.50.0.1
|
||||
- Rebase sources on 2.19.50.0.1 tarball. Update all patches, trimming
|
||||
those that are no longer needed.
|
||||
|
||||
* Thu Oct 30 2008 Jan Kratochvil <jan.kratochvil@redhat.com> 2.18.50.0.9-7
|
||||
- Fix %%{_prefix}/include/bfd.h on 32-bit hosts due the 64-bit BFD target
|
||||
support from 2.18.50.0.8-2 (BZ 468495).
|
||||
|
Loading…
Reference in New Issue
Block a user