Re-generate many configure and Makefile.in files
[deliverable/binutils-gdb.git] / gold / ChangeLog
1 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * testsuite/Makefile.in: Re-generate.
4
5 2019-09-09 Phil Blundell <pb@pbcl.net>
6
7 binutils 2.33 branch created.
8
9 2019-08-16 Martin Liska <mliska@suse.cz>
10
11 PR ld/24912
12 * object.cc (big_endian>::do_layout): Do not report error,
13 but only set a flag.
14 (big_endian>::do_add_symbols): Report error only for when
15 relocatable.
16
17 2019-08-02 Alan Modra <amodra@gmail.com>
18
19 * powerpc.cc (Target_powerpc::Scan::get_reference_flags): Set
20 flags for new relocations, and some missing older relocs.
21 (Target_powerpc::Scan::local): Handle new pcrel tls relocs.
22 Call set_has_static_tls for tprel relocs.
23 (Target_powerpc::Scan::global): Likewise.
24 (Target_powerpc::Relocate::relocate): Handle new pcrel tls relocs.
25
26 2019-08-02 Alan Modra <amodra@gmail.com>
27
28 * powerpc.cc (Powerpc_relocate_functions::rela, rela_ua): Perform
29 signed right shift for signed overflow check.
30
31 2019-07-29 Martin Liska <mliska@suse.cz>
32
33 PR 24768
34 * layout.h (class Layout): Add is_lto_slim_object and
35 set_lto_slim_object.
36 * object.cc (struct lto_section): Add lto_slim_object_.
37 (big_endian>::do_layout): Parse content of
38 .gnu_lto_.lto section.
39 (big_endian>::do_add_symbols): Report error for a missing
40 LTO plugin.
41
42 2019-07-13 Alan Modra <amodra@gmail.com>
43
44 * powerpc.cc (xlate_pcrel_opt): New function.
45 (Target_powerpc::Relocate::relocate): Optimise PCREL34 and
46 GOT_PCREL34 sequences marked with PCREL_OPT.
47
48 2019-07-13 Alan Modra <amodra@gmail.com>
49
50 * powerpc.cc (Powerpc_relobj::make_got_relative): New function.
51 (relative_value_is_known): New functions.
52 (Target_powerpc::Relocate::relocate): Edit code using
53 GOT16_HA, GOT16_LO_DS, and GOT_PCREL34 relocs.
54
55 2019-07-13 Alan Modra <amodra@gmail.com>
56
57 * powerpc.cc (Target_powerpc): Add powerxx_stubs_ and accessor
58 functions.
59 (Target_powerpc::maybe_skip_tls_get_addr_call): Handle PLT_PCREL34
60 and PLT_PCREL34_NOTOC relocs.
61 (Powerpc_relocate_functions): Add addr34, addr34_hi, addr34_ha,
62 addr28, addr16_higher34, addr16_highera34, addr16_highest34,
63 addr16_highest34a functions.
64 (li_11_0, ori_11_11_0, sldi_11_11_34): Define.
65 (paddi_12_pc, pld_12_pc, pnop): Define.
66 (d34, ha34): New inline functions.
67 (Stub_table::add_plt_call_entry): Handle powerxx_stubs.
68 (Stub_table::add_eh_frame): Likewise.
69 (build_powerxx_offset): New function.
70 (Stub_table::plt_call_size): Handle powerxx_stubs.
71 (Stub_table::branch_stub_size): Likewise.
72 (Stub_table::do_write): Likewise.
73 (Target_powerpc::Scan::get_reference_flags): Handle new relocs.
74 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc: Likewise.
75 (Target_powerpc::Scan::local, global, relocate): Likewise.
76
77 2019-07-13 Alan Modra <amodra@gmail.com>
78
79 * ehframe.cc (Fde::operator==): Delete.
80 (Cie::remove_fde): Delete.
81 (Eh_frame::remove_ehframe_for_plt): Delete fde_data and fde_length
82 parameters. Remove all post-map plt FDEs.
83 * ehframe.h (Fde:post_map): Make const, add variant to compare plt.
84 (Fde::operator==): Delete.
85 (Cie::remove_fde): Implement here.
86 (Cie::last_fde): New accessor.
87 (Eh_frame::remove_ehframe_for_plt): Update prototype.
88 * layout.cc (Layout::remove_eh_frame_for_plt): Delete fde_data and
89 fde_length parameters.
90 * layout.h (Layout::remove_eh_frame_for_plt): Update prototype.
91 * powerpc.cc (Stub_table::tls_get_addr_opt_bctrl_): Delete.
92 (Stub_table::plt_fde_len_, plt_fde_, init_plt_fde): Delete.
93 (Stub_table::add_plt_call_entry): Don't set tls_get_addr_opt_bctrl_.
94 (eh_advance): New function.
95 (stub_sort): New function.
96 (Stub_table::add_eh_frame): Emit eh_frame for notoc plt calls and
97 branches as well as __tls_get_addr_opt plt call stub.
98 (Stub_table::remove_eh_frame): Update to suit.
99
100 2019-07-13 Alan Modra <amodra@gmail.com>
101
102 * powerpc.cc (Target_powerpc::maybe_skip_tls_get_addr_call): Handle
103 notoc calls.
104 (is_branch_reloc): Template on size. Return true for REL24_NOTOC.
105 Update all callers.
106 (max_branch_delta): Likewise.
107 (Target_powerpc::Branch_info::make_stub): Add a stub for notoc
108 calls to functions needing a valid toc pointer.
109 (Target_powerpc::do_relax): Layout stubs again if any need resize.
110 (add_12_11_12, addi_12_11, addis_12_11, ldx_12_11_12, ori_12_12_0),
111 (oris_12_12_0, sldi_12_12_32): Define.
112 (Stub_table::Plt_stub_ent): Add notoc_ and iter_ fields.
113 (Stub_table::Branch_stub_key, Branch_stub_key_hash): Rename from
114 Branch_stub_ent and Branch_stub_ent hash. Remove save_res_ from key.
115 (Stub_table::Branch_stub_ent): New struct.
116 (class Stub_table): Add need_resize and resizing vars.
117 (Stub_table::need_resize, branch_size): New accessors.
118 (Stub_table::set_resizing): New function.
119 (Stub_table::add_plt_call_entry): Handle notoc calls and resizing
120 on seeing such or a tocsave stubs after a normal stub using the
121 same sym.
122 (Stub_table::add_long_branch_entry): Similarly.
123 (Stub_table::find_long_branch_entry): Return a Branch_stub_ent*.
124 (Stub_table::define_stub_syms): Adjust
125 (Stub_table::build_tls_opt_head, build_tls_opt_tail): New functions.
126 (build_notoc_offset): New function.
127 (Stub_table::plt_call_size): Move out of line. Handle notoc calls.
128 (Stub_table::branch_stub_size): Similarly.
129 (Stub_table::do_write): Separate loop for ELFv2 stubs, handling
130 notoc calls. Simplify ELFv1 loop. Output notoc branch stubs.
131 Use build_tls_opt_head and build_tls_opt_tail.
132 (Target_powerpc::Scan::get_reference_flags): Handle REL24_NOTOC.
133 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Likewise,
134 and PLTSEQ_NOTOC and PLTCALL_NOTOC.
135 (Target_powerpc::Scan::local, global, relocate): Likewise.
136
137 2019-06-28 Alan Modra <amodra@gmail.com>
138
139 * powerpc.cc (Target_powerpc::Relocate::relocate): Don't look
140 at next/previous reloc when relnum is -1.
141
142 2019-06-28 Alan Modra <amodra@gmail.com>
143
144 * powerpc.cc (Stub_table::plt_error): New function.
145 (Stub_table::do_write): Use it.
146 (Output_data_glink::do_write): Don't segfault emitting linkage
147 table error.
148
149 2019-06-28 Alan Modra <amodra@gmail.com>
150
151 * powerpc.cc (Target_powerpc::Scan::get_reference_flags): Handle
152 REL16_HIGH* relocs.
153 (Target_powerpc::Scan::local): Likewise.
154 (Target_powerpc::Scan::global): Likewise.
155 (Target_powerpc::Relocate::relocate): Likewise.
156
157 2019-06-10 Martin Liska <mliska@suse.cz>
158
159 * errors.h: Include string.
160
161 2019-05-10 Joshua Oreman <oremanj@hudson-trading.com>
162
163 PR gold/21066
164 * gc.h (gc_process_relocs): Track relocations in .eh_frame sections
165 when ICF is enabled, even though the .eh_frame sections themselves
166 are not foldable.
167 * icf.cc (get_section_contents): Change arguments to permit operation
168 on just part of a section. Include extra identity regions in the
169 referring section's contents recursively.
170 (match_sections): Lock object here instead of in get_section_contents
171 so that get_section_contents can operate recursively.
172 (Icf::add_ehframe_links): New method.
173 (Icf::find_identical_sections): Pass .eh_frame sections to
174 add_ehframe_links(). Increase default iteration count from 2 to 3
175 because handling exception info typically requires one extra iteration.
176 * icf.h (Icf::extra_identity_list_): New data member with accessor.
177 (is_section_foldable_candidate): Include .gcc_except_table sections.
178 * options.h: Update documentation for new default ICF iteration count.
179 * testsuite/Makefile.am (icf_test_pr21066): New test case.
180 * testsuite/Makefile.in: Regenerate.
181 * testsuite/icf_test_pr21066.cc: New source file.
182 * testsuite/icf_test_pr21066.sh: New test script.
183
184 2019-02-19 Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
185
186 PR gold/23870
187 * aarch64.cc (Target_aarch64::Scan::global): Check if a symbol with
188 R_AARCH64_MOVW_.ABS_* relocations requires a PLT entry.
189 * testsuite/Makefile.am: Add aarch64_pr23870 test case.
190 * testsuite/Makefile.in: Regenerate.
191 * testsuite/aarch64_pr23870_bar.c: New file.
192 * testsuite/aarch64_pr23870_foo.c: New file.
193 * testsuite/aarch64_pr23870_main.S: New file.
194
195 2019-02-12 Nick Clifton <nickc@redhat.com>
196
197 * po/fr.po: Updated French translation.
198
199 2019-01-21 Nick Clifton <nickc@redhat.com>
200
201 * po/uk.po: Updated Ukranian translation.
202
203 2019-01-19 Nick Clifton <nickc@redhat.com>
204
205 * po/gold.pot: Regenerate.
206
207 2018-06-24 Nick Clifton <nickc@redhat.com>
208
209 2.32 branch created.
210
211 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
212
213 * configure: Regenerate.
214
215 2019-01-01 Alan Modra <amodra@gmail.com>
216
217 Update year range in copyright notice of all files.
218
219 For older changes see ChangeLog-2018
220 \f
221 Copyright (C) 2019 Free Software Foundation, Inc.
222
223 Copying and distribution of this file, with or without modification,
224 are permitted in any medium without royalty provided the copyright
225 notice and this notice are preserved.
226
227 Local Variables:
228 mode: change-log
229 left-margin: 8
230 fill-column: 74
231 version-control: never
232 End:
This page took 0.043506 seconds and 5 git commands to generate.