Rebase on 2.22.52.0.2 release. (#816514)
Retire binutils-2.22.52.0.1-weakdef.patch, binutils-2.22.52.0.1-ld-13621.patch, binutils-rh797752.patch, binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch, binutils-2.22.52.0.1-tsx.patch and binutils-2.22.52.0.1-hidden-ifunc.patch. Update binutils-2.22.52.0.1-reloc-on-by-default.patch.
This commit is contained in:
parent
21664c127f
commit
f3ebd325f9
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ binutils-2.20.51.0.10.tar.bz2
|
|||||||
/binutils-2.21.53.0.2.tar.bz2
|
/binutils-2.21.53.0.2.tar.bz2
|
||||||
/binutils-2.22.tar.bz2
|
/binutils-2.22.tar.bz2
|
||||||
/binutils-2.22.52.0.1.tar.bz2
|
/binutils-2.22.52.0.1.tar.bz2
|
||||||
|
/binutils-2.22.52.0.2.tar.bz2
|
||||||
|
@ -1,16 +1,3 @@
|
|||||||
diff -cpr ../binutils-2.22.52.0.1.orig/ld/emultempl/elf32.em ld/emultempl/elf32.em
|
|
||||||
*** ../binutils-2.22.52.0.1.orig/ld/emultempl/elf32.em 2012-03-06 14:00:29.959957689 +0000
|
|
||||||
--- ld/emultempl/elf32.em 2012-03-06 14:09:33.492940503 +0000
|
|
||||||
*************** gld${EMULATION_NAME}_before_parse (void)
|
|
||||||
*** 106,111 ****
|
|
||||||
--- 106,112 ----
|
|
||||||
config.dynamic_link = ${DYNAMIC_LINK-TRUE};
|
|
||||||
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
|
|
||||||
link_info.sharable_sections = `if test "$SHARABLE_SECTIONS" = "yes" ; then echo TRUE ; else echo FALSE ; fi`;
|
|
||||||
+ link_info.relro = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
EOF
|
|
||||||
diff -cpr ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp ld/testsuite/config/default.exp
|
diff -cpr ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp ld/testsuite/config/default.exp
|
||||||
*** ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp 2012-03-06 14:00:31.141957656 +0000
|
*** ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp 2012-03-06 14:00:31.141957656 +0000
|
||||||
--- ld/testsuite/config/default.exp 2012-03-06 14:09:33.492940503 +0000
|
--- ld/testsuite/config/default.exp 2012-03-06 14:09:33.492940503 +0000
|
||||||
@ -91,3 +78,15 @@ diff -cpr ../binutils-2.22.52.0.1.orig/ld/testsuite/ld-bootstrap/bootstrap.exp l
|
|||||||
untested $testname
|
untested $testname
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
*** ../binutils-2.22.52.0.2.orig/ld/emultempl/elf32.em 2012-04-30 16:12:52.642766221 +0100
|
||||||
|
--- ld/emultempl/elf32.em 2012-04-30 16:13:13.869766905 +0100
|
||||||
|
*************** gld${EMULATION_NAME}_before_parse (void)
|
||||||
|
*** 106,111 ****
|
||||||
|
--- 106,112 ----
|
||||||
|
input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
|
||||||
|
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
|
||||||
|
link_info.sharable_sections = `if test "$SHARABLE_SECTIONS" = "yes" ; then echo TRUE ; else echo FALSE ; fi`;
|
||||||
|
+ link_info.relro = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
EOF
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||||
Version: 2.22.52.0.1
|
Version: 2.22.52.0.2
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://sources.redhat.com/binutils
|
URL: http://sources.redhat.com/binutils
|
||||||
@ -34,23 +34,10 @@ Patch04: binutils-2.20.51.0.2-version.patch
|
|||||||
Patch05: binutils-2.20.51.0.2-set-long-long.patch
|
Patch05: binutils-2.20.51.0.2-set-long-long.patch
|
||||||
Patch06: binutils-2.20.51.0.10-copy-osabi.patch
|
Patch06: binutils-2.20.51.0.10-copy-osabi.patch
|
||||||
Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch
|
Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch
|
||||||
# Upstream http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=f5edd1ac0e79c0356c6a1e2beffcadc0c532be98
|
|
||||||
# Fixes RH #788107
|
|
||||||
Patch08: binutils-2.22.52.0.1-weakdef.patch
|
|
||||||
# From upstream, fixes ld/13621 bug 'dangling global hidden symbol in symtab'
|
|
||||||
Patch09: binutils-2.22.52.0.1-ld-13621.patch
|
|
||||||
# From upstream
|
|
||||||
Patch10: binutils-rh797752.patch
|
|
||||||
# Enable -zrelro by default: BZ #621983
|
# Enable -zrelro by default: BZ #621983
|
||||||
Patch11: binutils-2.22.52.0.1-relro-on-by-default.patch
|
Patch08: binutils-2.22.52.0.1-relro-on-by-default.patch
|
||||||
# From upstream
|
# Local patch - export demangle.h with the binutils-devel rpm.
|
||||||
Patch12: binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch
|
Patch09: binutils-2.22.52.0.1-export-demangle.h.patch
|
||||||
# From upstream
|
|
||||||
Patch13: binutils-2.22.52.0.1-tsx.patch
|
|
||||||
# From upstream
|
|
||||||
Patch14: binutils-2.22.52.0.1-hidden-ifunc.patch
|
|
||||||
# Soon to be from upstream
|
|
||||||
Patch15: binutils-2.22.52.0.1-export-demangle.h.patch
|
|
||||||
|
|
||||||
%define gold_arches %ix86 x86_64
|
%define gold_arches %ix86 x86_64
|
||||||
|
|
||||||
@ -148,16 +135,10 @@ using libelf instead of BFD.
|
|||||||
%patch05 -p0 -b .set-long-long~
|
%patch05 -p0 -b .set-long-long~
|
||||||
%patch06 -p0 -b .copy-osabi~
|
%patch06 -p0 -b .copy-osabi~
|
||||||
%patch07 -p0 -b .sec-merge-emit~
|
%patch07 -p0 -b .sec-merge-emit~
|
||||||
%patch08 -p1 -b .weakdef~
|
|
||||||
%patch09 -p1 -b .ld-13621~
|
|
||||||
%patch10 -p1 -b .cxxfilt-docs~
|
|
||||||
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
||||||
%patch11 -p0 -b .relro~
|
%patch08 -p0 -b .relro~
|
||||||
%endif
|
%endif
|
||||||
%patch12 -p0 -b .x86_64-hidden-ifunc~
|
%patch09 -p0 -b .export-demangle-h~
|
||||||
%patch13 -p0 -b .tsx~
|
|
||||||
%patch14 -p0 -b .hidden-ifunc~
|
|
||||||
%patch15 -p0 -b .export-demangle-h~
|
|
||||||
|
|
||||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||||
|
|
||||||
@ -452,6 +433,11 @@ exit 0
|
|||||||
%endif # %{isnative}
|
%endif # %{isnative}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 30 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.2-1
|
||||||
|
- Rebase on 2.22.52.0.2 release. (#816514)
|
||||||
|
- Retire binutils-2.22.52.0.1-weakdef.patch, binutils-2.22.52.0.1-ld-13621.patch, binutils-rh797752.patch, binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch, binutils-2.22.52.0.1-tsx.patch and binutils-2.22.52.0.1-hidden-ifunc.patch.
|
||||||
|
- Update binutils-2.22.52.0.1-reloc-on-by-default.patch.
|
||||||
|
|
||||||
* Fri Apr 27 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.1-12
|
* Fri Apr 27 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.1-12
|
||||||
- Include demangle.h in the devel rpm.
|
- Include demangle.h in the devel rpm.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user