Changeset 1b97e2d


Ignore:
Timestamp:
Jan 12, 2007, 1:46:40 PM (14 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
90d6419
Parents:
2a1d207
Message:

Update Binutils Branch Update Patch

Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/introduction/common/changelog.xml

    r2a1d207 r1b97e2d  
    4343          <para>[jim] - Updated to Glibc Branch Update Patch.</para>
    4444        </listitem>
     45        <listitem>
     46          <para>[jim] - Updated to Binutils Branch Update Patch.</para>
     47        </listitem>
    4548      </itemizedlist>
    4649    </listitem>
  • BOOK/patches.ent

    r2a1d207 r1b97e2d  
    99<!ENTITY bash-fixes-patch-size "12 KB">
    1010
    11 <!ENTITY binutils-branch_update-patch "binutils-&binutils-version;-branch_update-1.patch">
    12 <!ENTITY binutils-branch_update-patch-md5 "33800be217124c38fe6b873f40bde107">
     11<!ENTITY binutils-branch_update-patch "binutils-&binutils-version;-branch_update-2.patch">
     12<!ENTITY binutils-branch_update-patch-md5 "cdbd02886c9fe9a28171ed9a277a67d6">
    1313<!ENTITY binutils-branch_update-patch-size "24 KB">
    1414
  • patches/binutils-2.17-branch_update-2.patch

    r2a1d207 r1b97e2d  
    1 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
    2 Date: 2006-12-04
     1Submitted By: Jim Gifford jim at linuxfromscratch dot org>
     2Orginally Submitted By: Robert Connolly <robert at linuxfromscratch dot org>
     3Date: 2007-01-12
    34Initial Package Version: 2.17
    45Upstream Status: From Upstream
     
    1011should be updated periodically.
    1112
    12 diff -Naur binutils-2.17/bfd/bfd-in2.h src/bfd/bfd-in2.h
    13 --- binutils-2.17/bfd/bfd-in2.h 2006-03-25 16:38:42.000000000 -0800
    14 +++ src/bfd/bfd-in2.h   2006-07-18 19:37:04.000000000 -0700
     13diff -Naur binutils-2.17.orig/bfd/bfd-in2.h binutils-2.17/bfd/bfd-in2.h
     14--- binutils-2.17.orig/bfd/bfd-in2.h    2006-03-25 16:38:42.000000000 -0800
     15+++ binutils-2.17/bfd/bfd-in2.h 2006-07-18 19:37:04.000000000 -0700
    1516@@ -643,6 +643,12 @@
    1617   DYN_NO_NEEDED = 8
     
    2627   (bfd *, struct bfd_link_info *, const char *, bfd_boolean,
    2728    bfd_boolean);
    28 diff -Naur binutils-2.17/bfd/bfd-in.h src/bfd/bfd-in.h
    29 --- binutils-2.17/bfd/bfd-in.h  2006-03-16 04:20:15.000000000 -0800
    30 +++ src/bfd/bfd-in.h    2006-07-18 19:37:04.000000000 -0700
     29diff -Naur binutils-2.17.orig/bfd/bfd-in.h binutils-2.17/bfd/bfd-in.h
     30--- binutils-2.17.orig/bfd/bfd-in.h     2006-03-16 04:20:15.000000000 -0800
     31+++ binutils-2.17/bfd/bfd-in.h  2006-07-18 19:37:04.000000000 -0700
    3132@@ -636,6 +636,12 @@
    3233   DYN_NO_NEEDED = 8
     
    4243   (bfd *, struct bfd_link_info *, const char *, bfd_boolean,
    4344    bfd_boolean);
    44 diff -Naur binutils-2.17/bfd/ChangeLog src/bfd/ChangeLog
    45 --- binutils-2.17/bfd/ChangeLog 2006-06-23 11:18:16.000000000 -0700
    46 +++ src/bfd/ChangeLog   2006-08-08 01:19:56.000000000 -0700
    47 @@ -1,3 +1,25 @@
     45diff -Naur binutils-2.17.orig/bfd/ChangeLog binutils-2.17/bfd/ChangeLog
     46--- binutils-2.17.orig/bfd/ChangeLog    2006-06-23 11:18:16.000000000 -0700
     47+++ binutils-2.17/bfd/ChangeLog 2006-12-11 06:52:38.000000000 -0800
     48@@ -1,3 +1,30 @@
     49+2006-12-11  Eric Botcazou  <ebotcazou@adacore.com>
     50+
     51+       * elflink.c (bfd_elf_gc_sections): Also search for corresponding
     52+       sections with .gnu.linkonce.t. prefix.
     53+
    4854+2006-08-08  Nick Clifton  <nickc@redhat.com>
    4955+
     
    7177 
    7278        * configure.in: Update version to 2.17.
    73 diff -Naur binutils-2.17/bfd/coffcode.h src/bfd/coffcode.h
    74 --- binutils-2.17/bfd/coffcode.h        2005-10-25 10:40:09.000000000 -0700
    75 +++ src/bfd/coffcode.h  2006-08-08 01:19:57.000000000 -0700
     79diff -Naur binutils-2.17.orig/bfd/coffcode.h binutils-2.17/bfd/coffcode.h
     80--- binutils-2.17.orig/bfd/coffcode.h   2005-10-25 10:40:09.000000000 -0700
     81+++ binutils-2.17/bfd/coffcode.h        2006-08-08 01:19:57.000000000 -0700
    7682@@ -1546,9 +1546,6 @@
    7783 static bfd_boolean
     
    138144                                     coff_section_alignment_table,
    139145                                     coff_section_alignment_table_size);
    140 diff -Naur binutils-2.17/bfd/cpu-m68k.c src/bfd/cpu-m68k.c
    141 --- binutils-2.17/bfd/cpu-m68k.c        2006-03-25 02:24:27.000000000 -0800
    142 +++ src/bfd/cpu-m68k.c  2006-07-12 05:55:21.000000000 -0700
     146diff -Naur binutils-2.17.orig/bfd/cpu-m68k.c binutils-2.17/bfd/cpu-m68k.c
     147--- binutils-2.17.orig/bfd/cpu-m68k.c   2006-03-25 02:24:27.000000000 -0800
     148+++ binutils-2.17/bfd/cpu-m68k.c        2006-07-12 05:55:21.000000000 -0700
    143149@@ -202,6 +202,9 @@
    144150   if (a->mach <= bfd_mach_m68060 && b->mach <= bfd_mach_m68060)
     
    151157           && b->mach >= bfd_mach_mcf_isa_a_nodiv)
    152158     {
    153 diff -Naur binutils-2.17/bfd/elflink.c src/bfd/elflink.c
    154 --- binutils-2.17/bfd/elflink.c 2006-05-22 08:06:36.000000000 -0700
    155 +++ src/bfd/elflink.c   2006-07-18 19:37:04.000000000 -0700
     159diff -Naur binutils-2.17.orig/bfd/elflink.c binutils-2.17/bfd/elflink.c
     160--- binutils-2.17.orig/bfd/elflink.c    2006-05-22 08:06:36.000000000 -0700
     161+++ binutils-2.17/bfd/elflink.c 2006-12-11 06:52:39.000000000 -0800
    156162@@ -3496,6 +3496,13 @@
    157163       if (alloc_mark == NULL)
     
    191197       old_tab = NULL;
    192198     }
    193 diff -Naur binutils-2.17/bfd/Makefile.am src/bfd/Makefile.am
    194 --- binutils-2.17/bfd/Makefile.am       2006-06-23 11:17:17.000000000 -0700
    195 +++ src/bfd/Makefile.am 2006-06-23 13:57:04.000000000 -0700
    196 @@ -3,7 +3,7 @@
    197  AUTOMAKE_OPTIONS = 1.9 cygnus
    198  
    199  # Uncomment the following line when doing a release.
    200 -RELEASE=y
    201 +# RELEASE=y
    202  
    203  INCDIR = $(srcdir)/../include
    204  CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
    205 diff -Naur binutils-2.17/bfd/version.h src/bfd/version.h
    206 --- binutils-2.17/bfd/version.h 2006-06-23 11:14:41.000000000 -0700
    207 +++ src/bfd/version.h   2006-12-03 15:00:13.000000000 -0800
     199@@ -9239,7 +9255,8 @@
     200       if (bfd_get_flavour (sub) != bfd_target_elf_flavour)
     201        continue;
     202 
     203-      /* Keep .gcc_except_table.* if the associated .text.* is
     204+      /* Keep .gcc_except_table.* if the associated .text.* (or the
     205+        associated .gnu.linkonce.t.* if .text.* doesn't exist) is
     206         marked.  This isn't very nice, but the proper solution,
     207         splitting .eh_frame up and using comdat doesn't pan out
     208         easily due to needing special relocs to handle the
     209@@ -9255,12 +9272,23 @@
     210                asection *fn_text;
     211 
     212                len = strlen (o->name + 18) + 1;
     213-               fn_name = bfd_malloc (len + 6);
     214+               fn_name = bfd_malloc (len + 16);
     215                if (fn_name == NULL)
     216                  return FALSE;
     217+
     218+               /* Try the first prefix.  */
     219                memcpy (fn_name, ".text.", 6);
     220                memcpy (fn_name + 6, o->name + 18, len);
     221                fn_text = bfd_get_section_by_name (sub, fn_name);
     222+
     223+               /* Try the second prefix.  */
     224+               if (fn_text == NULL)
     225+                 {
     226+                   memcpy (fn_name, ".gnu.linkonce.t.", 16);
     227+                   memcpy (fn_name + 16, o->name + 18, len);
     228+                   fn_text = bfd_get_section_by_name (sub, fn_name);
     229+                 }
     230+
     231                free (fn_name);
     232                if (fn_text == NULL || !fn_text->gc_mark)
     233                  continue;
     234diff -Naur binutils-2.17.orig/bfd/version.h binutils-2.17/bfd/version.h
     235--- binutils-2.17.orig/bfd/version.h    2006-06-23 11:14:41.000000000 -0700
     236+++ binutils-2.17/bfd/version.h 2007-01-11 15:00:19.000000000 -0800
    208237@@ -1,3 +1,3 @@
    209238-#define BFD_VERSION_DATE 20060623
    210 +#define BFD_VERSION_DATE 20061204
     239+#define BFD_VERSION_DATE 20070112
    211240 #define BFD_VERSION @bfd_version@
    212241 #define BFD_VERSION_STRING @bfd_version_string@
    213 diff -Naur binutils-2.17/binutils/ChangeLog src/binutils/ChangeLog
    214 --- binutils-2.17/binutils/ChangeLog    2006-06-12 06:05:03.000000000 -0700
    215 +++ src/binutils/ChangeLog      2006-08-15 05:01:21.000000000 -0700
     242diff -Naur binutils-2.17.orig/binutils/ChangeLog binutils-2.17/binutils/ChangeLog
     243--- binutils-2.17.orig/binutils/ChangeLog       2006-06-12 06:05:03.000000000 -0700
     244+++ binutils-2.17/binutils/ChangeLog    2006-08-15 05:01:21.000000000 -0700
    216245@@ -1,3 +1,8 @@
    217246+2006-08-15  Nick Clifton  <nickc@redhat.com>
     
    223252 
    224253        * po/Make-in (pdf, ps): New dummy targets.
    225 diff -Naur binutils-2.17/binutils/wrstabs.c src/binutils/wrstabs.c
    226 --- binutils-2.17/binutils/wrstabs.c    2006-03-16 04:20:16.000000000 -0800
    227 +++ src/binutils/wrstabs.c      2006-08-15 05:01:21.000000000 -0700
     254diff -Naur binutils-2.17.orig/binutils/wrstabs.c binutils-2.17/binutils/wrstabs.c
     255--- binutils-2.17.orig/binutils/wrstabs.c       2006-03-16 04:20:16.000000000 -0800
     256+++ binutils-2.17/binutils/wrstabs.c    2006-08-15 05:01:21.000000000 -0700
    228257@@ -1869,7 +1869,7 @@
    229258 {
     
    235264   index = stab_get_struct_index (info, name, id, kind, &size);
    236265   if (index < 0)
    237 diff -Naur binutils-2.17/configure.in src/configure.in
    238 --- binutils-2.17/configure.in  2006-06-23 11:19:53.000000000 -0700
    239 +++ src/configure.in    2006-04-06 14:49:25.000000000 -0700
     266diff -Naur binutils-2.17.orig/configure.in binutils-2.17/configure.in
     267--- binutils-2.17.orig/configure.in     2006-06-23 11:19:53.000000000 -0700
     268+++ binutils-2.17/configure.in  2006-04-06 14:49:25.000000000 -0700
    240269@@ -130,7 +130,7 @@
    241270 # know that we are building the simulator.
     
    247276 # libgcj represents the runtime libraries only used by gcj.
    248277 libgcj="target-libffi \
    249 diff -Naur binutils-2.17/gas/ChangeLog src/gas/ChangeLog
    250 --- binutils-2.17/gas/ChangeLog 2006-06-12 06:05:03.000000000 -0700
    251 +++ src/gas/ChangeLog   2006-07-18 19:06:08.000000000 -0700
     278diff -Naur binutils-2.17.orig/gas/ChangeLog binutils-2.17/gas/ChangeLog
     279--- binutils-2.17.orig/gas/ChangeLog    2006-06-12 06:05:03.000000000 -0700
     280+++ binutils-2.17/gas/ChangeLog 2006-07-18 19:06:08.000000000 -0700
    252281@@ -1,3 +1,8 @@
    253282+2006-07-19  Mat Hostetter  <mat@lcs.mit.edu>
     
    259288 
    260289        * po/Make-in (pdf, ps): New dummy targets.
    261 diff -Naur binutils-2.17/gas/symbols.c src/gas/symbols.c
    262 --- binutils-2.17/gas/symbols.c 2006-01-09 09:14:40.000000000 -0800
    263 +++ src/gas/symbols.c   2006-07-18 19:06:08.000000000 -0700
     290diff -Naur binutils-2.17.orig/gas/symbols.c binutils-2.17/gas/symbols.c
     291--- binutils-2.17.orig/gas/symbols.c    2006-01-09 09:14:40.000000000 -0800
     292+++ binutils-2.17/gas/symbols.c 2006-07-18 19:06:08.000000000 -0700
    264293@@ -928,13 +928,11 @@
    265294          && seg_right != undefined_section)
     
    280309     }
    281310 }
    282 diff -Naur binutils-2.17/ld/ChangeLog src/ld/ChangeLog
    283 --- binutils-2.17/ld/ChangeLog  2006-06-12 06:07:28.000000000 -0700
    284 +++ src/ld/ChangeLog    2006-07-18 19:37:05.000000000 -0700
     311diff -Naur binutils-2.17.orig/ld/ChangeLog binutils-2.17/ld/ChangeLog
     312--- binutils-2.17.orig/ld/ChangeLog     2006-06-12 06:07:28.000000000 -0700
     313+++ binutils-2.17/ld/ChangeLog  2006-07-18 19:37:05.000000000 -0700
    285314@@ -1,3 +1,20 @@
    286315+2006-07-19  Alan Modra  <amodra@bigpond.net.au>
     
    304333 
    305334        * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
    306 diff -Naur binutils-2.17/ld/ldcref.c src/ld/ldcref.c
    307 --- binutils-2.17/ld/ldcref.c   2006-03-16 04:20:16.000000000 -0800
    308 +++ src/ld/ldcref.c     2006-07-18 19:37:05.000000000 -0700
     335diff -Naur binutils-2.17.orig/ld/ldcref.c binutils-2.17/ld/ldcref.c
     336--- binutils-2.17.orig/ld/ldcref.c      2006-03-16 04:20:16.000000000 -0800
     337+++ binutils-2.17/ld/ldcref.c   2006-07-18 19:37:05.000000000 -0700
    309338@@ -27,6 +27,7 @@
    310339 #include "sysdep.h"
     
    466495    is called via cref_hash_traverse.  We also fill in the demangled
    467496    name.  */
    468 diff -Naur binutils-2.17/ld/ld.h src/ld/ld.h
    469 --- binutils-2.17/ld/ld.h       2005-09-30 04:42:04.000000000 -0700
    470 +++ src/ld/ld.h 2006-07-18 19:37:05.000000000 -0700
     497diff -Naur binutils-2.17.orig/ld/ld.h binutils-2.17/ld/ld.h
     498--- binutils-2.17.orig/ld/ld.h  2005-09-30 04:42:04.000000000 -0700
     499+++ binutils-2.17/ld/ld.h       2006-07-18 19:37:05.000000000 -0700
    471500@@ -1,6 +1,6 @@
    472501 /* ld.h -- general linker header file
     
    485514 extern void check_nocrossrefs (void);
    486515 extern void ld_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
    487 diff -Naur binutils-2.17/ld/ldlang.c src/ld/ldlang.c
    488 --- binutils-2.17/ld/ldlang.c   2006-06-12 06:05:04.000000000 -0700
    489 +++ src/ld/ldlang.c     2006-07-04 06:29:24.000000000 -0700
     516diff -Naur binutils-2.17.orig/ld/ldlang.c binutils-2.17/ld/ldlang.c
     517--- binutils-2.17.orig/ld/ldlang.c      2006-06-12 06:05:04.000000000 -0700
     518+++ binutils-2.17/ld/ldlang.c   2006-07-04 06:29:24.000000000 -0700
    490519@@ -4207,7 +4207,8 @@
    491520                    /* If a loadable section is using the default memory
     
    498527                        && check_regions
    499528                        && strcmp (os->region->name,
    500 diff -Naur binutils-2.17/ld/ldmain.c src/ld/ldmain.c
    501 --- binutils-2.17/ld/ldmain.c   2006-04-06 11:52:45.000000000 -0700
    502 +++ src/ld/ldmain.c     2006-07-18 19:37:05.000000000 -0700
     529diff -Naur binutils-2.17.orig/ld/ldmain.c binutils-2.17/ld/ldmain.c
     530--- binutils-2.17.orig/ld/ldmain.c      2006-04-06 11:52:45.000000000 -0700
     531+++ binutils-2.17/ld/ldmain.c   2006-07-18 19:37:05.000000000 -0700
    503532@@ -1511,6 +1511,13 @@
    504533        asection *section,
     
    515544       || (info->notice_hash != NULL
    516545          && bfd_hash_lookup (info->notice_hash, name, FALSE, FALSE) != NULL))
    517 diff -Naur binutils-2.17/ld/testsuite/ChangeLog src/ld/testsuite/ChangeLog
    518 --- binutils-2.17/ld/testsuite/ChangeLog        2006-06-12 06:44:33.000000000 -0700
    519 +++ src/ld/testsuite/ChangeLog  2006-07-12 05:55:21.000000000 -0700
     546diff -Naur binutils-2.17.orig/ld/testsuite/ChangeLog binutils-2.17/ld/testsuite/ChangeLog
     547--- binutils-2.17.orig/ld/testsuite/ChangeLog   2006-06-12 06:44:33.000000000 -0700
     548+++ binutils-2.17/ld/testsuite/ChangeLog        2006-07-12 05:55:21.000000000 -0700
    520549@@ -1,3 +1,17 @@
    521550+2006-07-12  Richard Sandiford  <richard@codesourcery.com>
     
    536565 
    537566        Backport:
    538 diff -Naur binutils-2.17/ld/testsuite/ld-m68k/m68k.exp src/ld/testsuite/ld-m68k/m68k.exp
    539 --- binutils-2.17/ld/testsuite/ld-m68k/m68k.exp 2006-03-25 02:24:27.000000000 -0800
    540 +++ src/ld/testsuite/ld-m68k/m68k.exp   2006-07-12 05:55:21.000000000 -0700
     567diff -Naur binutils-2.17.orig/ld/testsuite/ld-m68k/m68k.exp binutils-2.17/ld/testsuite/ld-m68k/m68k.exp
     568--- binutils-2.17.orig/ld/testsuite/ld-m68k/m68k.exp    2006-03-25 02:24:27.000000000 -0800
     569+++ binutils-2.17/ld/testsuite/ld-m68k/m68k.exp 2006-07-12 05:55:21.000000000 -0700
    541570@@ -53,3 +53,4 @@
    542571 run_dump_test "merge-error-1e"
     
    544573 run_dump_test "merge-ok-1b"
    545574+run_dump_test "merge-ok-1c"
    546 diff -Naur binutils-2.17/ld/testsuite/ld-m68k/merge-ok-1c.d src/ld/testsuite/ld-m68k/merge-ok-1c.d
    547 --- binutils-2.17/ld/testsuite/ld-m68k/merge-ok-1c.d    1969-12-31 16:00:00.000000000 -0800
    548 +++ src/ld/testsuite/ld-m68k/merge-ok-1c.d      2006-07-12 05:55:21.000000000 -0700
     575diff -Naur binutils-2.17.orig/ld/testsuite/ld-m68k/merge-ok-1c.d binutils-2.17/ld/testsuite/ld-m68k/merge-ok-1c.d
     576--- binutils-2.17.orig/ld/testsuite/ld-m68k/merge-ok-1c.d       1969-12-31 16:00:00.000000000 -0800
     577+++ binutils-2.17/ld/testsuite/ld-m68k/merge-ok-1c.d    2006-07-12 05:55:21.000000000 -0700
    549578@@ -0,0 +1,6 @@
    550579+#source: merge-error-1a.s -march=cpu32
     
    554583+#...
    555584+private flags = 810000: \[cpu32\]
    556 diff -Naur binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.d src/ld/testsuite/ld-scripts/empty-orphan.d
    557 --- binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.d        2005-03-17 08:20:39.000000000 -0800
    558 +++ src/ld/testsuite/ld-scripts/empty-orphan.d  2006-07-04 06:29:24.000000000 -0700
     585diff -Naur binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.d binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.d
     586--- binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.d   2005-03-17 08:20:39.000000000 -0800
     587+++ binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.d        2006-07-04 06:29:24.000000000 -0700
    559588@@ -1,3 +1,6 @@
    560589 #source: empty-orphan.s
     
    565594+ +LOAD +[x0-9a-f]+ [x0]+70000000 [x0]+70000000 [x0]+(2|4|8|10|20|40|80) .*
    566595+#pass
    567 diff -Naur binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.t src/ld/testsuite/ld-scripts/empty-orphan.t
    568 --- binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.t        2005-03-17 08:20:39.000000000 -0800
    569 +++ src/ld/testsuite/ld-scripts/empty-orphan.t  2006-07-04 06:29:24.000000000 -0700
     596diff -Naur binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.t binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.t
     597--- binutils-2.17.orig/ld/testsuite/ld-scripts/empty-orphan.t   2005-03-17 08:20:39.000000000 -0800
     598+++ binutils-2.17/ld/testsuite/ld-scripts/empty-orphan.t        2006-07-04 06:29:24.000000000 -0700
    570599@@ -17,5 +17,6 @@
    571600    .text : { *(.text) } > text_mem : text_phdr
Note: See TracChangeset for help on using the changeset viewer.