Automatic date update in version.in
[deliverable/binutils-gdb.git] / gold / ChangeLog
CommitLineData
97aac4ec
L
12020-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
2b2d74f4
CC
92020-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
8a87b279
VDM
182020-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
8947abe6
L
242020-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
f22318ef
CC
482020-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
387a56a5
CC
562020-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
f12650bf
CC
622020-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
cd8d2039
AM
682020-12-07 Alan Modra <amodra@gmail.com>
69
70 * plugin.cc (Plugin_recorder::init): Replace strncpy with memcpy.
71
c6162010
AM
722020-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
4bccc875
L
782020-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
568cbddc
L
852020-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
8ca751ee
L
1062020-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
4e0e019f
AM
1302020-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
f1e05b19
MHD
1392020-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
d4820dac
L
1452020-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
b0d0d02b
AM
1532020-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
af61e84f
NG
1582020-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
b8fd9b80
L
1672020-10-30 H.J. Lu <hongjiu.lu@intel.com>
168
169 * testsuite/gnu_property_test.sh: Updated.
170
bec0b9f6
L
1712020-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
6c0005b8
L
1762020-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
29700bff
L
1892020-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
586e3094
L
1982020-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
6bf4a340
L
2282020-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
aac1d94f
L
2502020-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
1fb1d64f
L
2622020-10-13 H.J. Lu <hongjiu.lu@intel.com>
263
264 * icf.cc (Icf::find_identical_sections): Skip zero-sized sections.
265
fa40fbe4
AM
2662020-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
4290b0ab
AM
2802020-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
f5114272
L
2862020-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
f9ff65d4
AM
2922020-10-08 Alan Modra <amodra@gmail.com>
293
294 * options.h (split_stack_adjust_size): Default to 0x100000.
295
63e5eea2
AM
2962020-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
a993d270
AM
3152020-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
252dcdf4
AM
3202020-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
79ddc884
NC
3282020-08-12 Nick Clifton <nickc@redhat.com>
329
330 * po/sr.po: Updated Serbian translation.
331
afd2ea23
AM
3322020-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
9e6b9760
L
3572020-07-19 H.J. Lu <hongjiu.lu@intel.com>
358
359 * testsuite/bnd_ifunc_1.sh: Updated.
360 * testsuite/bnd_plt_1.sh: Likewise.
53752b85 361 * testsuite/split_x32.sh: Likewise.
9e6b9760
L
362 * testsuite/split_x86_64.sh: Likewise.
363 * testsuite/x86_64_indirect_call_to_direct.sh: Likewise.
364
a7f987e8
NC
3652020-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
4ac3fa49
NC
3732020-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
17550be7
NC
3782020-07-06 Nick Clifton <nickc@redhat.com>
379
380 * po/fr.po: Updated French translation.
381 * po/uk.po: Updated Ukranian translation.
382
b115b9fd
NC
3832020-07-04 Nick Clifton <nickc@redhat.com>
384
385 Binutils 2.35 branch created.
386
b657622c
AM
3872020-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
e755667f
NA
3942020-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
fb58f5e9
NC
4002020-06-24 Nick Clifton <nickc@redhat.com>
401
402 * target-reloc.h (issue_discarded_error): Initialise the
403 key_symndx variable.
404
f37b21b4
RM
4052020-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
9a17a136
FS
4182020-06-18 Fangrui Song <i@maskray.me>
419
420 PR gold/26039
421 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
422
423054be
AM
4232020-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
90cd2aad
AM
4282020-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
cae64165
RM
4352020-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
87c69f97
AM
4472020-06-06 Alan Modra <amodra@gmail.com>
448
449 * powerpc.cc: Update throughout for reloc renaming.
450
6f3fe02b
AM
4512020-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
6a31512f
NE
4582020-05-15 Nikita Ermakov <coffe92@gmail.com>
459
460 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
461
9d95b8e9
NC
4622020-05-14 Nick Clifton <nickc@redhat.com>
463
464 * po/sr.po: New Serbian translation.
465
7c1f4227
AM
4662020-05-11 Alan Modra <amodra@gmail.com>
467
468 * powerpc.cc: Rename powerxx to power10 throughout.
469
8c164434
L
4702020-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
ccf20d46
L
4852020-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
6d520e36
L
5022020-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
e10cfd06
L
5192020-05-01 H.J. Lu <hongjiu.lu@intel.com>
520
521 * testsuite/odr_violation2.cc (Ordering::operator()): Make
522 expression even more complex.
523
de6d6067
L
5242020-05-01 H.J. Lu <hongjiu.lu@intel.com>
525
526 * testsuite/ver_test_pr16504.sh: Updated.
527
48bc2182
L
5282020-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
e977e747
L
5352020-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
9a6c68ca
FS
5422020-03-19 Fangrui Song <maskray@google.com>
543
544 * options.h (General_options): Add --no-rosegment option.
545
45c63c0f
NC
5462020-02-24 Nick Clifton <nickc@redhat.com>
547
548 * po/fr.po: Update French translation.
549
26916852
NC
5502020-01-20 Nick Clifton <nickc@redhat.com>
551
552 * po/uk.po: Updated Ukranian translation.
553
1b1bb2c6
NC
5542020-01-18 Nick Clifton <nickc@redhat.com>
555
556 * configure: Regenerate.
557 * po/gold.pot: Regenerate.
558
ae774686
NC
5592020-01-18 Nick Clifton <nickc@redhat.com>
560
561 Binutils 2.34 branch created.
562
b14ce8bf
AM
5632020-01-01 Alan Modra <amodra@gmail.com>
564
565 Update year range in copyright notice of all files.
566
0b114740 567For older changes see ChangeLog-2019
3499769a 568\f
0b114740 569Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
570
571Copying and distribution of this file, with or without modification,
572are permitted in any medium without royalty provided the copyright
573notice and this notice are preserved.
574
575Local Variables:
576mode: change-log
577left-margin: 8
578fill-column: 74
579version-control: never
580End:
This page took 0.270301 seconds and 4 git commands to generate.