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