Changeset e86bfc4 in clfs-sysroot
- Timestamp:
- Jan 13, 2007, 8:37:59 AM (18 years ago)
- Branches:
- master
- Children:
- 07e528e
- Parents:
- 820590f
- Location:
- patches
- Files:
-
- 1 added
- 1 deleted
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/binutils-2.17-branch_update-2.patch
r820590f re86bfc4 1 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) 2 Date: 2006-12-04 1 Submitted By: Jim Gifford jim at linuxfromscratch dot org> 2 Orginally Submitted By: Robert Connolly <robert at linuxfromscratch dot org> 3 Date: 2007-01-12 3 4 Initial Package Version: 2.17 4 5 Upstream Status: From Upstream … … 10 11 should be updated periodically. 11 12 12 diff -Naur binutils-2.17 /bfd/bfd-in2.h src/bfd/bfd-in2.h13 --- binutils-2.17 /bfd/bfd-in2.h 2006-03-25 16:38:42.000000000 -080014 +++ src/bfd/bfd-in2.h 2006-07-18 19:37:04.000000000 -070013 diff -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 15 16 @@ -643,6 +643,12 @@ 16 17 DYN_NO_NEEDED = 8 … … 26 27 (bfd *, struct bfd_link_info *, const char *, bfd_boolean, 27 28 bfd_boolean); 28 diff -Naur binutils-2.17 /bfd/bfd-in.h src/bfd/bfd-in.h29 --- binutils-2.17 /bfd/bfd-in.h 2006-03-16 04:20:15.000000000 -080030 +++ src/bfd/bfd-in.h 2006-07-18 19:37:04.000000000 -070029 diff -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 31 32 @@ -636,6 +636,12 @@ 32 33 DYN_NO_NEEDED = 8 … … 42 43 (bfd *, struct bfd_link_info *, const char *, bfd_boolean, 43 44 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 @@ 45 diff -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 + 48 54 +2006-08-08 Nick Clifton <nickc@redhat.com> 49 55 + … … 71 77 72 78 * configure.in: Update version to 2.17. 73 diff -Naur binutils-2.17 /bfd/coffcode.h src/bfd/coffcode.h74 --- binutils-2.17 /bfd/coffcode.h 2005-10-25 10:40:09.000000000 -070075 +++ src/bfd/coffcode.h 2006-08-08 01:19:57.000000000 -070079 diff -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 76 82 @@ -1546,9 +1546,6 @@ 77 83 static bfd_boolean … … 138 144 coff_section_alignment_table, 139 145 coff_section_alignment_table_size); 140 diff -Naur binutils-2.17 /bfd/cpu-m68k.c src/bfd/cpu-m68k.c141 --- binutils-2.17 /bfd/cpu-m68k.c 2006-03-25 02:24:27.000000000 -0800142 +++ src/bfd/cpu-m68k.c 2006-07-12 05:55:21.000000000 -0700146 diff -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 143 149 @@ -202,6 +202,9 @@ 144 150 if (a->mach <= bfd_mach_m68060 && b->mach <= bfd_mach_m68060) … … 151 157 && b->mach >= bfd_mach_mcf_isa_a_nodiv) 152 158 { 153 diff -Naur binutils-2.17 /bfd/elflink.c src/bfd/elflink.c154 --- binutils-2.17 /bfd/elflink.c 2006-05-22 08:06:36.000000000 -0700155 +++ src/bfd/elflink.c 2006-07-18 19:37:04.000000000 -0700159 diff -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 156 162 @@ -3496,6 +3496,13 @@ 157 163 if (alloc_mark == NULL) … … 191 197 old_tab = NULL; 192 198 } 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; 234 diff -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 208 237 @@ -1,3 +1,3 @@ 209 238 -#define BFD_VERSION_DATE 20060623 210 +#define BFD_VERSION_DATE 200 61204239 +#define BFD_VERSION_DATE 20070112 211 240 #define BFD_VERSION @bfd_version@ 212 241 #define BFD_VERSION_STRING @bfd_version_string@ 213 diff -Naur binutils-2.17 /binutils/ChangeLog src/binutils/ChangeLog214 --- binutils-2.17 /binutils/ChangeLog 2006-06-12 06:05:03.000000000 -0700215 +++ src/binutils/ChangeLog 2006-08-15 05:01:21.000000000 -0700242 diff -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 216 245 @@ -1,3 +1,8 @@ 217 246 +2006-08-15 Nick Clifton <nickc@redhat.com> … … 223 252 224 253 * po/Make-in (pdf, ps): New dummy targets. 225 diff -Naur binutils-2.17 /binutils/wrstabs.c src/binutils/wrstabs.c226 --- binutils-2.17 /binutils/wrstabs.c 2006-03-16 04:20:16.000000000 -0800227 +++ src/binutils/wrstabs.c 2006-08-15 05:01:21.000000000 -0700254 diff -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 228 257 @@ -1869,7 +1869,7 @@ 229 258 { … … 235 264 index = stab_get_struct_index (info, name, id, kind, &size); 236 265 if (index < 0) 237 diff -Naur binutils-2.17 /configure.in src/configure.in238 --- binutils-2.17 /configure.in 2006-06-23 11:19:53.000000000 -0700239 +++ src/configure.in 2006-04-06 14:49:25.000000000 -0700266 diff -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 240 269 @@ -130,7 +130,7 @@ 241 270 # know that we are building the simulator. … … 247 276 # libgcj represents the runtime libraries only used by gcj. 248 277 libgcj="target-libffi \ 249 diff -Naur binutils-2.17 /gas/ChangeLog src/gas/ChangeLog250 --- binutils-2.17 /gas/ChangeLog 2006-06-12 06:05:03.000000000 -0700251 +++ src/gas/ChangeLog 2006-07-18 19:06:08.000000000 -0700278 diff -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 252 281 @@ -1,3 +1,8 @@ 253 282 +2006-07-19 Mat Hostetter <mat@lcs.mit.edu> … … 259 288 260 289 * po/Make-in (pdf, ps): New dummy targets. 261 diff -Naur binutils-2.17 /gas/symbols.c src/gas/symbols.c262 --- binutils-2.17 /gas/symbols.c 2006-01-09 09:14:40.000000000 -0800263 +++ src/gas/symbols.c 2006-07-18 19:06:08.000000000 -0700290 diff -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 264 293 @@ -928,13 +928,11 @@ 265 294 && seg_right != undefined_section) … … 280 309 } 281 310 } 282 diff -Naur binutils-2.17 /ld/ChangeLog src/ld/ChangeLog283 --- binutils-2.17 /ld/ChangeLog 2006-06-12 06:07:28.000000000 -0700284 +++ src/ld/ChangeLog 2006-07-18 19:37:05.000000000 -0700311 diff -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 285 314 @@ -1,3 +1,20 @@ 286 315 +2006-07-19 Alan Modra <amodra@bigpond.net.au> … … 304 333 305 334 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the 306 diff -Naur binutils-2.17 /ld/ldcref.c src/ld/ldcref.c307 --- binutils-2.17 /ld/ldcref.c 2006-03-16 04:20:16.000000000 -0800308 +++ src/ld/ldcref.c 2006-07-18 19:37:05.000000000 -0700335 diff -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 309 338 @@ -27,6 +27,7 @@ 310 339 #include "sysdep.h" … … 466 495 is called via cref_hash_traverse. We also fill in the demangled 467 496 name. */ 468 diff -Naur binutils-2.17 /ld/ld.h src/ld/ld.h469 --- binutils-2.17 /ld/ld.h 2005-09-30 04:42:04.000000000 -0700470 +++ src/ld/ld.h 2006-07-18 19:37:05.000000000 -0700497 diff -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 471 500 @@ -1,6 +1,6 @@ 472 501 /* ld.h -- general linker header file … … 485 514 extern void check_nocrossrefs (void); 486 515 extern void ld_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; 487 diff -Naur binutils-2.17 /ld/ldlang.c src/ld/ldlang.c488 --- binutils-2.17 /ld/ldlang.c 2006-06-12 06:05:04.000000000 -0700489 +++ src/ld/ldlang.c 2006-07-04 06:29:24.000000000 -0700516 diff -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 490 519 @@ -4207,7 +4207,8 @@ 491 520 /* If a loadable section is using the default memory … … 498 527 && check_regions 499 528 && strcmp (os->region->name, 500 diff -Naur binutils-2.17 /ld/ldmain.c src/ld/ldmain.c501 --- binutils-2.17 /ld/ldmain.c 2006-04-06 11:52:45.000000000 -0700502 +++ src/ld/ldmain.c 2006-07-18 19:37:05.000000000 -0700529 diff -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 503 532 @@ -1511,6 +1511,13 @@ 504 533 asection *section, … … 515 544 || (info->notice_hash != NULL 516 545 && bfd_hash_lookup (info->notice_hash, name, FALSE, FALSE) != NULL)) 517 diff -Naur binutils-2.17 /ld/testsuite/ChangeLog src/ld/testsuite/ChangeLog518 --- binutils-2.17 /ld/testsuite/ChangeLog 2006-06-12 06:44:33.000000000 -0700519 +++ src/ld/testsuite/ChangeLog 2006-07-12 05:55:21.000000000 -0700546 diff -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 520 549 @@ -1,3 +1,17 @@ 521 550 +2006-07-12 Richard Sandiford <richard@codesourcery.com> … … 536 565 537 566 Backport: 538 diff -Naur binutils-2.17 /ld/testsuite/ld-m68k/m68k.exp src/ld/testsuite/ld-m68k/m68k.exp539 --- binutils-2.17 /ld/testsuite/ld-m68k/m68k.exp 2006-03-25 02:24:27.000000000 -0800540 +++ src/ld/testsuite/ld-m68k/m68k.exp 2006-07-12 05:55:21.000000000 -0700567 diff -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 541 570 @@ -53,3 +53,4 @@ 542 571 run_dump_test "merge-error-1e" … … 544 573 run_dump_test "merge-ok-1b" 545 574 +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.d547 --- binutils-2.17 /ld/testsuite/ld-m68k/merge-ok-1c.d 1969-12-31 16:00:00.000000000 -0800548 +++ src/ld/testsuite/ld-m68k/merge-ok-1c.d 2006-07-12 05:55:21.000000000 -0700575 diff -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 549 578 @@ -0,0 +1,6 @@ 550 579 +#source: merge-error-1a.s -march=cpu32 … … 554 583 +#... 555 584 +private flags = 810000: \[cpu32\] 556 diff -Naur binutils-2.17 /ld/testsuite/ld-scripts/empty-orphan.d src/ld/testsuite/ld-scripts/empty-orphan.d557 --- binutils-2.17 /ld/testsuite/ld-scripts/empty-orphan.d 2005-03-17 08:20:39.000000000 -0800558 +++ src/ld/testsuite/ld-scripts/empty-orphan.d 2006-07-04 06:29:24.000000000 -0700585 diff -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 559 588 @@ -1,3 +1,6 @@ 560 589 #source: empty-orphan.s … … 565 594 + +LOAD +[x0-9a-f]+ [x0]+70000000 [x0]+70000000 [x0]+(2|4|8|10|20|40|80) .* 566 595 +#pass 567 diff -Naur binutils-2.17 /ld/testsuite/ld-scripts/empty-orphan.t src/ld/testsuite/ld-scripts/empty-orphan.t568 --- binutils-2.17 /ld/testsuite/ld-scripts/empty-orphan.t 2005-03-17 08:20:39.000000000 -0800569 +++ src/ld/testsuite/ld-scripts/empty-orphan.t 2006-07-04 06:29:24.000000000 -0700596 diff -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 570 599 @@ -17,5 +17,6 @@ 571 600 .text : { *(.text) } > text_mem : text_phdr
Note:
See TracChangeset
for help on using the changeset viewer.