Start mass upgrade
[dragora.git] / patches / binutils / branch-updates.diff
blobc1946a6dc2c6e606e3112041cd981b825e40b67d
1 diff --git a/bfd/ChangeLog b/bfd/ChangeLog
2 index 4de75dd9bf0..0c9c1a8a4fc 100644
3 --- a/bfd/ChangeLog
4 +++ b/bfd/ChangeLog
5 @@ -1,3 +1,18 @@
6 +2021-05-03 Alan Modra <amodra@gmail.com>
8 + PR 27755
9 + * elf32-ppc.c (ppc_elf_inline_plt): Do increment rel in loop.
11 +2021-03-22 H.J. Lu <hongjiu.lu@intel.com>
13 + PR ld/27587
14 + * dwarf2.c (read_attribute_value): Check version >= 3 for
15 + DW_FORM_ref_addr.
17 +2021-01-30 Nick Clifton <nickc@redhat.com>
19 + * development.sh (development): Set to true.
21 2021-01-30 Nick Clifton <nickc@redhat.com>
23 This is the 2.35.2 release.
24 diff --git a/bfd/development.sh b/bfd/development.sh
25 index 32be4b9460f..6bbed41d6d4 100644
26 --- a/bfd/development.sh
27 +++ b/bfd/development.sh
28 @@ -16,7 +16,7 @@
29 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31 # Controls whether to enable development-mode features by default.
32 -development=false
33 +development=true
35 # Indicate whether this is a release branch.
36 experimental=false
37 diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
38 index 767e9731199..c7561cdeeec 100644
39 --- a/bfd/dwarf2.c
40 +++ b/bfd/dwarf2.c
41 @@ -1182,7 +1182,7 @@ read_attribute_value (struct attribute * attr,
42 case DW_FORM_ref_addr:
43 /* DW_FORM_ref_addr is an address in DWARF2, and an offset in
44 DWARF3. */
45 - if (unit->version == 3 || unit->version == 4)
46 + if (unit->version >= 3)
48 if (unit->offset_size == 4)
49 attr->u.val = read_4_bytes (unit->abfd, info_ptr, info_ptr_end);
50 diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
51 index 11ae6e82f4b..eb35d4bd83b 100644
52 --- a/bfd/elf32-ppc.c
53 +++ b/bfd/elf32-ppc.c
54 @@ -4246,7 +4246,7 @@ ppc_elf_inline_plt (struct bfd_link_info *info)
55 return FALSE;
57 relend = relstart + sec->reloc_count;
58 - for (rel = relstart; rel < relend; )
59 + for (rel = relstart; rel < relend; rel++)
61 enum elf_ppc_reloc_type r_type;
62 unsigned long r_symndx;