From 573f2d34b39b56b7e1105a0e9b50901722f56318 Mon Sep 17 00:00:00 2001 From: Nicholas Clifton Date: Jul 22 2009 08:34:04 +0000 Subject: Rebase sources on 2.19.51.0.113 tarball. Remove redundant orphan section placement patch. (BZ 512937) --- diff --git a/.cvsignore b/.cvsignore index ee97cc5..21d45e5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -binutils-2.19.51.0.11.tar.bz2 +binutils-2.19.51.0.13.tar.bz2 diff --git a/binutils-2.19.51.0.11-orphan-section-placement.patch b/binutils-2.19.51.0.11-orphan-section-placement.patch deleted file mode 100644 index 2a3a3ed..0000000 --- a/binutils-2.19.51.0.11-orphan-section-placement.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- ../binutils-2.19.51.0.11.orig/ld/ldlang.c 2009-07-14 11:42:46.000000000 +0100 -+++ ld/ldlang.c 2009-07-14 11:55:01.000000000 +0100 -@@ -1615,10 +1615,12 @@ output_prev_sec_find (lang_output_sectio - idea is to skip over anything that might be inside a SECTIONS {} - statement in a script, before we find another output section - statement. Assignments to "dot" before an output section statement -- are assumed to belong to it. An exception to this rule is made for -- the first assignment to dot, otherwise we might put an orphan -- before . = . + SIZEOF_HEADERS or similar assignments that set the -- initial address. */ -+ are assumed to belong to it, except in two cases; The first -+ assignment to dot, and assignments before non-alloc sections. -+ Otherwise we might put an orphan before . = . + SIZEOF_HEADERS or -+ similar assignments that set the initial address, or we might -+ insert non-alloc note sections among assignments setting end of -+ image symbols. */ - - static lang_statement_union_type ** - insert_os_after (lang_output_section_statement_type *after) -@@ -1662,7 +1664,12 @@ insert_os_after (lang_output_section_sta - continue; - case lang_output_section_statement_enum: - if (assign != NULL) -- where = assign; -+ { -+ asection *s = (*where)->output_section_statement.bfd_section; -+ -+ if (s == NULL || (s->flags & SEC_ALLOC) != 0) -+ where = assign; -+ } - break; - case lang_input_statement_enum: - case lang_address_statement_enum: diff --git a/binutils.spec b/binutils.spec index c017983..298f0a2 100644 --- a/binutils.spec +++ b/binutils.spec @@ -16,8 +16,8 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} -Version: 2.19.51.0.11 -Release: 27%{?dist} +Version: 2.19.51.0.13 +Release: 28%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -30,7 +30,6 @@ Patch04: binutils-2.19.51.0.10-envvar-revert.patch Patch05: binutils-2.19.51.0.10-version.patch Patch06: binutils-2.19.51.0.10-set-long-long.patch Patch07: binutils-2.19.51.0.10-build-id.patch -Patch08: binutils-2.19.51.0.11-orphan-section-placement.patch Patch09: binutils-2.19.51.0.11-moxie.patch %if 0%{?_with_debug:1} @@ -103,7 +102,6 @@ to consider using libelf instead of BFD. %patch05 -p0 -b .version~ %patch06 -p0 -b .set-long-long~ %patch07 -p0 -b .build-id~ -%patch08 -p0 -b .orphan-section-placement~ %patch09 -p0 -b .moxie~ # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -355,6 +353,9 @@ fi %endif # %{isnative} %changelog +* Wed Jul 22 2009 Nick Clifton 2.19.51.0.11-28 +- Rebase sources on 2.19.51.0.113 tarball. Remove redundant orphan section placement patch. (BZ 512937) + * Tue Jul 14 2009 Nick Clifton 2.19.51.0.11-27 - Add patch to allow moxie target to build, and hence --enable-targets=all to work. diff --git a/sources b/sources index b78e8c7..023e844 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8cf3dff6dbcef04a28cc9dc67e8442f binutils-2.19.51.0.11.tar.bz2 +2181498b48a9a91a994120ba91784622 binutils-2.19.51.0.13.tar.bz2