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