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