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