1 2018-06-23 Cary Coutant <ccoutant@gmail.com>
4 * x86_64.cc (Target_x86_64::record_gnu_property): Initialize val.
6 2018-06-23 Cary Coutant <ccoutant@gmail.com>
9 * x86_64.cc (Output_data_plt_x86_64_ibt): New class.
10 (Target_x86_64::do_make_data_plt): (All instantiations) Check for
11 IBT feature bit and create IBT PLTs.
13 2018-06-22 Cary Coutant <ccoutant@gmail.com>
16 * layout.cc (read_sized_value): Fix spelling of section name.
17 (Layout::layout_gnu_property): Call Sized_target::record_gnu_property
18 for target-specific properties;
19 don't store them with target-independent properties yet.
20 (Layout::merge_gnu_properties): New method.
21 (Layout::add_gnu_property): New method.
22 (Layout::create_gnu_properties_note): Call target to finalize
23 target-specific properties. Fix spelling of output section name.
24 * layout.h (Layout::merge_gnu_properties): New method.
25 (Layout::add_gnu_property): New method.
26 * object.cc (Sized_relobj_file::do_layout): Call
27 Layout::merge_gnu_properties.
28 * target.h (Target::merge_gnu_property): Remove.
29 (Target::finalize_gnu_properties): New method.
30 (Target::do_merge_gnu_property): Move to Sized_target and rename.
31 (Target::do_finalize_gnu_properties): New virtual method.
32 (Sized_target::record_gnu_property): Moved and renamed from
33 Target::do_merge_gnu_property.
34 (Sized_target::merge_gnu_properties): New virtual method.
35 * x86_64.cc (Target_x86_64::isa_1_used_, isa_1_needed_)
36 (feature_1_, object_feature_1_, seen_first_object_): New data members.
37 (Target_x86_64::do_merge_gnu_property): Rename to ...
38 (Target_x86_64::record_gnu_property): ... this. Save target-specific
39 properties in Target class object.
40 (Target_x86_64::merge_gnu_properties): New method.
41 (add_property): New static inline function.
42 (Target_x86_64::do_finalize_gnu_properties): New method.
43 * testsuite/Makefile.am (gnu_property_test): Remove C source file;
44 link directly without compiler driver.
45 * testsuite/Makefile.in: Regenerate.
46 * testsuite/gnu_property_a.S: Add _start.
48 2018-06-22 Cary Coutant <ccoutant@gmail.com>
50 * incremental.cc (Sized_incremental_binary::setup_readers): Use
51 emplace_back for GCC 5 and later.
52 * incremental.h (Incremental_binary::Input_reader): Provide copy
54 (Sized_incremental_binary::Sized_input_reader): Likewise.
56 2018-06-22 Cary Coutant <ccoutant@gmail.com>
59 * layout.cc (Layout::Layout): Initialize gnu_properties_.
60 (read_sized_value, write_sized_value): New functions.
61 (Layout::layout_gnu_property): New method.
62 (Layout::create_notes): Call create_gnu_properties_note.
63 (Layout::create_gnu_properties_note): New method.
64 * layout.h (Layout::layout_gnu_property): New method.
65 (Layout::create_gnu_properties_note): New method.
66 (Layout::Gnu_property, Layout::Gnu_properties): New types.
67 (Layout::gnu_properties_): New data member.
68 * object.cc (Sized_relobj_file::layout_gnu_property_section): New
70 (Sized_relobj_file::do_layout): Handle .note.gnu.property sections.
71 * object.h (Sized_relobj_file::layout_gnu_property_section): New
73 * target.h (Target::merge_gnu_property): New method.
74 (Target::do_merge_gnu_property): New virtual method.
75 * x86_64.cc (Target_x86_64::do_merge_gnu_property): New method.
76 * testsuite/Makefile.am (gnu_property_test): New test case.
77 * testsuite/Makefile.in: Regenerate.
78 * testsuite/gnu_property_a.S: New source file.
79 * testsuite/gnu_property_b.S: New source file.
80 * testsuite/gnu_property_c.S: New source file.
81 * testsuite/gnu_property_main.c: New source file.
82 * testsuite/gnu_property_test.sh: New test script.
84 2018-06-21 Cary Coutant <ccoutant@gmail.com>
86 * resolve.cc (Symbol_table::resolve): Rename tobinding to
87 orig_tobinding. Call set_is_needed() for objects that resolve
89 (Symbol_table::should_override): Allow a dynamic definition to
90 override an earlier one in a not-needed library.
91 * symtab.cc (Symbol_table::set_dynsym_indexes): Remove separate
92 processing for as-needed symbols. Add warning when discarding
94 * testsuite/Makefile.am (weak_as_needed): New test case.
95 * testsuite/Makefile.in: Regenerate.
96 * testsuite/weak_as_needed.sh: New test script.
97 * testsuite/weak_as_needed_a.c: New source file.
98 * testsuite/weak_as_needed_b.c: New source file.
99 * testsuite/weak_as_needed_b.script: New version script.
100 * testsuite/weak_as_needed_c.c: New source file.
101 * testsuite/weak_as_needed_c.script: New version script.
103 2018-06-20 Cary Coutant <ccoutant@gmail.com>
106 * dynobj.cc (Versions::Versions): Change init for needs_base_version_.
107 (Versions::record_version): Add verdefs for both shared objects and
109 (Versions::add_def): Likewise for base version.
110 (Versions::add_need): Don't add base version for executables.
111 (Versions::version_index): Look up version for both shared objects and
113 * testsuite/Makefile.am (ver_test_14): New test case.
114 * testsuite/Makefile.in: Regenerate.
115 * testsuite/ver_test_14.script: New version script.
116 * testsuite/ver_test_14.sh: New test script.
118 2018-06-19 Joshua Watt <jpewhacker@gmail.com>
119 Cary Coutant <ccoutant@gmail.com>
121 * configure.ac: Replace manual thread configuration with AX_PTHREAD.
122 Add --enable-threads=auto.
123 * Makefile.am (THREADFLAGS, THREADLIBS): New defines.
124 (AM_CFLAGS, AM_CXXFLAGS): Add $(THREADFLAGS).
125 (THREADSLIB): Remove; change all references to THREADLIBS.
126 * Makefile.in: Regenerate.
127 * aclocal.m4: Regenerate.
128 * config.in: Regenerate.
129 * configure: Regenerate.
130 * testsuite/Makefile.am (THREADSLIB): Replace with...
131 (THREADFLAGS, THREADLIBS): ... these.
132 (LDADD): Remove; add as individual defines for...
133 (object_unittest, binary_unittest, leb128_unittest)
134 (overflow_unittest): ... these tests.
135 (tls_test, tls_pic_test, tls_pie_test, tls_pie_pic_test)
136 (tls_shared_test, tls_shared_ie_test, tls_shared_gd_to_ie_test)
137 (tls_shared_gnu2_gd_to_ie_test, tls_shared_gnu2_test_LDFLAGS)
138 (tls_shared_nonpic_test_LDFLAGS): Add $(THREADFLAGS) and ($THREADLIBS).
139 * testsuite/Makefile.in: Regenerate.
141 2018-06-19 Cary Coutant <ccoutant@gmail.com>
143 * testsuite/Makefile.am (MOSTLYCLEANFILES): Add *.stderr.
144 * testsuite/Makefile.in: Regenerate.
146 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
148 * configure.ac: Remove AC_PREREQ, add missing quoting and usage
150 * Makefile.in: Re-generate.
151 * aclocal.m4: Re-generate.
152 * configure: Re-generate.
153 * testsuite/Makefile.in: Re-generate.
155 2018-05-10 Stephen Crane <sjc@immunant.com>
157 * aarch64.cc (Target_aarch64::do_finalize_sections): Use size of
158 .got section for the _GLOBAL_OFFSET_TABLE_ symbol computation.
160 2018-04-24 Cary Coutant <ccoutant@gmail.com>
164 * gc.h (gc_process_relocs): Flag STT_SECTION symbols in symvec.
165 * icf.cc (get_section_contents): For merge sections, ignore the
166 addend for relocations against non-section symbols.
168 2018-04-24 Cary Coutant <ccoutant@gmail.com>
171 * dynobj.cc (Versions::symbol_section_contents): Don't set
172 VERSYM_HIDDEN flag for undefined symbols.
173 * symtab.cc (Symbol_table::add_from_object): Don't override default
174 version definition with a different default version.
175 * symtab.h (Symbol::from_dyn): New method.
176 * testsuite/plugin_test.c (struct sym_info): Add ver field.
177 (claim_file_hook): Pass symbol version to plugin API.
178 (parse_readelf_line): Parse symbol version.
179 * testsuite/Makefile.am (ver_test_pr16504): New test case.
180 * testsuite/Makefile.in: Regenerate.
181 * testsuite/ver_test_pr16504.sh: New test script.
182 * testsuite/ver_test_pr16504_a.c: New source file.
183 * testsuite/ver_test_pr16504_a.script: New version script.
184 * testsuite/ver_test_pr16504_b.c: New source file.
185 * testsuite/ver_test_pr16504_b.script: New version script.
187 2018-04-19 Cary Coutant <ccoutant@gmail.com>
190 * gc.h (gc_process_relocs): Pass target to
191 scan.local_reloc_may_be_function_pointer.
193 2018-04-18 Nick Clifton <nickc@redhat.com>
195 * po/es.po: Updated Spanish translation.
197 2018-04-14 Cary Coutant <ccoutant@gmail.com>
200 * gc.h (gc_process_relocs): Pass target to
201 scan.global_reloc_may_be_function_pointer.
203 2018-04-09 Alan Modra <amodra@gmail.com>
205 * configure: Regenerate.
207 2018-04-09 Alan Modra <amodra@gmail.com>
209 * powerpc.cc (Target_powerpc::Track_tls::maybe_skip_tls_get_addr_call):
210 Handle inline plt sequence relocs.
211 (Stub_table::Plt_stub_key::Plt_stub_key): Likewise.
212 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Likewise.
213 (Target_powerpc::Relocate::relocate): Likewise.
215 2018-04-09 Alan Modra <amodra@gmail.com>
217 * powerpc.cc (Target_powerpc::lplt_): New variable.
218 (Target_powerpc::lplt_section): Associated accessor.
219 (Target_powerpc::plt_off): Handle local non-ifunc symbols.
220 (Target_powerpc::make_lplt_section): New function.
221 (Target_powerpc::make_local_plt_entry): New function.
222 (Powerpc_relobj::do_relocate_sections): Write out lplt.
223 (Output_data_plt_powerpc::first_plt_entry_offset): Zero for lplt.
224 (Output_data_plt_powerpc::add_local_entry): New function.
225 (Output_data_plt_powerpc::do_write): Ignore lplt.
226 (Target_powerpc::make_iplt_section): Make lplt first.
227 (Target_powerpc::make_brlt_section): Make .branch_lt relro.
228 (Target_powerpc::Scan::local): Handle PLT16 relocs.
230 2018-04-09 Alan Modra <amodra@gmail.com>
232 * powerpc.cc (Target_powerpc::plt_off): New functions.
233 (is_plt16_reloc): New function.
234 (Stub_table::plt_off): Use Target_powerpc::plt_off.
235 (Stub_table::plt_call_size): Use plt_off.
236 (Stub_table::do_write): Likewise.
237 (Target_powerpc::Scan::get_reference_flags): Return RELATIVE_REF
238 for PLT16 relocations.
239 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Return true
240 for PLT16 relocations.
241 (Target_powerpc::Scan::global): Make a PLT entry for PLT16 relocations.
242 (Target_powerpc::Relocate::relocate): Support PLT16 relocations.
243 (Powerpc_scan_relocatable_reloc::global_strategy): Return RELOC_SPECIAL
244 for ppc32 plt16 relocs.
246 2018-04-06 Cary Coutant <ccoutant@gmail.com>
248 * object.cc (Sized_relobj_file::include_section_group): Store
249 reference to Kept_section info for discarded comdat sections
250 regardless of size. Move size checking to map_to_kept_section.
251 (Sized_relobj_file::include_linkonce_section): Likewise.
252 (Sized_relobj_file::map_to_kept_section): Add section name parameter.
253 Insert size checking logic from above functions.
254 (Sized_relobj_file::find_kept_section_object): New method.
255 (Sized_relobj_file::get_symbol_name): New method.
256 * object.h (Sized_relobj_file::map_to_kept_section): Add section_name
257 parameter. Adjust all callers.
258 (Sized_relobj_file::find_kept_section_object): New method.
259 (Sized_relobj_file::get_symbol_name): New method.
260 (Sized_relobj_file::Kept_comdat_section): Replace object and shndx
261 fields with sh_size, kept_section, symndx, and is_comdat fields.
262 (Sized_relobj_file::set_kept_comdat_section): Replace kept_object
263 and kept_shndx parameters with is_comdat, symndx, sh_size, and
265 (Sized_relobj_file::get_kept_comdat_section): Likewise.
266 * target-reloc.h (enum Comdat_behavior): Change CB_WARNING to CB_ERROR.
267 Adjust all references.
268 (issue_undefined_symbol_error): New function template.
269 (relocate_section): Pass section name to map_to_kept_section.
270 Move discarded section code to new function above.
271 * aarch64.cc (Target_aarch64::scan_reloc_section_for_stubs): Move
272 declaration for gsym out one level. Call issue_discarded_error.
273 * arm.cc (Target_arm::scan_reloc_section_for_stubs): Likewise.
274 * powerpc.cc (Relocate_comdat_behavior): Change CB_WARNING to CB_ERROR.
276 2018-04-05 Cary Coutant <ccoutant@gmail.com>
278 * target-reloc.h (relocate_section): Add local symbol index or global
279 symbol name to warning about relocation that refers to discarded
282 2018-04-05 James Cowgill <james.cowgill@mips.com>
284 Revert previous patch and apply revised patch.
287 * mips.cc (Mips_got_info::record_got_page_entry): Don't insert
288 Got_page_entry for object's GOT.
289 (Mips_got_info::add_got_page_entries): Add all pages from from's GOT.
290 Rename to add_got_page_count.
291 (Got_page_entry): Remove num_pages.
293 2018-04-05 James Cowgill <james.cowgill@mips.com>
296 * mips.cc (Mips_got_info::record_got_page_entry): Fetch existing
297 page entries for the object's GOT.
299 2018-04-05 Alan Modra <amodra@gmail.com>
301 * powerpc.cc (Target_powerpc::make_brlt_section): Make .branch_lt relro.
303 2018-04-04 Nick Clifton <nickc@redhat.com>
305 * po/es.po: Updated Spanish translation.
307 2018-04-02 Cary Coutant <ccoutant@gmail.com>
310 * incremental.cc (can_incremental_update): Check for unwind section
312 * layout.h (Layout::layout): Add sh_type parameter.
313 * layout.cc (Layout::layout): Likewise.
314 (Layout::layout_reloc): Create new output reloc section if data
315 section does not already have one.
316 (Layout::layout_eh_frame): Check for unwind section type.
317 (Layout::make_eh_frame_section): Use unwind section type for .eh_frame
319 * object.h (Sized_relobj_file::Shdr_write): New typedef.
320 (Sized_relobj_file::layout_section): Add sh_type parameter.
321 (Sized_relobj_file::Deferred_layout::Deferred_layout): Add sh_type
323 * object.cc (Sized_relobj_file::check_eh_frame_flags): Check for
325 (Sized_relobj_file::layout_section): Add sh_type parameter; pass it
327 (Sized_relobj_file::do_layout): Make local copy of sh_type.
328 Force .eh_frame sections to unwind section type.
329 Pass sh_type to layout_section.
330 (Sized_relobj_file<size, big_endian>::do_layout_deferred_sections):
331 Pass sh_type to layout_section.
332 * output.cc (Output_section::Output_section): Initialize reloc_section_.
333 * output.h (Output_section::reloc_section): New method.
334 (Output_section::set_reloc_section): New method.
335 (Output_section::reloc_section_): New data member.
336 * target.h (Target::unwind_section_type): New method.
337 (Target::Target_info::unwind_section_type): New data member.
339 * aarch64.cc (aarch64_info): Add unwind_section_type.
340 * arm.cc (arm_info, arm_nacl_info): Likewise.
341 * i386.cc (i386_info, i386_nacl_info, iamcu_info): Likewise.
342 * mips.cc (mips_info, mips_nacl_info): Likewise.
343 * powerpc.cc (powerpc_info): Likewise.
344 * s390.cc (s390_info): Likewise.
345 * sparc.cc (sparc_info): Likewise.
346 * tilegx.cc (tilegx_info): Likewise.
347 * x86_64.cc (x86_64_info, x86_64_nacl_info): Likewise.
349 * testsuite/Makefile.am (pr23016_1, pr23016_2): New test cases.
350 * testsuite/Makefile.in: Regenerate.
351 * testsuite/testfile.cc: Add unwind_section_type.
352 * testsuite/pr23016_1.sh: New test script.
353 * testsuite/pr23016_1a.s: New source file.
354 * testsuite/pr23016_1b.s: New source file.
355 * testsuite/pr23016_2.sh: New test script.
356 * testsuite/pr23016_2a.s: New source file.
357 * testsuite/pr23016_2b.s: New source file.
359 2018-03-28 Cary Coutant <ccoutant@gmail.com>
363 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
364 Replace check for --enable-plugins with AC_PLUGINS.
365 * options.cc (parse_plugin, parse_plugin_opt): Remove #ifdef.
366 (General_options::finalize): Check if plugins enabled.
367 * options.h (--plugin, --plugin-opt): Define even if plugins not
369 * Makefile.in: Regenerate.
370 * aclocal.m4: Regenerate.
371 * configure: Regenerate.
372 * testsuite/Makefile.in: Regenerate.
374 2018-03-28 Cary Coutant <ccoutant@gmail.com>
377 * aarch64-reloc.def: Add TLSLE_LDST* relocations.
378 * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise.
379 (Target_aarch64::Scan::local): Likewise.
380 (Target_aarch64::Scan::global): Likewise.
381 (Target_aarch64::Relocate::relocate): Likewise.
382 (Target_aarch64::Relocate::relocate_tls): Likewise.
384 2018-03-27 Roland McGrath <mcgrathr@google.com>
386 * testsuite/split_x86_64.sh: Fix bad regexp.
388 2018-03-26 Cary Coutant <ccoutant@gmail.com>
391 * plugin.cc (Sized_pluginobj::do_add_symbols): Use a real section
392 index instead of SHN_ABS for defined symbols.
393 * testsuite/Makefile.am (plugin_pr22868): New test case.
394 * testsuite/Makefile.in: Regenerate
395 * testsuite/plugin_pr22868.sh: New test script.
396 * testsuite/plugin_pr22868_a.c: New source file.
397 * testsuite/plugin_pr22868_b.c: New source file.
399 2018-03-23 Cary Coutant <ccoutant@gmail.com>
401 * plugin.cc (link_or_copy_file): Remove newlines from warning messages.
402 Add pedantic check for return value from ::write.
404 2018-03-23 Cary Coutant <ccoutant@gmail.com>
406 * debug.h (DEBUG_PLUGIN): New constant.
407 (DEBUG_ALL): Add DEBUG_PLUGIN.
408 (debug_string_to_enum): Likewise.
409 * plugin.cc (make_sized_plugin_object): Add filename parameter.
410 (Plugin_recorder): New class.
411 (Plugin_manager::~Plugin_manager): Delete recorder_.
412 (Plugin_manager::load_plugins): Create and initialize recorder_.
413 (Plugin_manager::claim_file): Record claimed and unclaimed files.
414 (Plugin_manager::make_plugin_object): Use object name as name for
415 plugin object, if available.
416 (Plugin_manager::add_input_file): Record replacement files.
417 (Sized_pluginobj::do_add_symbols): Record plugin symbols.
418 (Plugin_finish::run): Call Plugin_recorder::finish().
419 (make_sized_plugin_object): Add filename parameter and pass to
420 Sized_pluginobj constructor.
421 * plugin.h (Plugin::filename): New method.
422 (Plugin::recorder): New method.
423 (Plugin::recorder_): New data member.
425 2018-03-07 Sriraman Tallam <tmsriram@google.com>
427 * layout.cc (Layout::default_section_order): Check for text section
429 (Layout::text_section_name_mapping): New static member.
430 (Layout::text_section_name_mapping_count): New static member.
431 (Layout::match_section_name): New static function.
432 (Layout::output_section_name): Check for text section prefixes.
433 * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value.
434 (Output_section_order::ORDER_TEXT_STARTUP): New enum value.
435 (Output_section_order::ORDER_TEXT_EXIT): New enum value.
436 (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value.
437 (Layout::text_section_name_mapping): New static member.
438 (Layout::text_section_name_mapping_count): New static member.
439 (Layout::match_section_name): New static function.
440 * options.h (keep_text_section_prefix): New -z option.
441 * testsuite/Makefile.am (keep_text_section_prefix): New test.
442 * testsuite/Makefile.in: Regenerate.
443 * testsuite/keep_text_section_prefix.cc: New test source.
444 * testsuite/keep_text_section_prefix.sh: New test script.
446 2018-02-22 Sriraman Tallam <tmsriram@google.com>
448 * plugin.cc (get_wrap_symbols): New plugin interface.
449 (load): Add get_wrap_symbols to transfer vector.
450 * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
451 * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
453 * testsuite/plugin_test_wrap_symbols.sh: New test script.
454 * testsuite/plugin_test_wrap_symbols_1.cc: New file.
455 * testsuite/plugin_test_wrap_symbols_2.cc: New file.
456 * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
457 * testsuite/Makefile.in: Regenerate.
459 2018-02-07 Sriraman Tallam <tmsriram@google.com>
461 * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
463 (Unary_expression::set_expr_sym_in_real_elf): New method.
464 (Binary_expression::set_expr_sym_in_real_elf): New method.
465 (Trinary_expression::set_expr_sym_in_real_elf): New method.
466 * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if
467 defined or used in defsyms.
468 * plugin.h (Plugin_manager::is_defsym_def): New method.
469 (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_.
470 (Plugin_manager::defsym_defines_set_): New member.
471 (Plugin_manager::Defsym_defines_set): New typedef.
472 * script.cc (Script_options::set_defsym_uses_in_real_elf): New method.
473 (Script_options::find_defsym_defs): New method.
474 * script.h (Expression::set_expr_sym_in_real_elf): New method.
475 (Symbol_assignment::is_defsym): New method.
476 (Symbol_assignment::value): New method.
477 (Script_options::find_defsym_defs): New method.
478 (Script_options::set_defsym_uses_in_real_elf): New method.
479 * testsuite/Makefile.am (plugin_test_defsym): New test.
480 * testsuite/Makefile.in: Regenerate.
481 * testsuite/plugin_test.c: Check for new symbol resolution.
482 * testsuite/plugin_test_defsym.sh: New script.
483 * testsuite/plugin_test_defsym.c: New test source.
485 2018-02-07 Alan Modra <amodra@gmail.com>
487 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
488 * options.h: Remove --speculate-indirect-jumps support.
489 * powerpc.cc: Likewise.
491 2018-02-02 Cary Coutant <ccoutant@gmail.com>
494 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
495 support for DWARF-4 line number tables.
496 * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
498 2018-01-18 Alan Modra <amodra@gmail.com>
500 * powerpc.cc (param_plt_align): New function supplying default
501 --plt-align values. Use it..
502 (Stub_table::plt_call_align): ..here, and..
503 (Output_data_glink::global_entry_align): ..here.
504 (Stub_table::stub_align): Correct 32-bit minimum alignment.
506 2018-01-17 Alan Modra <amodra@gmail.com>
508 * options.h (speculate_indirect_jumps): New option.
509 * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants.
510 (output_bctr): New function.
511 (Stub_table::plt_call_size): Add space for speculation barrier.
512 (Stub_table::branch_stub_size): Likewise.
513 (Output_data_glink::pltresolve_size): Likewise.
514 (Stub_table::do_write): Output speculation barriers.
516 2018-01-17 Alan Modra <amodra@gmail.com>
518 * options.h (plt_align): Support for PowerPC32 too.
519 * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit.
520 (Stub_table::plt_call_size, branch_stub_size): Tidy.
521 (Stub_table::plt_call_align): Implement using stub_align.
522 (Output_data_glink::global_entry_align): New function.
523 (Output_data_glink::global_entry_off): New function.
524 (Output_data_glink::global_entry_address): Use global_entry_off.
525 (Output_data_glink::pltresolve_size): New function, replacing
526 pltresolve_size_ constant. Update all uses.
527 (Output_data_glink::add_global_entry): Align offset.
528 (Output_data_glink::set_final_data_size): Use global_entry_align.
529 (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops.
530 Tidy stub output. Use global_entry_off.
532 2018-01-15 Cary Coutant <ccoutant@gmail.com>
535 * options.h (-fuse-ld): Add correct helparg.
537 2018-01-15 Nick Clifton <nickc@redhat.com>
539 * po/uk.po: Updated Ukranian translation.
541 2018-01-13 Nick Clifton <nickc@redhat.com>
543 * po/gold.pot: Regenerated.
545 2018-01-13 Nick Clifton <nickc@redhat.com>
549 2018-01-12 Cary Coutant <ccoutant@gmail.com>
551 * NEWS: Add new features in 1.15.
552 * version.cc (version_string): Bump to 1.15.
554 2018-01-12 Sterling Augustine <saugustine@google.com>
556 * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
557 conditionals and calls to is_forwarder.
559 2018-01-03 Alan Modra <amodra@gmail.com>
561 Update year range in copyright notice of all files.
563 For older changes see ChangeLog-2017
565 Copyright (C) 2018 Free Software Foundation, Inc.
567 Copying and distribution of this file, with or without modification,
568 are permitted in any medium without royalty provided the copyright
569 notice and this notice are preserved.
575 version-control: never