Automatic date update in version.in
[binutils-gdb.git] / gold / ChangeLog
blob246434df0a651811d905fd6e02736409de196ec9
1 2025-01-19  Nick Clifton  <nickc@redhat.com>
3         * 2.44 Branch point.
5 2024-07-20  Nick Clifton  <nickc@redhat.com>
7         * 2.43 branch point.
9 2024-01-15  Nick Clifton  <nickc@redhat.com>
11         * po/gold.pot: Regenerate.
13 2024-01-15  Nick Clifton  <nickc@redhat.com>
15         * 2.42 branch point.
17 2023-11-17  YunQiang Su  <yunqiang.su@cipunited.com>
19         * configure.tgt (mips targets): Set targ_extra_size=64.
21 2023-11-15  Arsen Arsenović  <arsen@aarsen.me>
23         * aclocal.m4: Regenerate.
24         * configure: Regenerate.
25         * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
26         temporary file, to suppress xgettext checking charset names.
28 2023-11-10  YunQiang Su  <yunqiang.su@cipunited.com>
30         * configure.tgt (mips targets): Set targ_machine to EM_MIPS for
31         little endian mips targets.
33 2023-09-05  Roland McGrath  <mcgrathr@google.com>
35         The std::basic_string template type is only specified for
36         instantiations using character types.  Newer (LLVM) libc++
37         implementations no longer allow non-character integer types
38         to be used.
39         * output.cc: Include <uchar.h>.
40         (Output_section::add_merge_input_section): Use char16_t and
41         char32_t for 2- and 4-byte entry size, respectively.
42         * stringpool.cc: Include <uchar.h>.
43         (Stringpool_template): Explicitly instantiate for char16_t,
44         char32_t instead of uint16_t, uint32_t.
45         * merge.cc (Output_merge_string): Likewise.
47 2023-07-03  Nick Clifton  <nickc@redhat.com>
49         * po/gold.pot: Regenerate.
51 2023-07-03  Nick Clifton  <nickc@redhat.com>
53         2.41 Branch Point.
55 2023-06-28  Nick Clifton  <nickc@redhat.com>
57         * po/fr.po: Updated French translation.
59 2023-03-27  Nick Clifton  <nickc@redhat.com>
61         PR 30187
62         * options.h (class General_options): Add enable-linker-version.
63         * layout.cc (Layout::create_gold_note): If linker-version is
64         enabled put the version string into the .comment section.
66 2023-01-03  Nick Clifton  <nickc@redhat.com>
68         * po/ro.po: Updated Romainian translation.
69         * po/uk.po: Updated Ukrainian translation.
71 2022-12-31  Nick Clifton  <nickc@redhat.com>
73         * 2.40 branch created.
75 2022-12-19  Nick Clifton  <nickc@redhat.com>
77         * po/ro.po: New file: Romainian translation.
79 2022-07-08  Nick Clifton  <nickc@redhat.com>
81         * 2.39 branch created.
83 2022-06-27  Nick Clifton  <nickc@redhat.com>
85         PR 23765
86         * fileread.cc (File_read::do_read): Check start parameter before
87         computing number of bytes to read.
89 2022-05-18  Nick Clifton  <nickc@redhat.com>
91         * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
92         current_length variable.
94 2022-02-17  Nick Clifton  <nickc@redhat.com>
96         * po/sr.po: Updated Serbian translation.
98 2022-02-02  Nick Clifton  <nickc@redhat.com>
100         * po/fr.po: Updated French translation.
102 2022-01-24  Nick Clifton  <nickc@redhat.com>
104         * po/ro.po: Updated Romanian translation.
106 2022-01-22  Nick Clifton  <nickc@redhat.com>
108         * configure: Regenerate.
109         * po/gold.pot: Regenerate.
110         * Makefile.in: Regenerate.
111         * testsuite/Makefile.in: Regenerate.
113 2022-01-22  Nick Clifton  <nickc@redhat.com>
115         * 2.38 release branch created.
117 2021-08-10  Nick Clifton  <nickc@redhat.com>
119         * po/sr.po: Updated Serbian translation.
121 2021-07-20  Alan Modra  <amodra@gmail.com>
123         PR gold/28106
124         PR gold/27815
125         * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
127 2021-07-17  Michael Krasnyk  <michael.krasnyk@gmail.com>
129         PR gold/28098
130         * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
131         with r_sym of zero without counting in advance method.
133 2021-07-03  Nick Clifton  <nickc@redhat.com>
135         * po/gold.pot: Regenerate.
137 2021-07-03  Nick Clifton  <nickc@redhat.com>
139         * 2.37 release branch created.
141 2021-05-25  Alan Modra  <amodra@gmail.com>
143         PR gold/27815
144         * gc.h (gc_process_relocs): Use cast in Section_id constructor.
146 2021-05-22  Alan Modra  <amodra@gmail.com>
148         PR gold/27815
149         * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
151 2021-05-15  Alan Modra  <amodra@gmail.com>
153         PR 27834
154         * options.cc (General_options::General_options): Init bsymbolic_.
156 2021-05-04  Fangrui Song  <maskray@google.com>
158         PR 27834
159         * options.h (General_options): Make -Bsymbolic and
160         -Bsymbolic-functions special and adjust the help messages. Add
161         enum Bsymbolic_kind and -Bno-symbolic.
162         * options.cc (General_options): Define parse_Bno_symbolic,
163         parse_Bsymbolic_functions, and parse_Bsymbolic.
165 2021-03-30  Alan Modra  <amodra@gmail.com>
167         PR gold/27625
168         * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
169         and tls_opt_error_ variables and accessors.
170         (Target_powerpc::Scan::local, global): Call set_tls_marker and
171         set_no_tls_marker for GD and LD code sequence relocations.
172         (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
173         reloc" error to a warning when safe to do so, and omit the error
174         entirely if not optimising TLS sequences.  Do not optimise GD and
175         LD sequences for objects lacking marker relocs.
176         (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
178 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
180         PR gold/27615
181         * errors.cc (Errors::trace): New method.
182         (gold_trace): New function.
183         * errors.h (Errors::trace): New method.
184         * gold.h (gold_trace): New function.
185         * object.cc (Input_objects::add_object): Use gold_trace to print
186         object file names.
188 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
190         PR gold/pr23870
191         * testsuite/aarch64_pr23870_bar.c: Return a magic value.
192         * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
193         success or failure.
195 2021-03-19  Holger Berger  <holger.berger@googlemail.com>
197         PR gold/26541
198         * output.cc (gold_fallocate): Use errno when calling system fallocate.
200 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
202         PR gold/26585
203         * main.cc (main): Fix typo in previous patch.
205 2021-03-19  Duncan Simpson  <dr.duncan.p.simpson@gmail.com>
207         PR gold/26585
208         * configure.ac: Add check for mallinfo2.
209         * configure: Regenerate.
210         * config.in: Regenerate from previous commit.
211         * main.cc (main): Use mallinfo2 if available.
213 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
215         PR gold/27246
216         * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
217         DW_FORM_implicit_const.
218         (Dwarf_ranges_table::read_ranges_table): Add version parameter;
219         Adjust all callers.  Look for .debug_rnglists section if DWARF 5.
220         (Dwarf_ranges_table::read_range_list_v5): New method.
221         (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
222         (Dwarf_die::skip_attributes): Likewise.
223         (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
224         (Dwarf_info_reader::read_3bytes_from_pointer): New method.
225         (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
226         str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
227         Look for .debug_line_str section.
228         (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
229         (Sized_dwarf_line_info::read_header_tables): Rename to...
230         (Sized_dwarf_line_info::read_header_tables_v2): ... this.
231         (Sized_dwarf_line_info::read_header_tables_v5): New method.
232         (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
233         Change advance_line to signed int64_t.
234         (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
235         callers.  Insert missing "this->".
236         (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
237         (Sized_dwarf_line_info::do_addr2line): Add debug code.
238         * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
239         field. Adjust constructor.
240         (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
241         (Dwarf_ranges_table::read_ranges_table): Add version parameter.
242         (Dwarf_ranges_table::read_range_list_v5): New method.
243         (Dwarf_die): Remove unused attr_off field.
244         (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
245         (Dwarf_info_reader::is_type_unit): New method.
246         (Dwarf_info_reader::read_3bytes_from_pointer): New method.
247         (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
248         DWARF 5 range lists.
249         (Dwarf_info_reader::is_type_unit_): Remove.
250         (Dwarf_info_reader::unit_type_): New field.
251         (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
252         str_buffer_start_.
253         (Sized_dwarf_line_info::read_header_tables): Rename to...
254         (Sized_dwarf_line_info::read_header_tables_v2): ... this.
255         (Sized_dwarf_line_info::read_header_tables_v5): New method.
256         (Sized_dwarf_line_info::read_lines): Add endptr parameter.
257         (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
258         (Sized_dwarf_line_info::str_buffer_): New field.
259         (Sized_dwarf_line_info::str_buffer_end_): New field.
260         (Sized_dwarf_line_info::str_buffer_start_): New field.
261         (Sized_dwarf_line_info::end_of_header_length_): New field.
262         (Sized_dwarf_line_info::end_of_unit_): New field.
264 2021-01-28  H.J. Lu  <hongjiu.lu@intel.com>
266         PR gold/27246
267         * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
268         Skip address size and segment selector for DWARF5.
270 2021-01-19  Alan Modra  <amodra@gmail.com>
272         PR 27203
273         * powerpc.cc (do_plt_fde_location): Remove doing_static_link
274         assertion.
276 2021-01-17  H.J. Lu  <hongjiu.lu@intel.com>
278         * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
279         against foo in ifuncmod6.so.
280         * testsuite/ifuncmod6.c: Likewise.
282 2021-01-14  Nick Clifton  <nickc@redhat.com>
284         * po/fr.po: Updated French translation.
286 2021-01-11  Nick Clifton  <nickc@redhat.com>
288         * po/sr.po: Updated Serbian translation.
289         * po/uk.po: Updated Ukranian translation.
291 2021-01-09  Nick Clifton  <nickc@redhat.com>
293         * 2.36 release branch crated.
295 2021-01-03  Alan Modra  <amodra@gmail.com>
297         PR 27140
298         * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
299         object->st_other() when 64-bit.
300         (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
302 2021-01-01  Nicolas Boulenguez  <nicolas@debian.org>
304         * tilegx.cc: Correct comment spelling.
306 2021-01-01  Alan Modra  <amodra@gmail.com>
308         Update year range in copyright notice of all files.
310 For older changes see ChangeLog-2020
312 Copyright (C) 2021-2025 Free Software Foundation, Inc.
314 Copying and distribution of this file, with or without modification,
315 are permitted in any medium without royalty provided the copyright
316 notice and this notice are preserved.
318 Local Variables:
319 mode: change-log
320 left-margin: 8
321 fill-column: 74
322 version-control: never
323 End: