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