Add support for R_AARCH64_TLSLE_LDST8_TPREL_LO12, etc.
[deliverable/binutils-gdb.git] / gold / ChangeLog
1 2018-03-28 Cary Coutant <ccoutant@gmail.com>
2
3 PR gold/22969
4 * aarch64-reloc.def: Add TLSLE_LDST* relocations.
5 * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise.
6 (Target_aarch64::Scan::local): Likewise.
7 (Target_aarch64::Scan::global): Likewise.
8 (Target_aarch64::Relocate::relocate): Likewise.
9 (Target_aarch64::Relocate::relocate_tls): Likewise.
10
11 2018-03-27 Roland McGrath <mcgrathr@google.com>
12
13 * testsuite/split_x86_64.sh: Fix bad regexp.
14
15 2018-03-26 Cary Coutant <ccoutant@gmail.com>
16
17 PR gold/22868
18 * plugin.cc (Sized_pluginobj::do_add_symbols): Use a real section
19 index instead of SHN_ABS for defined symbols.
20 * testsuite/Makefile.am (plugin_pr22868): New test case.
21 * testsuite/Makefile.in: Regenerate
22 * testsuite/plugin_pr22868.sh: New test script.
23 * testsuite/plugin_pr22868_a.c: New source file.
24 * testsuite/plugin_pr22868_b.c: New source file.
25
26 2018-03-23 Cary Coutant <ccoutant@gmail.com>
27
28 * plugin.cc (link_or_copy_file): Remove newlines from warning messages.
29 Add pedantic check for return value from ::write.
30
31 2018-03-23 Cary Coutant <ccoutant@gmail.com>
32
33 * debug.h (DEBUG_PLUGIN): New constant.
34 (DEBUG_ALL): Add DEBUG_PLUGIN.
35 (debug_string_to_enum): Likewise.
36 * plugin.cc (make_sized_plugin_object): Add filename parameter.
37 (Plugin_recorder): New class.
38 (Plugin_manager::~Plugin_manager): Delete recorder_.
39 (Plugin_manager::load_plugins): Create and initialize recorder_.
40 (Plugin_manager::claim_file): Record claimed and unclaimed files.
41 (Plugin_manager::make_plugin_object): Use object name as name for
42 plugin object, if available.
43 (Plugin_manager::add_input_file): Record replacement files.
44 (Sized_pluginobj::do_add_symbols): Record plugin symbols.
45 (Plugin_finish::run): Call Plugin_recorder::finish().
46 (make_sized_plugin_object): Add filename parameter and pass to
47 Sized_pluginobj constructor.
48 * plugin.h (Plugin::filename): New method.
49 (Plugin::recorder): New method.
50 (Plugin::recorder_): New data member.
51
52 2018-03-07 Sriraman Tallam <tmsriram@google.com>
53
54 * layout.cc (Layout::default_section_order): Check for text section
55 prefixes.
56 (Layout::text_section_name_mapping): New static member.
57 (Layout::text_section_name_mapping_count): New static member.
58 (Layout::match_section_name): New static function.
59 (Layout::output_section_name): Check for text section prefixes.
60 * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value.
61 (Output_section_order::ORDER_TEXT_STARTUP): New enum value.
62 (Output_section_order::ORDER_TEXT_EXIT): New enum value.
63 (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value.
64 (Layout::text_section_name_mapping): New static member.
65 (Layout::text_section_name_mapping_count): New static member.
66 (Layout::match_section_name): New static function.
67 * options.h (keep_text_section_prefix): New -z option.
68 * testsuite/Makefile.am (keep_text_section_prefix): New test.
69 * testsuite/Makefile.in: Regenerate.
70 * testsuite/keep_text_section_prefix.cc: New test source.
71 * testsuite/keep_text_section_prefix.sh: New test script.
72
73 2018-02-22 Sriraman Tallam <tmsriram@google.com>
74
75 * plugin.cc (get_wrap_symbols): New plugin interface.
76 (load): Add get_wrap_symbols to transfer vector.
77 * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
78 * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
79 interface.
80 * testsuite/plugin_test_wrap_symbols.sh: New test script.
81 * testsuite/plugin_test_wrap_symbols_1.cc: New file.
82 * testsuite/plugin_test_wrap_symbols_2.cc: New file.
83 * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
84 * testsuite/Makefile.in: Regenerate.
85
86 2018-02-07 Sriraman Tallam <tmsriram@google.com>
87
88 * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
89 New method.
90 (Unary_expression::set_expr_sym_in_real_elf): New method.
91 (Binary_expression::set_expr_sym_in_real_elf): New method.
92 (Trinary_expression::set_expr_sym_in_real_elf): New method.
93 * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if
94 defined or used in defsyms.
95 * plugin.h (Plugin_manager::is_defsym_def): New method.
96 (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_.
97 (Plugin_manager::defsym_defines_set_): New member.
98 (Plugin_manager::Defsym_defines_set): New typedef.
99 * script.cc (Script_options::set_defsym_uses_in_real_elf): New method.
100 (Script_options::find_defsym_defs): New method.
101 * script.h (Expression::set_expr_sym_in_real_elf): New method.
102 (Symbol_assignment::is_defsym): New method.
103 (Symbol_assignment::value): New method.
104 (Script_options::find_defsym_defs): New method.
105 (Script_options::set_defsym_uses_in_real_elf): New method.
106 * testsuite/Makefile.am (plugin_test_defsym): New test.
107 * testsuite/Makefile.in: Regenerate.
108 * testsuite/plugin_test.c: Check for new symbol resolution.
109 * testsuite/plugin_test_defsym.sh: New script.
110 * testsuite/plugin_test_defsym.c: New test source.
111
112 2018-02-07 Alan Modra <amodra@gmail.com>
113
114 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
115 * options.h: Remove --speculate-indirect-jumps support.
116 * powerpc.cc: Likewise.
117
118 2018-02-02 Cary Coutant <ccoutant@gmail.com>
119
120 * PR gold/22776
121 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
122 support for DWARF-4 line number tables.
123 * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
124
125 2018-01-18 Alan Modra <amodra@gmail.com>
126
127 * powerpc.cc (param_plt_align): New function supplying default
128 --plt-align values. Use it..
129 (Stub_table::plt_call_align): ..here, and..
130 (Output_data_glink::global_entry_align): ..here.
131 (Stub_table::stub_align): Correct 32-bit minimum alignment.
132
133 2018-01-17 Alan Modra <amodra@gmail.com>
134
135 * options.h (speculate_indirect_jumps): New option.
136 * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants.
137 (output_bctr): New function.
138 (Stub_table::plt_call_size): Add space for speculation barrier.
139 (Stub_table::branch_stub_size): Likewise.
140 (Output_data_glink::pltresolve_size): Likewise.
141 (Stub_table::do_write): Output speculation barriers.
142
143 2018-01-17 Alan Modra <amodra@gmail.com>
144
145 * options.h (plt_align): Support for PowerPC32 too.
146 * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit.
147 (Stub_table::plt_call_size, branch_stub_size): Tidy.
148 (Stub_table::plt_call_align): Implement using stub_align.
149 (Output_data_glink::global_entry_align): New function.
150 (Output_data_glink::global_entry_off): New function.
151 (Output_data_glink::global_entry_address): Use global_entry_off.
152 (Output_data_glink::pltresolve_size): New function, replacing
153 pltresolve_size_ constant. Update all uses.
154 (Output_data_glink::add_global_entry): Align offset.
155 (Output_data_glink::set_final_data_size): Use global_entry_align.
156 (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops.
157 Tidy stub output. Use global_entry_off.
158
159 2018-01-15 Cary Coutant <ccoutant@gmail.com>
160
161 PR gold/22694
162 * options.h (-fuse-ld): Add correct helparg.
163
164 2018-01-15 Nick Clifton <nickc@redhat.com>
165
166 * po/uk.po: Updated Ukranian translation.
167
168 2018-01-13 Nick Clifton <nickc@redhat.com>
169
170 * po/gold.pot: Regenerated.
171
172 2018-01-13 Nick Clifton <nickc@redhat.com>
173
174 2.30 branch created.
175
176 2018-01-12 Cary Coutant <ccoutant@gmail.com>
177
178 * NEWS: Add new features in 1.15.
179 * version.cc (version_string): Bump to 1.15.
180
181 2018-01-12 Sterling Augustine <saugustine@google.com>
182
183 * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
184 conditionals and calls to is_forwarder.
185
186 2018-01-03 Alan Modra <amodra@gmail.com>
187
188 Update year range in copyright notice of all files.
189
190 For older changes see ChangeLog-2017
191 \f
192 Copyright (C) 2018 Free Software Foundation, Inc.
193
194 Copying and distribution of this file, with or without modification,
195 are permitted in any medium without royalty provided the copyright
196 notice and this notice are preserved.
197
198 Local Variables:
199 mode: change-log
200 left-margin: 8
201 fill-column: 74
202 version-control: never
203 End:
This page took 0.03363 seconds and 4 git commands to generate.