xref: /netbsd-src/external/gpl3/binutils/dist/gold/ChangeLog (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
12024-01-15  Nick Clifton  <nickc@redhat.com>
2
3	* po/gold.pot: Regenerate.
4
52024-01-15  Nick Clifton  <nickc@redhat.com>
6
7	* 2.42 branch point.
8
92023-11-17  YunQiang Su  <yunqiang.su@cipunited.com>
10
11	* configure.tgt (mips targets): Set targ_extra_size=64.
12
132023-11-15  Arsen Arsenović  <arsen@aarsen.me>
14
15	* aclocal.m4: Regenerate.
16	* configure: Regenerate.
17	* po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
18	temporary file, to suppress xgettext checking charset names.
19
202023-11-10  YunQiang Su  <yunqiang.su@cipunited.com>
21
22	* configure.tgt (mips targets): Set targ_machine to EM_MIPS for
23	little endian mips targets.
24
252023-09-05  Roland McGrath  <mcgrathr@google.com>
26
27	The std::basic_string template type is only specified for
28	instantiations using character types.  Newer (LLVM) libc++
29	implementations no longer allow non-character integer types
30	to be used.
31	* output.cc: Include <uchar.h>.
32	(Output_section::add_merge_input_section): Use char16_t and
33	char32_t for 2- and 4-byte entry size, respectively.
34	* stringpool.cc: Include <uchar.h>.
35	(Stringpool_template): Explicitly instantiate for char16_t,
36	char32_t instead of uint16_t, uint32_t.
37	* merge.cc (Output_merge_string): Likewise.
38
392023-07-03  Nick Clifton  <nickc@redhat.com>
40
41	* po/gold.pot: Regenerate.
42
432023-07-03  Nick Clifton  <nickc@redhat.com>
44
45	2.41 Branch Point.
46
472023-06-28  Nick Clifton  <nickc@redhat.com>
48
49	* po/fr.po: Updated French translation.
50
512023-03-27  Nick Clifton  <nickc@redhat.com>
52
53	PR 30187
54	* options.h (class General_options): Add enable-linker-version.
55	* layout.cc (Layout::create_gold_note): If linker-version is
56	enabled put the version string into the .comment section.
57
582023-01-03  Nick Clifton  <nickc@redhat.com>
59
60	* po/ro.po: Updated Romainian translation.
61	* po/uk.po: Updated Ukrainian translation.
62
632022-12-31  Nick Clifton  <nickc@redhat.com>
64
65	* 2.40 branch created.
66
672022-12-19  Nick Clifton  <nickc@redhat.com>
68
69	* po/ro.po: New file: Romainian translation.
70
712022-07-08  Nick Clifton  <nickc@redhat.com>
72
73	* 2.39 branch created.
74
752022-06-27  Nick Clifton  <nickc@redhat.com>
76
77	PR 23765
78	* fileread.cc (File_read::do_read): Check start parameter before
79	computing number of bytes to read.
80
812022-05-18  Nick Clifton  <nickc@redhat.com>
82
83	* int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
84	current_length variable.
85
862022-02-17  Nick Clifton  <nickc@redhat.com>
87
88	* po/sr.po: Updated Serbian translation.
89
902022-02-02  Nick Clifton  <nickc@redhat.com>
91
92	* po/fr.po: Updated French translation.
93
942022-01-24  Nick Clifton  <nickc@redhat.com>
95
96	* po/ro.po: Updated Romanian translation.
97
982022-01-22  Nick Clifton  <nickc@redhat.com>
99
100	* configure: Regenerate.
101	* po/gold.pot: Regenerate.
102	* Makefile.in: Regenerate.
103	* testsuite/Makefile.in: Regenerate.
104
1052022-01-22  Nick Clifton  <nickc@redhat.com>
106
107	* 2.38 release branch created.
108
1092021-08-10  Nick Clifton  <nickc@redhat.com>
110
111	* po/sr.po: Updated Serbian translation.
112
1132021-07-20  Alan Modra  <amodra@gmail.com>
114
115	PR gold/28106
116	PR gold/27815
117	* gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
118
1192021-07-17  Michael Krasnyk  <michael.krasnyk@gmail.com>
120
121	PR gold/28098
122	* reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
123	with r_sym of zero without counting in advance method.
124
1252021-07-03  Nick Clifton  <nickc@redhat.com>
126
127	* po/gold.pot: Regenerate.
128
1292021-07-03  Nick Clifton  <nickc@redhat.com>
130
131	* 2.37 release branch created.
132
1332021-05-25  Alan Modra  <amodra@gmail.com>
134
135	PR gold/27815
136	* gc.h (gc_process_relocs): Use cast in Section_id constructor.
137
1382021-05-22  Alan Modra  <amodra@gmail.com>
139
140	PR gold/27815
141	* gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
142
1432021-05-15  Alan Modra  <amodra@gmail.com>
144
145	PR 27834
146	* options.cc (General_options::General_options): Init bsymbolic_.
147
1482021-05-04  Fangrui Song  <maskray@google.com>
149
150	PR 27834
151	* options.h (General_options): Make -Bsymbolic and
152	-Bsymbolic-functions special and adjust the help messages. Add
153	enum Bsymbolic_kind and -Bno-symbolic.
154	* options.cc (General_options): Define parse_Bno_symbolic,
155	parse_Bsymbolic_functions, and parse_Bsymbolic.
156
1572021-03-30  Alan Modra  <amodra@gmail.com>
158
159	PR gold/27625
160	* powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
161	and tls_opt_error_ variables and accessors.
162	(Target_powerpc::Scan::local, global): Call set_tls_marker and
163	set_no_tls_marker for GD and LD code sequence relocations.
164	(Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
165	reloc" error to a warning when safe to do so, and omit the error
166	entirely if not optimising TLS sequences.  Do not optimise GD and
167	LD sequences for objects lacking marker relocs.
168	(Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
169
1702021-03-19  Cary Coutant  <ccoutant@gmail.com>
171
172	PR gold/27615
173	* errors.cc (Errors::trace): New method.
174	(gold_trace): New function.
175	* errors.h (Errors::trace): New method.
176	* gold.h (gold_trace): New function.
177	* object.cc (Input_objects::add_object): Use gold_trace to print
178	object file names.
179
1802021-03-19  Cary Coutant  <ccoutant@gmail.com>
181
182	PR gold/pr23870
183	* testsuite/aarch64_pr23870_bar.c: Return a magic value.
184	* testsuite/aarch64_pr23870_foo.c: Check the magic value and return
185	success or failure.
186
1872021-03-19  Holger Berger  <holger.berger@googlemail.com>
188
189	PR gold/26541
190	* output.cc (gold_fallocate): Use errno when calling system fallocate.
191
1922021-03-19  Cary Coutant  <ccoutant@gmail.com>
193
194	PR gold/26585
195	* main.cc (main): Fix typo in previous patch.
196
1972021-03-19  Duncan Simpson  <dr.duncan.p.simpson@gmail.com>
198
199	PR gold/26585
200	* configure.ac: Add check for mallinfo2.
201	* configure: Regenerate.
202	* config.in: Regenerate from previous commit.
203	* main.cc (main): Use mallinfo2 if available.
204
2052021-03-19  Cary Coutant  <ccoutant@gmail.com>
206
207	PR gold/27246
208	* dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
209	DW_FORM_implicit_const.
210	(Dwarf_ranges_table::read_ranges_table): Add version parameter;
211	Adjust all callers.  Look for .debug_rnglists section if DWARF 5.
212	(Dwarf_ranges_table::read_range_list_v5): New method.
213	(Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
214	(Dwarf_die::skip_attributes): Likewise.
215	(Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
216	(Dwarf_info_reader::read_3bytes_from_pointer): New method.
217	(Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
218	str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
219	Look for .debug_line_str section.
220	(Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
221	(Sized_dwarf_line_info::read_header_tables): Rename to...
222	(Sized_dwarf_line_info::read_header_tables_v2): ... this.
223	(Sized_dwarf_line_info::read_header_tables_v5): New method.
224	(Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
225	Change advance_line to signed int64_t.
226	(Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
227	callers.  Insert missing "this->".
228	(Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
229	(Sized_dwarf_line_info::do_addr2line): Add debug code.
230	* dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
231	field. Adjust constructor.
232	(Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
233	(Dwarf_ranges_table::read_ranges_table): Add version parameter.
234	(Dwarf_ranges_table::read_range_list_v5): New method.
235	(Dwarf_die): Remove unused attr_off field.
236	(Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
237	(Dwarf_info_reader::is_type_unit): New method.
238	(Dwarf_info_reader::read_3bytes_from_pointer): New method.
239	(Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
240	DWARF 5 range lists.
241	(Dwarf_info_reader::is_type_unit_): Remove.
242	(Dwarf_info_reader::unit_type_): New field.
243	(Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
244	str_buffer_start_.
245	(Sized_dwarf_line_info::read_header_tables): Rename to...
246	(Sized_dwarf_line_info::read_header_tables_v2): ... this.
247	(Sized_dwarf_line_info::read_header_tables_v5): New method.
248	(Sized_dwarf_line_info::read_lines): Add endptr parameter.
249	(Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
250	(Sized_dwarf_line_info::str_buffer_): New field.
251	(Sized_dwarf_line_info::str_buffer_end_): New field.
252	(Sized_dwarf_line_info::str_buffer_start_): New field.
253	(Sized_dwarf_line_info::end_of_header_length_): New field.
254	(Sized_dwarf_line_info::end_of_unit_): New field.
255
2562021-01-28  H.J. Lu  <hongjiu.lu@intel.com>
257
258	PR gold/27246
259	* dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
260	Skip address size and segment selector for DWARF5.
261
2622021-01-19  Alan Modra  <amodra@gmail.com>
263
264	PR 27203
265	* powerpc.cc (do_plt_fde_location): Remove doing_static_link
266	assertion.
267
2682021-01-17  H.J. Lu  <hongjiu.lu@intel.com>
269
270	* testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
271	against foo in ifuncmod6.so.
272	* testsuite/ifuncmod6.c: Likewise.
273
2742021-01-14  Nick Clifton  <nickc@redhat.com>
275
276	* po/fr.po: Updated French translation.
277
2782021-01-11  Nick Clifton  <nickc@redhat.com>
279
280	* po/sr.po: Updated Serbian translation.
281	* po/uk.po: Updated Ukranian translation.
282
2832021-01-09  Nick Clifton  <nickc@redhat.com>
284
285	* 2.36 release branch crated.
286
2872021-01-03  Alan Modra  <amodra@gmail.com>
288
289	PR 27140
290	* powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
291	object->st_other() when 64-bit.
292	(Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
293
2942021-01-01  Nicolas Boulenguez  <nicolas@debian.org>
295
296	* tilegx.cc: Correct comment spelling.
297
2982021-01-01  Alan Modra  <amodra@gmail.com>
299
300	Update year range in copyright notice of all files.
301
302For older changes see ChangeLog-2020
303
304Copyright (C) 2021-2024 Free Software Foundation, Inc.
305
306Copying and distribution of this file, with or without modification,
307are permitted in any medium without royalty provided the copyright
308notice and this notice are preserved.
309
310Local Variables:
311mode: change-log
312left-margin: 8
313fill-column: 74
314version-control: never
315End:
316