x86-64: Correct unwind info for the BND PLT
[external/binutils.git] / bfd / ChangeLog
1 2017-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/21038
4         * elf64-x86-64.c (elf_x86_64_eh_frame_bnd_plt): New.
5         (elf_x86_64_bnd_arch_bed): Use elf_x86_64_eh_frame_bnd_plt and
6         elf_x86_64_eh_frame_plt_got.
7         (elf_x86_64_size_dynamic_sections): Get unwind info from
8         elf_x86_64_bnd_arch_bed for the BND PLT.
9
10 2017-01-11  Jeremy Soller  <jackpot51@gmail.com>
11
12         * config.bfd: Add entries for i686-redox and x86_64-redox.
13
14 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15
16         * elf32-i386.c (elf_i386_check_relocs): Align .eh_frame section
17         to 4 bytes.
18         * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Align
19         .eh_frame section to 4 bytes for x32.
20         (elf_x86_64_check_relocs): Likewise.
21
22 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23
24         PR ld/20830
25         * elf32-i386.c (elf_i386_eh_frame_plt_got): New.
26         (PLT_GOT_FDE_LENGTH): Likewise.
27         (elf_i386_plt_layout): Add eh_frame_plt_got and
28         eh_frame_plt_got_size.
29         (elf_i386_plt): Updated.
30         (elf_i386_link_hash_table): Add plt_got_eh_frame.
31         (elf_i386_check_relocs): Create .eh_frame section for .plt.got.
32         (elf_i386_size_dynamic_sections): Allocate and initialize
33         .eh_frame section for .plt.got.
34         (elf_i386_finish_dynamic_sections): Adjust .eh_frame section for
35         .plt.got.
36         (elf_i386_nacl_plt): Add FIXME for eh_frame_plt_got and
37         eh_frame_plt_got_size.
38         * elf64-x86-64.c (elf_x86_64_eh_frame_plt_got): New.
39         (PLT_GOT_FDE_LENGTH): Likewise.
40         (elf_x86_64_backend_data): Add eh_frame_plt_got and
41         eh_frame_plt_got_size.
42         (elf_x86_64_arch_bed): Updated.
43         (elf_x86_64_bnd_arch_bed): Add FIXME for eh_frame_plt_got and
44         eh_frame_plt_got_size.
45         (elf_x86_64_nacl_arch_bed): Likewise.
46         (elf_x86_64_link_hash_table): Add plt_got_eh_frame.
47         (elf_x86_64_check_relocs): Create .eh_frame section for .plt.got.
48         (elf_x86_64_size_dynamic_sections): Allocate and initialize
49         .eh_frame section for .plt.got.
50         (elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
51         for .plt.got.
52
53 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54
55         * elf32-i386.c (elf_i386_size_dynamic_sections): Set
56         plt_eh_frame->size to eh_frame_plt_size and use eh_frame_plt.
57
58 2017-01-09  Nick Clifton  <nickc@redhat.com>
59
60         * dwarf2.c (lookup_address_in_function_table): Return early if
61         there are no functions in the given comp unit, or if the high
62         address of the last function in the comp unit is less than the
63         desired address.
64
65 2017-01-09  Nick Clifton  <nickc@redhat.com>
66
67         PR binutils/21013
68         * coffgen.c (_bfd_coff_get_external_symbols): Generate an error
69         message if there are too many symbols to load.
70
71 2017-01-04  James Clarke  <jrtc27@jrtc27.com>
72
73         * elf64-alpha.c (elf64_alpha_relax_opt_call): Don't set tsec_free
74         if relocs are cached.
75
76 2017-01-03  Rich Felker  <bugdal@aerifal.cx>
77
78         PR ld/21017
79         * elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
80         for R_MICROBLAZE_GOTOFF_64.
81
82 2017-01-03  Nick Clifton  <nickc@redhat.com>
83
84         * mach-o.c (bfd_mach_o_lookup_uuid_command): Fix compile time
85         warning about using a possibly uninitialised variable.
86
87 2017-01-02  Alan Modra  <amodra@gmail.com>
88
89         * elf32-hppa.c (ensure_undef_weak_dynamic): New function.
90         (allocate_plt_static, allocate_dynrelocs): Use it.
91
92 2017-01-02  Alan Modra  <amodra@gmail.com>
93
94         * elf-hppa.h (elf_hppa_fake_sections): Set SHF_INFO_LINK for
95         .PARISC.unwind section.
96
97 2017-01-02  Alan Modra  <amodra@gmail.com>
98
99         PR ld/20989
100         * elfxx-sparc.c (gdop_relative_offset_ok): New function.
101         (_bfd_sparc_elf_relocate_section): Use it to validate GOT
102         indirect to GOT pointer relative code edit.
103
104 2017-01-02  Alan Modra  <amodra@gmail.com>
105
106         Update year range in copyright notice of all files.
107
108 For older changes see ChangeLog-2016
109 \f
110 Copyright (C) 2017 Free Software Foundation, Inc.
111
112 Copying and distribution of this file, with or without modification,
113 are permitted in any medium without royalty provided the copyright
114 notice and this notice are preserved.
115
116 Local Variables:
117 mode: change-log
118 left-margin: 8
119 fill-column: 74
120 version-control: never
121 End: