Commit | Line | Data |
---|---|---|
c2795844 AM |
1 | 2020-12-19 H.J. Lu <hjl.tools@gmail.com> |
2 | ||
3 | PR gold/27097 | |
4 | * incremental.cc (Sized_relobj_incr::do_add_symbols): Move sym | |
5 | declaration just before use. | |
6 | (Sized_incr_dynobj::do_add_symbols): Likewise. | |
7 | * plugin.cc (Sized_pluginobj::do_add_symbols): Likewise. | |
8 | ||
9 | 2020-12-15 Cary Coutant <ccoutant@gmail.com> | |
10 | ||
11 | * dwp.cc (class Dwo_file): Use new Ehdr::get_ei_osabi and | |
12 | get_ei_abiversion methods. | |
13 | * incremental.cc (make_sized_incremental_binary): Likewise. | |
14 | * object.cc (Sized_relobj_file::Sized_relobj_file): Likewise. | |
15 | (make_elf_sized_object): Likewise. | |
16 | * object.h (class Osabi): Make the class untemplated. | |
17 | ||
18 | 2020-12-15 Vivek Das Mohapatra <vivek@collabora.com> | |
19 | ||
20 | Implement -z unique / -z nounique options. | |
21 | * layout.cc (Layout::finish_dynamic_section): Set DF_GNU_1_UNIQUE. | |
22 | * options.h (class General_options): Handle -z unique, -z nounique. | |
23 | ||
24 | 2020-12-14 H.J. Lu <hjl.tools@gmail.com> | |
25 | Cary Coutant <ccoutant@gmail.com> | |
26 | ||
27 | PR gold/27039 | |
28 | * layout.cc (Layout::layout): Strip SHF_GNU_RETAIN. | |
29 | * object.cc (Sized_relobj_file::Sized_relobj_file): Initialize osabi_. | |
30 | (Sized_relobj_file::do_layout): Keep SHF_GNU_RETAIN sections for | |
31 | GNU/FreBSD ELFOSABIs. | |
32 | * object.h (Osabi) New class. | |
33 | (Sized_relobj_file): Add osabi() and osabi_. | |
34 | * testsuite/Makefile.am (check_SCRIPTS): Add retain.sh. | |
35 | (check_DATA): Add retain_1.out retain_2.out. | |
36 | (MOSTLYCLEANFILES): Add retain_1 retain_2. | |
37 | (retain_1.out): New target. | |
38 | (retain_1): Likewise. | |
39 | (retain_1.o): Likewise. | |
40 | (retain_2.out): Likewise. | |
41 | (retain_2): Likewise. | |
42 | (retain_2.o): Likewise. | |
43 | * testsuite/Makefile.in: Regenerate. | |
44 | * testsuite/retain.sh: New file. | |
45 | * testsuite/retain_1.s: Likewise. | |
46 | * testsuite/retain_2.s: Likewise. | |
47 | ||
48 | 2020-12-13 Cary Coutant <ccoutant@gmail.com> | |
49 | ||
50 | PR gold/23539 | |
51 | PR gold/24123 | |
52 | * testsuite/Makefile.am (incremental_copy_test): Re-enable for GCC 9+. | |
53 | (incremental_comdat_test_1): Likewise. | |
54 | * testsuite/Makefile.in: Regenerate. | |
55 | ||
56 | 2020-12-13 Cary Coutant <ccoutant@gmail.com> | |
57 | ||
58 | PR gold/23539 | |
59 | * object.cc (Sized_relobj_file::layout_gnu_property_section): Ignore | |
60 | Gnu properties during incremental links. | |
61 | ||
62 | 2020-12-13 Cary Coutant <ccoutant@gmail.com> | |
63 | ||
64 | PR gold/24123 | |
65 | * layout.cc (Layout::init_fixed_output_section): Mask out flags that | |
66 | should be ignored when matching sections. | |
67 | ||
68 | 2020-12-07 Alan Modra <amodra@gmail.com> | |
69 | ||
70 | * plugin.cc (Plugin_recorder::init): Replace strncpy with memcpy. | |
71 | ||
72 | 2020-12-03 Alan Modra <amodra@gmail.com> | |
73 | ||
74 | * testsuite/Makefile.am (pr26936a.o): Pass -mx86-used-note=yes. | |
75 | (pr26936b.o, pr26936c.o, pr26936d.o): Likewise. | |
76 | * testsuite/Makefile.in: Regenerate. | |
77 | ||
78 | 2020-11-29 H.J. Lu <hongjiu.lu@intel.com> | |
79 | ||
80 | PR ld/26972 | |
81 | * x86_64.cc (Output_data_plt_x86_64_ibt::tlsdesc_plt_entry): Add | |
82 | endbr64. | |
83 | (Output_data_plt_x86_64_ibt::do_fill_tlsdesc_entry): Adjusted. | |
84 | ||
85 | 2020-11-29 H.J. Lu <hongjiu.lu@intel.com> | |
86 | ||
87 | PR gold/26939 | |
88 | * x86_64.cc (Target_x86_64<size>::Scan::local): Check | |
89 | get_r_addend() == -4 for GOTPCRELX conversion. | |
90 | (Target_x86_64<size>::Scan::global): Likewise. | |
91 | (Target_x86_64<size>::Relocate::relocate): Likewise. | |
92 | * testsuite/Makefile.am (check_DATA): Add | |
93 | x86_64_mov_to_lea15.stdout and x86_64_mov_to_lea16.stdout. | |
94 | (MOSTLYCLEANFILES): Add x86_64_mov_to_lea15 and | |
95 | x86_64_mov_to_lea16. | |
96 | (x86_64_mov_to_lea9.o): New target. | |
97 | (x86_64_mov_to_lea10.o): Likewise. | |
98 | (x86_64_mov_to_lea15): Likewise. | |
99 | (x86_64_mov_to_lea16): Likewise. | |
100 | (x86_64_mov_to_lea15.stdout): Likewise. | |
101 | (x86_64_mov_to_lea16.stdout): Likewise. | |
102 | * testsuite/Makefile.in: Regenerated. | |
103 | * testsuite/x86_64_mov_to_lea.sh: Updated. | |
104 | * testsuite/x86_64_mov_to_lea5.s: New file. | |
105 | ||
106 | 2020-11-29 H.J. Lu <hongjiu.lu@intel.com> | |
107 | ||
108 | PR gold/26937 | |
109 | * object.cc (Sized_relobj_file::map_to_kept_section): Get the | |
110 | section index for linkonce section. Also check the single | |
111 | comdat section. | |
112 | * testsuite/Makefile.am (check_SCRIPTS): Add pr26936.sh. | |
113 | (check_DATA): Add pr26936a.stdout and pr26936b.stdout. | |
114 | (MOSTLYCLEANFILES): Add pr26936a and pr26936b. | |
115 | (pr26936a.stdout): New target. | |
116 | (pr26936a): Likewise. | |
117 | (pr26936b.stdout): Likewise. | |
118 | (pr26936b): Likewise. | |
119 | (pr26936a.o): Likewise. | |
120 | (pr26936b.o): Likewise. | |
121 | (pr26936c.o): Likewise. | |
122 | (pr26936d.o): Likewise. | |
123 | * testsuite/Makefile.in: Regenerated. | |
124 | * testsuite/pr26936.sh: New file. | |
125 | * testsuite/pr26936a.s: Likewise. | |
126 | * testsuite/pr26936b.s: Likewise. | |
127 | * testsuite/pr26936c.s: Likewise. | |
128 | * testsuite/pr26936d.s: Likewise. | |
129 | ||
130 | 2020-11-17 Alan Modra <amodra@gmail.com> | |
131 | ||
132 | * powerpc.cc (Target_powerpc::no_tprel_opt_): Rename from tprel_opt_. | |
133 | Init to false. | |
134 | (Target_powerpc::tprel_opt): Test parameters->options().tls_optimize(). | |
135 | (Target_powerpc::set_tprel_opt): Delete. | |
136 | (Target_powerpc::set_no_tprel_opt): New function. Update all uses | |
137 | of set_tprel_opt. | |
138 | ||
139 | 2020-11-16 Michael Hudson-Doyle <michael.hudson@canonical.com> | |
140 | ||
141 | PR 26902 | |
142 | * powerpc.cc (Relocate::relocate): Do not include local entry | |
143 | offset of target function when computing the address of a stub. | |
144 | ||
145 | 2020-11-08 H.J. Lu <hongjiu.lu@intel.com> | |
146 | ||
147 | PR gold/26200 | |
148 | * plugin.cc (Plugin_manager::claim_file): Don't share Plugin_list | |
149 | iterator. | |
150 | (Plugin_manager::all_symbols_read): Likewise. | |
151 | (Plugin_manager::cleanup): Likewise. | |
152 | ||
153 | 2020-11-03 Alan Modra <amodra@gmail.com> | |
154 | ||
155 | * powerpc.cc (Target_powerpc::tocsave_loc): Return a pointer. | |
156 | (Target_powerpc::Relocate::relocate): Avoid -Wdangling-gsl error. | |
157 | ||
158 | 2020-11-03 Nick Gasson <nick.gasson@arm.com> | |
159 | ||
160 | PR 26827 | |
161 | * fileread.cc (File_read::open): Ensure file_counts_lock is | |
162 | initialized. | |
163 | * testsuite/Makefile.am (check_PROGRAMS): Add a test that passes | |
164 | -Wl,--threads. | |
165 | * testsuite/Makefile.in: Regenerate. | |
166 | ||
167 | 2020-10-30 H.J. Lu <hongjiu.lu@intel.com> | |
168 | ||
169 | * testsuite/gnu_property_test.sh: Updated. | |
170 | ||
171 | 2020-10-22 H.J. Lu <hongjiu.lu@intel.com> | |
172 | ||
173 | * Makefile.am (bootstrap-test): Skip for LTO build. | |
174 | (bootstrap-test-r): Likewise. | |
175 | ||
176 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
177 | ||
178 | PR gold/23539 | |
179 | * configure.ac: Check for GCC 9 or later and for -fcf-protection. | |
180 | * configure: Regenerated. | |
181 | * testsuite/Makefile.am (check_PROGRAMS): Skip incremental_test_2, | |
182 | incremental_test_3, incremental_test_4, incremental_test_5, | |
183 | incremental_copy_test, incremental_common_test_1 and | |
184 | incremental_comdat_test_1 for -fcf-protection. Also Skip | |
185 | incremental_copy_test and incremental_comdat_test_1 for GCC 9 or | |
186 | later. | |
187 | * testsuite/Makefile.in: Regenerated. | |
188 | ||
189 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
190 | ||
191 | PR gold/23503 | |
192 | * testsuite/Makefile.am (justsyms_lib): Pass | |
193 | -T $(srcdir)/justsyms_lib.t to gold. | |
194 | * testsuite/Makefile.in: Regenerated. | |
195 | * testsuite/justsyms_lib.t: New file. | |
196 | * testsuite/script_test_10.t: Discard .note.gnu.property section. | |
197 | ||
198 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
199 | ||
200 | * x86_64.cc (Target_x86_64::Target_x86_64): Initialize | |
201 | feature_2_used_, feature_2_needed_ and object_feature_2_used_. | |
202 | (Target_x86_64::feature_2_used_): New data member. | |
203 | (Target_x86_64::feature_2_needed_): Likewise. | |
204 | (Target_x86_64::object_isa_1_used_): Likewise. | |
205 | (Target_x86_64::record_gnu_property): Support | |
206 | GNU_PROPERTY_X86_COMPAT_ISA_1_USED, | |
207 | GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED, | |
208 | GNU_PROPERTY_X86_COMPAT_2_ISA_1_USED, | |
209 | GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED, | |
210 | GNU_PROPERTY_X86_FEATURE_2_USED and | |
211 | GNU_PROPERTY_X86_FEATURE_2_NEEDED. | |
212 | (Target_x86_64::merge_gnu_properties): Merge FEATURE_2_USED bits. | |
213 | Initialize object_feature_2_used_. | |
214 | (Target_x86_64::do_finalize_gnu_properties): Support | |
215 | GNU_PROPERTY_X86_FEATURE_2_USED and | |
216 | GNU_PROPERTY_X86_FEATURE_2_NEEDED. | |
217 | * testsuite/gnu_property_a.S (GNU_PROPERTY_X86_ISA_1_USED): Set | |
218 | to 0xc0010002. | |
219 | (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. | |
220 | * testsuite/gnu_property_b.S (GNU_PROPERTY_X86_ISA_1_USED): Set | |
221 | to 0xc0010002. | |
222 | (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. | |
223 | * testsuite/gnu_property_c.S (GNU_PROPERTY_X86_ISA_1_USED): Set | |
224 | to 0xc0010002. | |
225 | (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. | |
226 | * testsuite/gnu_property_test.sh: Updated. | |
227 | ||
228 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
229 | ||
230 | PR gold/22914 | |
231 | PR gold/23535 | |
232 | * layout.cc (Layout::attach_allocated_section_to_segment): Place | |
233 | a note section in a PT_NOTE segment with the same alignment. Set | |
234 | the alignment of the PT_NOTE segment from the alignment of the | |
235 | note section. | |
236 | (Layout::create_note): Align the NT_GNU_PROPERTY_TYPE_0 note to 8 | |
237 | bytes for 64-bit ELF. | |
238 | (Layout::segment_precedes): Place segments with larger alignments | |
239 | first. | |
240 | * output.cc (Output_segment::Output_segment): Initialize align_. | |
241 | * output.h (Output_segment): Add align, set_align and align_. | |
242 | * testsuite/Makefile.am (gnu_property_test.stdout): Pass -lhSWn | |
243 | to $(TEST_READELF). | |
244 | (gnu_property_test): Pass --build-id to ld. | |
245 | * testsuite/Makefile.in: Regenerated. | |
246 | * testsuite/gnu_property_test.sh (check_alignment): New. | |
247 | Use check_alignment to check the NT_GNU_PROPERTY_TYPE_0 note | |
248 | alignment. Verify that there are 2 PT_NOTE segments. | |
249 | ||
250 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
251 | ||
252 | PR gold/21452 | |
253 | * x86_64.cc (Scan::local_reloc_may_be_function_pointer): Remove | |
254 | check for shared library. | |
255 | (Scan::global_reloc_may_be_function_pointer): Remove check for | |
256 | shared library and symbol visibility. | |
257 | * testsuite/icf_safe_so_test.cc (bar_static): New function. | |
258 | (main): Take function address of bar_static and use it. | |
259 | * testsuite/icf_safe_so_test.sh (arch_specific_safe_fold): Also | |
260 | check fold on x86-64. Check bar_static isn't folded. | |
261 | ||
262 | 2020-10-13 H.J. Lu <hongjiu.lu@intel.com> | |
263 | ||
264 | * icf.cc (Icf::find_identical_sections): Skip zero-sized sections. | |
265 | ||
266 | 2020-10-09 Alan Modra <amodra@gmail.com> | |
267 | ||
268 | * powerpc.cc (Powerpc_relobj::do_relocate_sections): Don't do | |
269 | local entry offset optimisation for lplt_section. | |
270 | (Target_powerpc::Branch_info::make_stub): Don't add local | |
271 | entry offset to long branch dest passed to | |
272 | add_long_branch_entry. Do pass st_other bits. | |
273 | (Stub_table::Branch_stub_ent): Add "other_" field. | |
274 | (Stub_table::add_long_branch_entry): Add "other" param, and | |
275 | save. | |
276 | (Stub_table::branch_stub_size): Adjust long branch offset. | |
277 | (Stub_table::do_write): Likewise. | |
278 | (Target_powerpc::Relocate::relocate): Likewise. | |
279 | ||
280 | 2020-10-09 Alan Modra <amodra@gmail.com> | |
281 | ||
282 | * powerpc.cc (is_got_reloc): New function. | |
283 | (Target_powerpc::Relocate::relocate): Use it here, exclude GOT | |
284 | relocs when looking for stubs. | |
285 | ||
286 | 2020-10-08 H.J. Lu <hongjiu.lu@intel.com> | |
287 | ||
288 | * testsuite/split_i386.sh: Updated for --split-stack-adjust-size | |
289 | default change. | |
290 | * testsuite/split_x86_64.sh: Likewise. | |
291 | ||
292 | 2020-10-08 Alan Modra <amodra@gmail.com> | |
293 | ||
294 | * options.h (split_stack_adjust_size): Default to 0x100000. | |
295 | ||
296 | 2020-09-26 Alan Modra <amodra@gmail.com> | |
297 | ||
298 | * powerpc.cc (Target_powerpc): Rename power10_stubs_ to | |
299 | power10_relocs_. | |
300 | (Target_powerpc::set_power10_relocs): New accessor. | |
301 | (Target_powerpc::set_power10_stubs): Delete. | |
302 | (Target_powerpc::power10_stubs): Adjust. | |
303 | (Target_powerpc::has_localentry0): New accessor. | |
304 | (ld_0_11): New constant. | |
305 | (glink_eh_frame_fde_64v1, glink_eh_frame_fde_64v2): Adjust. | |
306 | (glink_eh_frame_fde_64v2_localentry0): New. | |
307 | (Output_data_glink::pltresolve_size): Update. | |
308 | (Output_data_glink::add_eh_frame): Use localentry0 version eh_frame. | |
309 | (Output_data_glink::do_write): Move r2 save to start of ELFv2 stub | |
310 | and only emit for has_localentry0. Don't use r2 in the stub. | |
311 | (Target_powerpc::Scan::local, global): Adjust for | |
312 | set_power10_relocs renaming. | |
313 | (Target_powerpc::scan_relocs): Warn and reset plt_localentry0_. | |
314 | ||
315 | 2020-09-24 Alan Modra <amodra@gmail.com> | |
316 | ||
317 | * powerpc.cc (Target_powerpc::Relocate::relocate): Don't skip | |
318 | first insn of __tls_get_addr_opt stub. | |
319 | ||
320 | 2020-08-24 Alan Modra <amodra@gmail.com> | |
321 | ||
322 | * powerpc.cc (Target_powerpc): Add tprel_opt_ and accessors. | |
323 | (Target_powerpc::Scan::local): Sanity check tprel high relocs. | |
324 | (Target_powerpc::Scan::global): Likewise. | |
325 | (Target_powerpc::Relocate::relocate): Control tprel optimisation | |
326 | with tprel_opt_ and enable for 32-bit. | |
327 | ||
328 | 2020-08-12 Nick Clifton <nickc@redhat.com> | |
329 | ||
330 | * po/sr.po: Updated Serbian translation. | |
331 | ||
332 | 2020-07-27 Alan Modra <amodra@gmail.com> | |
333 | ||
334 | * options.h (DEFINE_enum): Add optional_arg__ param, adjust | |
335 | all uses. | |
336 | (General_options): Add --power10-stubs and --no-power10-stubs. | |
337 | * options.cc (General_options::parse_no_power10_stubs): New. | |
338 | (General_options::finalize): Handle --power10-stubs. | |
339 | * powerpc.cc (set_power10_stubs): Don't set when --power10-stubs=no. | |
340 | (power10_stubs_auto): New. | |
341 | (struct Plt_stub_ent): Add toc_ and tocoff_. Don't use a bitfield | |
342 | for indx_. | |
343 | (struct Branch_stub_ent): Add toc_and tocoff_. Use bitfields for | |
344 | iter_, notoc_ and save_res_. | |
345 | (add_plt_call_entry): Set toc_. Adjust resizing conditions for | |
346 | --power10-stubs=auto. | |
347 | (add_long_branch_entry): Set toc_. | |
348 | (add_eh_frame, define_stub_syms): No longer use const_iterators | |
349 | for plt and long branch stub iteration. | |
350 | (build_tls_opt_head, build_tls_opt_tail): Change parameters and | |
351 | return value. Move tests for __tls_get_addr to callers. | |
352 | (plt_call_size): Handle --power10-stubs=auto. | |
353 | (branch_stub_size): Likewise. | |
354 | (Stub_table::do_write): Likewise. | |
355 | (relocate): Likewise. | |
356 | ||
357 | 2020-07-19 H.J. Lu <hongjiu.lu@intel.com> | |
358 | ||
359 | * testsuite/bnd_ifunc_1.sh: Updated. | |
360 | * testsuite/bnd_plt_1.sh: Likewise. | |
361 | * testsuite/split_x32.sh: Likewise. | |
362 | * testsuite/split_x86_64.sh: Likewise. | |
363 | * testsuite/x86_64_indirect_call_to_direct.sh: Likewise. | |
364 | ||
365 | 2020-07-08 Nick Clifton <nickc@redhat.com> | |
366 | ||
367 | * testsuite/script_test_7.sh: Adjust expected address of the .bss | |
368 | section. | |
369 | * testsuite/script_test_9.sh: Do not expect the .init section to | |
370 | immediately follow the .text section in the mapping of sections to | |
371 | segments. | |
372 | ||
373 | 2020-07-07 Nick Clifton <nickc@redhat.com> | |
374 | ||
375 | * target-reloc.h: (Default_comdat_behaviour:get): Ignore discarded | |
376 | relocs that refer to the .gnu.build.attributes section. | |
377 | ||
378 | 2020-07-06 Nick Clifton <nickc@redhat.com> | |
379 | ||
380 | * po/fr.po: Updated French translation. | |
381 | * po/uk.po: Updated Ukranian translation. | |
382 | ||
383 | 2020-07-04 Nick Clifton <nickc@redhat.com> | |
384 | ||
385 | Binutils 2.35 branch created. | |
386 | ||
387 | 2020-07-03 Alan Modra <amodra@gmail.com> | |
388 | ||
389 | PR 26028 | |
390 | * testsuite/Makefile.am (file_in_many_sections.stdout): Add -W | |
391 | to readelf options. | |
392 | * testsuite/Makefile.in: Regenerate. | |
393 | ||
394 | 2020-06-26 Nick Alcock <nick.alcock@oracle.com> | |
395 | ||
396 | * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls. | |
397 | * configure: Regenerated. | |
398 | * config.h.in: Likewise. | |
399 | ||
400 | 2020-06-24 Nick Clifton <nickc@redhat.com> | |
401 | ||
402 | * target-reloc.h (issue_discarded_error): Initialise the | |
403 | key_symndx variable. | |
404 | ||
405 | 2020-06-23 Roland McGrath <mcgrathr@google.com> | |
406 | ||
407 | PR 22843 | |
408 | * options.h (class General_options): Add --dependency-file option. | |
409 | * fileread.cc (File_read::files_read): New static variable. | |
410 | (File_read::open): Add the file to the files_read list. | |
411 | (File_read::record_file_read): New static member function. | |
412 | (File_read::write_dependency_file): New static member function. | |
413 | * fileread.h (class File_read): Declare them. | |
414 | * layout.cc (Layout::read_layout_from_file): Call record_file_read. | |
415 | (Close_task_runner::run): Call write_dependency_file if | |
416 | --dependency-file was passed. | |
417 | ||
418 | 2020-06-18 Fangrui Song <i@maskray.me> | |
419 | ||
420 | PR gold/26039 | |
421 | * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE. | |
422 | ||
423 | 2020-06-16 Alan Modra <amodra@gmail.com> | |
424 | ||
425 | * testsuite/discard_locals_test.c: Replace uses of asm with __asm__. | |
426 | * testsuite/discard_locals_relocatable_test.c: Likewise. | |
427 | ||
428 | 2020-06-16 Alan Modra <amodra@gmail.com> | |
429 | ||
430 | * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE. | |
431 | (plugin_test_wrap_symbols_1.o): Likewise. | |
432 | (plugin_test_wrap_symbols_2.o): Likewise. | |
433 | * testsuite/Makefile.in: Regenerate. | |
434 | ||
435 | 2020-06-15 Roland McGrath <mcgrathr@google.com> | |
436 | ||
437 | Implement -z start-stop-visibility=... option. | |
438 | * options.h (class General_options): Handle -z start-stop-visibility=. | |
439 | (General_options::start_stop_visibility_enum): New public method. | |
440 | (General_options::set_start_stop_visibility_enum): New private method. | |
441 | (General_options::start_stop_visibility_enum_): New private member. | |
442 | * options.cc (General_options::General_options): Add initializer. | |
443 | (General_options::finalize): Set this->start_stop_visibility_enum_ | |
444 | from string value. | |
445 | * layout.cc (Layout::define_section_symbols): Use option setting. | |
446 | ||
447 | 2020-06-06 Alan Modra <amodra@gmail.com> | |
448 | ||
449 | * powerpc.cc: Update throughout for reloc renaming. | |
450 | ||
451 | 2020-05-22 Alan Modra <amodra@gmail.com> | |
452 | ||
453 | PR 25882 | |
454 | * powerpc.cc (merge_object_attributes): Replace name param with | |
455 | obj param. Update callers. Don't init FP attributes from shared | |
456 | libraries, and do not emit an error if they don't match. | |
457 | ||
458 | 2020-05-15 Nikita Ermakov <coffe92@gmail.com> | |
459 | ||
460 | * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols. | |
461 | ||
462 | 2020-05-14 Nick Clifton <nickc@redhat.com> | |
463 | ||
464 | * po/sr.po: New Serbian translation. | |
465 | ||
466 | 2020-05-11 Alan Modra <amodra@gmail.com> | |
467 | ||
468 | * powerpc.cc: Rename powerxx to power10 throughout. | |
469 | ||
470 | 2020-05-02 H.J. Lu <hongjiu.lu@intel.com> | |
471 | ||
472 | PR gold/25904 | |
473 | * testsuite/Makefile.am (COMMON_TEST_C_CFLAGS): New. | |
474 | (common_test_1.o): New rule. | |
475 | (common_test_2.o): Likewise. | |
476 | (common_test_3.o): Likewise. | |
477 | (plugin_common_test_1.o): Likewise. | |
478 | (plugin_common_test_2.o): Likewise. | |
479 | (common_test_1_v1.o): Likewise. | |
480 | (common_test_1_v2.o): Likewise. | |
481 | (common_test_2_pic.o): Compile with $(COMMON_TEST_C_CFLAGS). | |
482 | (common_test_3_pic.o): Likewise. | |
483 | * testsuite/Makefile.in: Regenerated. | |
484 | ||
485 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
486 | ||
487 | PR gold/25426 | |
488 | * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie): | |
489 | For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to | |
490 | "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)" | |
491 | to "nopl (%rax)". | |
492 | (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32, | |
493 | relax "rex leal foo@tlsdesc(%rip), %reg" to | |
494 | "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)" | |
495 | to "nopl (%rax)". | |
496 | * testsuite/Makefile.am (tls_test_gnu2.o): Depend on | |
497 | gcctestdir/as. | |
498 | (tls_test_file2_gnu2.o): Likewise. | |
499 | (tls_test_c_gnu2.o): Likewise. | |
500 | * testsuite/Makefile.in: Regenerated. | |
501 | ||
502 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
503 | ||
504 | PR gold/25473 | |
505 | * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie): | |
506 | Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg". | |
507 | (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly | |
508 | relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg". | |
509 | * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh. | |
510 | (check_DATA): Add x86_64_gd_to_le.stdout. | |
511 | (MOSTLYCLEANFILES): Add x86_64_gd_to_le. | |
512 | (x86_64_gd_to_le.o): New target. | |
513 | (x86_64_gd_to_le): Likewise. | |
514 | (x86_64_gd_to_le.stdout): Likewise. | |
515 | * testsuite/Makefile.in: Regenerated. | |
516 | * testsuite/x86_64_gd_to_le.s: New file. | |
517 | * testsuite/x86_64_gd_to_le.sh: Likewise. | |
518 | ||
519 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
520 | ||
521 | * testsuite/odr_violation2.cc (Ordering::operator()): Make | |
522 | expression even more complex. | |
523 | ||
524 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
525 | ||
526 | * testsuite/ver_test_pr16504.sh: Updated. | |
527 | ||
528 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
529 | ||
530 | PR gold/25872 | |
531 | * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment | |
532 | plt_offset after setting the reserved TLSDESC PLT entry. | |
533 | (Output_data_plt_x86_64_ibt<size>::do_write): Likewise. | |
534 | ||
535 | 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> | |
536 | ||
537 | PR gold/25872 | |
538 | * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local): | |
539 | Handle local IFUNC symbol. | |
540 | (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise. | |
541 | ||
542 | 2020-03-19 Fangrui Song <maskray@google.com> | |
543 | ||
544 | * options.h (General_options): Add --no-rosegment option. | |
545 | ||
546 | 2020-02-24 Nick Clifton <nickc@redhat.com> | |
547 | ||
548 | * po/fr.po: Update French translation. | |
549 | ||
550 | 2020-01-20 Nick Clifton <nickc@redhat.com> | |
551 | ||
552 | * po/uk.po: Updated Ukranian translation. | |
553 | ||
554 | 2020-01-18 Nick Clifton <nickc@redhat.com> | |
555 | ||
556 | * configure: Regenerate. | |
557 | * po/gold.pot: Regenerate. | |
558 | ||
559 | 2020-01-18 Nick Clifton <nickc@redhat.com> | |
560 | ||
561 | Binutils 2.34 branch created. | |
562 | ||
563 | 2020-01-01 Alan Modra <amodra@gmail.com> | |
564 | ||
565 | Update year range in copyright notice of all files. | |
566 | ||
567 | For older changes see ChangeLog-2019 | |
568 | \f | |
569 | Copyright (C) 2020 Free Software Foundation, Inc. | |
570 | ||
571 | Copying and distribution of this file, with or without modification, | |
572 | are permitted in any medium without royalty provided the copyright | |
573 | notice and this notice are preserved. | |
574 | ||
575 | Local Variables: | |
576 | mode: change-log | |
577 | left-margin: 8 | |
578 | fill-column: 74 | |
579 | version-control: never | |
580 | End: |