1 2018-02-22 Sriraman Tallam <tmsriram@google.com>
3 * plugin.cc (get_wrap_symbols): New plugin interface.
4 (load): Add get_wrap_symbols to transfer vector.
5 * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
6 * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
8 * testsuite/plugin_test_wrap_symbols.sh: New test script.
9 * testsuite/plugin_test_wrap_symbols_1.cc: New file.
10 * testsuite/plugin_test_wrap_symbols_2.cc: New file.
11 * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
12 * testsuite/Makefile.in: Regenerate.
14 2018-02-07 Sriraman Tallam <tmsriram@google.com>
16 * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
18 (Unary_expression::set_expr_sym_in_real_elf): New method.
19 (Binary_expression::set_expr_sym_in_real_elf): New method.
20 (Trinary_expression::set_expr_sym_in_real_elf): New method.
21 * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if
22 defined or used in defsyms.
23 * plugin.h (Plugin_manager::is_defsym_def): New method.
24 (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_.
25 (Plugin_manager::defsym_defines_set_): New member.
26 (Plugin_manager::Defsym_defines_set): New typedef.
27 * script.cc (Script_options::set_defsym_uses_in_real_elf): New method.
28 (Script_options::find_defsym_defs): New method.
29 * script.h (Expression::set_expr_sym_in_real_elf): New method.
30 (Symbol_assignment::is_defsym): New method.
31 (Symbol_assignment::value): New method.
32 (Script_options::find_defsym_defs): New method.
33 (Script_options::set_defsym_uses_in_real_elf): New method.
34 * testsuite/Makefile.am (plugin_test_defsym): New test.
35 * testsuite/Makefile.in: Regenerate.
36 * testsuite/plugin_test.c: Check for new symbol resolution.
37 * testsuite/plugin_test_defsym.sh: New script.
38 * testsuite/plugin_test_defsym.c: New test source.
40 2018-02-07 Alan Modra <amodra@gmail.com>
42 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
43 * options.h: Remove --speculate-indirect-jumps support.
44 * powerpc.cc: Likewise.
46 2018-02-02 Cary Coutant <ccoutant@gmail.com>
49 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
50 support for DWARF-4 line number tables.
51 * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
53 2018-01-18 Alan Modra <amodra@gmail.com>
55 * powerpc.cc (param_plt_align): New function supplying default
56 --plt-align values. Use it..
57 (Stub_table::plt_call_align): ..here, and..
58 (Output_data_glink::global_entry_align): ..here.
59 (Stub_table::stub_align): Correct 32-bit minimum alignment.
61 2018-01-17 Alan Modra <amodra@gmail.com>
63 * options.h (speculate_indirect_jumps): New option.
64 * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants.
65 (output_bctr): New function.
66 (Stub_table::plt_call_size): Add space for speculation barrier.
67 (Stub_table::branch_stub_size): Likewise.
68 (Output_data_glink::pltresolve_size): Likewise.
69 (Stub_table::do_write): Output speculation barriers.
71 2018-01-17 Alan Modra <amodra@gmail.com>
73 * options.h (plt_align): Support for PowerPC32 too.
74 * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit.
75 (Stub_table::plt_call_size, branch_stub_size): Tidy.
76 (Stub_table::plt_call_align): Implement using stub_align.
77 (Output_data_glink::global_entry_align): New function.
78 (Output_data_glink::global_entry_off): New function.
79 (Output_data_glink::global_entry_address): Use global_entry_off.
80 (Output_data_glink::pltresolve_size): New function, replacing
81 pltresolve_size_ constant. Update all uses.
82 (Output_data_glink::add_global_entry): Align offset.
83 (Output_data_glink::set_final_data_size): Use global_entry_align.
84 (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops.
85 Tidy stub output. Use global_entry_off.
87 2018-01-15 Cary Coutant <ccoutant@gmail.com>
90 * options.h (-fuse-ld): Add correct helparg.
92 2018-01-15 Nick Clifton <nickc@redhat.com>
94 * po/uk.po: Updated Ukranian translation.
96 2018-01-13 Nick Clifton <nickc@redhat.com>
98 * po/gold.pot: Regenerated.
100 2018-01-13 Nick Clifton <nickc@redhat.com>
104 2018-01-12 Cary Coutant <ccoutant@gmail.com>
106 * NEWS: Add new features in 1.15.
107 * version.cc (version_string): Bump to 1.15.
109 2018-01-12 Sterling Augustine <saugustine@google.com>
111 * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
112 conditionals and calls to is_forwarder.
114 2018-01-03 Alan Modra <amodra@gmail.com>
116 Update year range in copyright notice of all files.
118 For older changes see ChangeLog-2017
120 Copyright (C) 2018 Free Software Foundation, Inc.
122 Copying and distribution of this file, with or without modification,
123 are permitted in any medium without royalty provided the copyright
124 notice and this notice are preserved.
130 version-control: never