gold: Update testsuite/split_[i386|x32|x86_64].sh
[deliverable/binutils-gdb.git] / gold / ChangeLog
1 2020-10-08 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/split_i386.sh: Updated for --split-stack-adjust-size
4 default change.
5 * testsuite/split_x86_64.sh: Likewise.
6
7 2020-10-08 Alan Modra <amodra@gmail.com>
8
9 * options.h (split_stack_adjust_size): Default to 0x100000.
10
11 2020-09-26 Alan Modra <amodra@gmail.com>
12
13 * powerpc.cc (Target_powerpc): Rename power10_stubs_ to
14 power10_relocs_.
15 (Target_powerpc::set_power10_relocs): New accessor.
16 (Target_powerpc::set_power10_stubs): Delete.
17 (Target_powerpc::power10_stubs): Adjust.
18 (Target_powerpc::has_localentry0): New accessor.
19 (ld_0_11): New constant.
20 (glink_eh_frame_fde_64v1, glink_eh_frame_fde_64v2): Adjust.
21 (glink_eh_frame_fde_64v2_localentry0): New.
22 (Output_data_glink::pltresolve_size): Update.
23 (Output_data_glink::add_eh_frame): Use localentry0 version eh_frame.
24 (Output_data_glink::do_write): Move r2 save to start of ELFv2 stub
25 and only emit for has_localentry0. Don't use r2 in the stub.
26 (Target_powerpc::Scan::local, global): Adjust for
27 set_power10_relocs renaming.
28 (Target_powerpc::scan_relocs): Warn and reset plt_localentry0_.
29
30 2020-09-24 Alan Modra <amodra@gmail.com>
31
32 * powerpc.cc (Target_powerpc::Relocate::relocate): Don't skip
33 first insn of __tls_get_addr_opt stub.
34
35 2020-08-24 Alan Modra <amodra@gmail.com>
36
37 * powerpc.cc (Target_powerpc): Add tprel_opt_ and accessors.
38 (Target_powerpc::Scan::local): Sanity check tprel high relocs.
39 (Target_powerpc::Scan::global): Likewise.
40 (Target_powerpc::Relocate::relocate): Control tprel optimisation
41 with tprel_opt_ and enable for 32-bit.
42
43 2020-08-12 Nick Clifton <nickc@redhat.com>
44
45 * po/sr.po: Updated Serbian translation.
46
47 2020-07-27 Alan Modra <amodra@gmail.com>
48
49 * options.h (DEFINE_enum): Add optional_arg__ param, adjust
50 all uses.
51 (General_options): Add --power10-stubs and --no-power10-stubs.
52 * options.cc (General_options::parse_no_power10_stubs): New.
53 (General_options::finalize): Handle --power10-stubs.
54 * powerpc.cc (set_power10_stubs): Don't set when --power10-stubs=no.
55 (power10_stubs_auto): New.
56 (struct Plt_stub_ent): Add toc_ and tocoff_. Don't use a bitfield
57 for indx_.
58 (struct Branch_stub_ent): Add toc_and tocoff_. Use bitfields for
59 iter_, notoc_ and save_res_.
60 (add_plt_call_entry): Set toc_. Adjust resizing conditions for
61 --power10-stubs=auto.
62 (add_long_branch_entry): Set toc_.
63 (add_eh_frame, define_stub_syms): No longer use const_iterators
64 for plt and long branch stub iteration.
65 (build_tls_opt_head, build_tls_opt_tail): Change parameters and
66 return value. Move tests for __tls_get_addr to callers.
67 (plt_call_size): Handle --power10-stubs=auto.
68 (branch_stub_size): Likewise.
69 (Stub_table::do_write): Likewise.
70 (relocate): Likewise.
71
72 2020-07-19 H.J. Lu <hongjiu.lu@intel.com>
73
74 * testsuite/bnd_ifunc_1.sh: Updated.
75 * testsuite/bnd_plt_1.sh: Likewise.
76 * testsuite/split_x32.sh: Likewise.
77 * testsuite/split_x86_64.sh: Likewise.
78 * testsuite/x86_64_indirect_call_to_direct.sh: Likewise.
79
80 2020-07-08 Nick Clifton <nickc@redhat.com>
81
82 * testsuite/script_test_7.sh: Adjust expected address of the .bss
83 section.
84 * testsuite/script_test_9.sh: Do not expect the .init section to
85 immediately follow the .text section in the mapping of sections to
86 segments.
87
88 2020-07-07 Nick Clifton <nickc@redhat.com>
89
90 * target-reloc.h: (Default_comdat_behaviour:get): Ignore discarded
91 relocs that refer to the .gnu.build.attributes section.
92
93 2020-07-06 Nick Clifton <nickc@redhat.com>
94
95 * po/fr.po: Updated French translation.
96 * po/uk.po: Updated Ukranian translation.
97
98 2020-07-04 Nick Clifton <nickc@redhat.com>
99
100 Binutils 2.35 branch created.
101
102 2020-07-03 Alan Modra <amodra@gmail.com>
103
104 PR 26028
105 * testsuite/Makefile.am (file_in_many_sections.stdout): Add -W
106 to readelf options.
107 * testsuite/Makefile.in: Regenerate.
108
109 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
110
111 * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls.
112 * configure: Regenerated.
113 * config.h.in: Likewise.
114
115 2020-06-24 Nick Clifton <nickc@redhat.com>
116
117 * target-reloc.h (issue_discarded_error): Initialise the
118 key_symndx variable.
119
120 2020-06-23 Roland McGrath <mcgrathr@google.com>
121
122 PR 22843
123 * options.h (class General_options): Add --dependency-file option.
124 * fileread.cc (File_read::files_read): New static variable.
125 (File_read::open): Add the file to the files_read list.
126 (File_read::record_file_read): New static member function.
127 (File_read::write_dependency_file): New static member function.
128 * fileread.h (class File_read): Declare them.
129 * layout.cc (Layout::read_layout_from_file): Call record_file_read.
130 (Close_task_runner::run): Call write_dependency_file if
131 --dependency-file was passed.
132
133 2020-06-18 Fangrui Song <i@maskray.me>
134
135 PR gold/26039
136 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
137
138 2020-06-16 Alan Modra <amodra@gmail.com>
139
140 * testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
141 * testsuite/discard_locals_relocatable_test.c: Likewise.
142
143 2020-06-16 Alan Modra <amodra@gmail.com>
144
145 * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE.
146 (plugin_test_wrap_symbols_1.o): Likewise.
147 (plugin_test_wrap_symbols_2.o): Likewise.
148 * testsuite/Makefile.in: Regenerate.
149
150 2020-06-15 Roland McGrath <mcgrathr@google.com>
151
152 Implement -z start-stop-visibility=... option.
153 * options.h (class General_options): Handle -z start-stop-visibility=.
154 (General_options::start_stop_visibility_enum): New public method.
155 (General_options::set_start_stop_visibility_enum): New private method.
156 (General_options::start_stop_visibility_enum_): New private member.
157 * options.cc (General_options::General_options): Add initializer.
158 (General_options::finalize): Set this->start_stop_visibility_enum_
159 from string value.
160 * layout.cc (Layout::define_section_symbols): Use option setting.
161
162 2020-06-06 Alan Modra <amodra@gmail.com>
163
164 * powerpc.cc: Update throughout for reloc renaming.
165
166 2020-05-22 Alan Modra <amodra@gmail.com>
167
168 PR 25882
169 * powerpc.cc (merge_object_attributes): Replace name param with
170 obj param. Update callers. Don't init FP attributes from shared
171 libraries, and do not emit an error if they don't match.
172
173 2020-05-15 Nikita Ermakov <coffe92@gmail.com>
174
175 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
176
177 2020-05-14 Nick Clifton <nickc@redhat.com>
178
179 * po/sr.po: New Serbian translation.
180
181 2020-05-11 Alan Modra <amodra@gmail.com>
182
183 * powerpc.cc: Rename powerxx to power10 throughout.
184
185 2020-05-02 H.J. Lu <hongjiu.lu@intel.com>
186
187 PR gold/25904
188 * testsuite/Makefile.am (COMMON_TEST_C_CFLAGS): New.
189 (common_test_1.o): New rule.
190 (common_test_2.o): Likewise.
191 (common_test_3.o): Likewise.
192 (plugin_common_test_1.o): Likewise.
193 (plugin_common_test_2.o): Likewise.
194 (common_test_1_v1.o): Likewise.
195 (common_test_1_v2.o): Likewise.
196 (common_test_2_pic.o): Compile with $(COMMON_TEST_C_CFLAGS).
197 (common_test_3_pic.o): Likewise.
198 * testsuite/Makefile.in: Regenerated.
199
200 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
201
202 PR gold/25426
203 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
204 For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to
205 "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)"
206 to "nopl (%rax)".
207 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32,
208 relax "rex leal foo@tlsdesc(%rip), %reg" to
209 "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)"
210 to "nopl (%rax)".
211 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
212 gcctestdir/as.
213 (tls_test_file2_gnu2.o): Likewise.
214 (tls_test_c_gnu2.o): Likewise.
215 * testsuite/Makefile.in: Regenerated.
216
217 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR gold/25473
220 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
221 Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
222 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly
223 relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
224 * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh.
225 (check_DATA): Add x86_64_gd_to_le.stdout.
226 (MOSTLYCLEANFILES): Add x86_64_gd_to_le.
227 (x86_64_gd_to_le.o): New target.
228 (x86_64_gd_to_le): Likewise.
229 (x86_64_gd_to_le.stdout): Likewise.
230 * testsuite/Makefile.in: Regenerated.
231 * testsuite/x86_64_gd_to_le.s: New file.
232 * testsuite/x86_64_gd_to_le.sh: Likewise.
233
234 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
235
236 * testsuite/odr_violation2.cc (Ordering::operator()): Make
237 expression even more complex.
238
239 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
240
241 * testsuite/ver_test_pr16504.sh: Updated.
242
243 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
244
245 PR gold/25872
246 * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
247 plt_offset after setting the reserved TLSDESC PLT entry.
248 (Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
249
250 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
251
252 PR gold/25872
253 * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local):
254 Handle local IFUNC symbol.
255 (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise.
256
257 2020-03-19 Fangrui Song <maskray@google.com>
258
259 * options.h (General_options): Add --no-rosegment option.
260
261 2020-02-24 Nick Clifton <nickc@redhat.com>
262
263 * po/fr.po: Update French translation.
264
265 2020-01-20 Nick Clifton <nickc@redhat.com>
266
267 * po/uk.po: Updated Ukranian translation.
268
269 2020-01-18 Nick Clifton <nickc@redhat.com>
270
271 * configure: Regenerate.
272 * po/gold.pot: Regenerate.
273
274 2020-01-18 Nick Clifton <nickc@redhat.com>
275
276 Binutils 2.34 branch created.
277
278 2020-01-01 Alan Modra <amodra@gmail.com>
279
280 Update year range in copyright notice of all files.
281
282 For older changes see ChangeLog-2019
283 \f
284 Copyright (C) 2020 Free Software Foundation, Inc.
285
286 Copying and distribution of this file, with or without modification,
287 are permitted in any medium without royalty provided the copyright
288 notice and this notice are preserved.
289
290 Local Variables:
291 mode: change-log
292 left-margin: 8
293 fill-column: 74
294 version-control: never
295 End:
This page took 0.035523 seconds and 5 git commands to generate.