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