Changeset 493c7be for patches/binutils-2.18-branch_update-2.patch
- Timestamp:
- Oct 29, 2007, 10:01:06 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 50f4cec
- Parents:
- bbe426b
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/binutils-2.18-branch_update-2.patch
rbbe426b r493c7be 1 1 Submitted By: Jim Gifford (jim at linuxfromscratch dot org) 2 Date: 10-2 5-20072 Date: 10-29-2007 3 3 Initial Package Version: 2.18 4 4 Origin: Upstream … … 9 9 diff -Naur binutils-2.18.orig/bfd/ChangeLog binutils-2.18/bfd/ChangeLog 10 10 --- binutils-2.18.orig/bfd/ChangeLog 2007-08-28 13:20:54.000000000 -0700 11 +++ binutils-2.18/bfd/ChangeLog 2007-10-25 08:36:50.000000000 -0700 12 @@ -1,3 +1,33 @@ 11 +++ binutils-2.18/bfd/ChangeLog 2007-10-27 01:57:02.000000000 -0700 12 @@ -1,3 +1,45 @@ 13 +2007-10-27 Daniel Jacobowitz <dan@codesourcery.com> 14 + 15 + * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced 16 + local symbols specially. 17 + (mips_elf_set_global_got_offset): Skip forced local symbols. 18 + 13 19 +2007-10-25 Joseph Myers <joseph@codesourcery.com> 14 20 + … … 21 27 + p_align_valid. 22 28 + (copy_elf_program_header): Copy PT_NULL segments. 29 + 30 +2007-10-12 Daniel Jacobowitz <dan@codesourcery.com> 31 + 32 + * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced 33 + local symbols specially. 34 + (mips_elf_set_global_got_offset): Skip forced local symbols. 23 35 + 24 36 +2007-09-14 Alan Modra <amodra@bigpond.net.au> … … 73 85 diff -Naur binutils-2.18.orig/bfd/elfxx-mips.c binutils-2.18/bfd/elfxx-mips.c 74 86 --- binutils-2.18.orig/bfd/elfxx-mips.c 2007-08-24 07:01:08.000000000 -0700 75 +++ binutils-2.18/bfd/elfxx-mips.c 2007-10-25 08:36:50.000000000 -0700 76 @@ -9325,7 +9325,7 @@ 87 +++ binutils-2.18/bfd/elfxx-mips.c 2007-10-26 10:58:52.000000000 -0700 88 @@ -2797,7 +2797,8 @@ 89 /* Global symbols that need GOT entries that are not explicitly 90 referenced are marked with got offset 2. Those that are 91 referenced get a 1, and those that don't need GOT entries get 92 - -1. */ 93 + -1. Forced local symbols may also be marked with got offset 1, 94 + but are never given global GOT entries. */ 95 if (h->root.got.offset == 2) 96 { 97 BFD_ASSERT (h->tls_type == GOT_NORMAL); 98 @@ -2806,7 +2807,7 @@ 99 hsd->low = (struct elf_link_hash_entry *) h; 100 h->root.dynindx = hsd->max_unref_got_dynindx++; 101 } 102 - else if (h->root.got.offset != 1) 103 + else if (h->root.got.offset != 1 || h->forced_local) 104 h->root.dynindx = hsd->max_non_got_dynindx++; 105 else 106 { 107 @@ -3269,6 +3270,7 @@ 108 109 if (entry->abfd != NULL && entry->symndx == -1 110 && entry->d.h->root.dynindx != -1 111 + && !entry->d.h->forced_local 112 && entry->d.h->tls_type == GOT_NORMAL) 113 { 114 if (g) 115 @@ -9325,7 +9327,7 @@ 77 116 78 117 bfd_boolean … … 83 122 asection *s; 84 123 struct elf_segment_map *m, **pm; 85 @@ -9550,8 +955 0,12 @@124 @@ -9550,8 +9552,12 @@ 86 125 header instead, and avoid the need to move any sections. 87 126 There is a long tradition of allocating spare dynamic tags, … … 422 461 diff -Naur binutils-2.18.orig/bfd/version.h binutils-2.18/bfd/version.h 423 462 --- binutils-2.18.orig/bfd/version.h 2007-08-28 10:19:33.000000000 -0700 424 +++ binutils-2.18/bfd/version.h 2007-10-2 5 17:00:11.000000000 -0700463 +++ binutils-2.18/bfd/version.h 2007-10-28 16:00:10.000000000 -0700 425 464 @@ -1,4 +1,4 @@ 426 465 -#define BFD_VERSION_DATE 20070828 427 +#define BFD_VERSION_DATE 2007102 6466 +#define BFD_VERSION_DATE 20071029 428 467 #define BFD_VERSION @bfd_version@ 429 468 #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
Note:
See TracChangeset
for help on using the changeset viewer.