x86/gas: replace inappropriate assertion when parsing registers
[binutils-gdb.git] / gold / ChangeLog
blob2aec5d608aef9926c8c1cb9d62a71d56681e8f73
1 2023-01-03  Nick Clifton  <nickc@redhat.com>
3         * po/ro.po: Updated Romainian translation.
4         * po/uk.po: Updated Ukrainian translation.
6 2022-12-31  Nick Clifton  <nickc@redhat.com>
8         * 2.40 branch created.
10 2022-12-19  Nick Clifton  <nickc@redhat.com>
12         * po/ro.po: New file: Romainian translation.
14 2022-07-08  Nick Clifton  <nickc@redhat.com>
16         * 2.39 branch created.
18 2022-06-27  Nick Clifton  <nickc@redhat.com>
20         PR 23765
21         * fileread.cc (File_read::do_read): Check start parameter before
22         computing number of bytes to read.
24 2022-05-18  Nick Clifton  <nickc@redhat.com>
26         * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
27         current_length variable.
29 2022-02-17  Nick Clifton  <nickc@redhat.com>
31         * po/sr.po: Updated Serbian translation.
33 2022-02-02  Nick Clifton  <nickc@redhat.com>
35         * po/fr.po: Updated French translation.
37 2022-01-24  Nick Clifton  <nickc@redhat.com>
39         * po/ro.po: Updated Romanian translation.
41 2022-01-22  Nick Clifton  <nickc@redhat.com>
43         * configure: Regenerate.
44         * po/gold.pot: Regenerate.
45         * Makefile.in: Regenerate.
46         * testsuite/Makefile.in: Regenerate.
48 2022-01-22  Nick Clifton  <nickc@redhat.com>
50         * 2.38 release branch created.
52 2021-08-10  Nick Clifton  <nickc@redhat.com>
54         * po/sr.po: Updated Serbian translation.
56 2021-07-20  Alan Modra  <amodra@gmail.com>
58         PR gold/28106
59         PR gold/27815
60         * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
62 2021-07-17  Michael Krasnyk  <michael.krasnyk@gmail.com>
64         PR gold/28098
65         * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
66         with r_sym of zero without counting in advance method.
68 2021-07-03  Nick Clifton  <nickc@redhat.com>
70         * po/gold.pot: Regenerate.
72 2021-07-03  Nick Clifton  <nickc@redhat.com>
74         * 2.37 release branch created.
76 2021-05-25  Alan Modra  <amodra@gmail.com>
78         PR gold/27815
79         * gc.h (gc_process_relocs): Use cast in Section_id constructor.
81 2021-05-22  Alan Modra  <amodra@gmail.com>
83         PR gold/27815
84         * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
86 2021-05-15  Alan Modra  <amodra@gmail.com>
88         PR 27834
89         * options.cc (General_options::General_options): Init bsymbolic_.
91 2021-05-04  Fangrui Song  <maskray@google.com>
93         PR 27834
94         * options.h (General_options): Make -Bsymbolic and
95         -Bsymbolic-functions special and adjust the help messages. Add
96         enum Bsymbolic_kind and -Bno-symbolic.
97         * options.cc (General_options): Define parse_Bno_symbolic,
98         parse_Bsymbolic_functions, and parse_Bsymbolic.
100 2021-03-30  Alan Modra  <amodra@gmail.com>
102         PR gold/27625
103         * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
104         and tls_opt_error_ variables and accessors.
105         (Target_powerpc::Scan::local, global): Call set_tls_marker and
106         set_no_tls_marker for GD and LD code sequence relocations.
107         (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
108         reloc" error to a warning when safe to do so, and omit the error
109         entirely if not optimising TLS sequences.  Do not optimise GD and
110         LD sequences for objects lacking marker relocs.
111         (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
113 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
115         PR gold/27615
116         * errors.cc (Errors::trace): New method.
117         (gold_trace): New function.
118         * errors.h (Errors::trace): New method.
119         * gold.h (gold_trace): New function.
120         * object.cc (Input_objects::add_object): Use gold_trace to print
121         object file names.
123 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
125         PR gold/pr23870
126         * testsuite/aarch64_pr23870_bar.c: Return a magic value.
127         * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
128         success or failure.
130 2021-03-19  Holger Berger  <holger.berger@googlemail.com>
132         PR gold/26541
133         * output.cc (gold_fallocate): Use errno when calling system fallocate.
135 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
137         PR gold/26585
138         * main.cc (main): Fix typo in previous patch.
140 2021-03-19  Duncan Simpson  <dr.duncan.p.simpson@gmail.com>
142         PR gold/26585
143         * configure.ac: Add check for mallinfo2.
144         * configure: Regenerate.
145         * config.in: Regenerate from previous commit.
146         * main.cc (main): Use mallinfo2 if available.
148 2021-03-19  Cary Coutant  <ccoutant@gmail.com>
150         PR gold/27246
151         * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
152         DW_FORM_implicit_const.
153         (Dwarf_ranges_table::read_ranges_table): Add version parameter;
154         Adjust all callers.  Look for .debug_rnglists section if DWARF 5.
155         (Dwarf_ranges_table::read_range_list_v5): New method.
156         (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
157         (Dwarf_die::skip_attributes): Likewise.
158         (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
159         (Dwarf_info_reader::read_3bytes_from_pointer): New method.
160         (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
161         str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
162         Look for .debug_line_str section.
163         (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
164         (Sized_dwarf_line_info::read_header_tables): Rename to...
165         (Sized_dwarf_line_info::read_header_tables_v2): ... this.
166         (Sized_dwarf_line_info::read_header_tables_v5): New method.
167         (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
168         Change advance_line to signed int64_t.
169         (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
170         callers.  Insert missing "this->".
171         (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
172         (Sized_dwarf_line_info::do_addr2line): Add debug code.
173         * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
174         field. Adjust constructor.
175         (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
176         (Dwarf_ranges_table::read_ranges_table): Add version parameter.
177         (Dwarf_ranges_table::read_range_list_v5): New method.
178         (Dwarf_die): Remove unused attr_off field.
179         (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
180         (Dwarf_info_reader::is_type_unit): New method.
181         (Dwarf_info_reader::read_3bytes_from_pointer): New method.
182         (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
183         DWARF 5 range lists.
184         (Dwarf_info_reader::is_type_unit_): Remove.
185         (Dwarf_info_reader::unit_type_): New field.
186         (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
187         str_buffer_start_.
188         (Sized_dwarf_line_info::read_header_tables): Rename to...
189         (Sized_dwarf_line_info::read_header_tables_v2): ... this.
190         (Sized_dwarf_line_info::read_header_tables_v5): New method.
191         (Sized_dwarf_line_info::read_lines): Add endptr parameter.
192         (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
193         (Sized_dwarf_line_info::str_buffer_): New field.
194         (Sized_dwarf_line_info::str_buffer_end_): New field.
195         (Sized_dwarf_line_info::str_buffer_start_): New field.
196         (Sized_dwarf_line_info::end_of_header_length_): New field.
197         (Sized_dwarf_line_info::end_of_unit_): New field.
199 2021-01-28  H.J. Lu  <hongjiu.lu@intel.com>
201         PR gold/27246
202         * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
203         Skip address size and segment selector for DWARF5.
205 2021-01-19  Alan Modra  <amodra@gmail.com>
207         PR 27203
208         * powerpc.cc (do_plt_fde_location): Remove doing_static_link
209         assertion.
211 2021-01-17  H.J. Lu  <hongjiu.lu@intel.com>
213         * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
214         against foo in ifuncmod6.so.
215         * testsuite/ifuncmod6.c: Likewise.
217 2021-01-14  Nick Clifton  <nickc@redhat.com>
219         * po/fr.po: Updated French translation.
221 2021-01-11  Nick Clifton  <nickc@redhat.com>
223         * po/sr.po: Updated Serbian translation.
224         * po/uk.po: Updated Ukranian translation.
226 2021-01-09  Nick Clifton  <nickc@redhat.com>
228         * 2.36 release branch crated.
230 2021-01-03  Alan Modra  <amodra@gmail.com>
232         PR 27140
233         * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
234         object->st_other() when 64-bit.
235         (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
237 2021-01-01  Nicolas Boulenguez  <nicolas@debian.org>
239         * tilegx.cc: Correct comment spelling.
241 2021-01-01  Alan Modra  <amodra@gmail.com>
243         Update year range in copyright notice of all files.
245 For older changes see ChangeLog-2020
247 Copyright (C) 2021-2023 Free Software Foundation, Inc.
249 Copying and distribution of this file, with or without modification,
250 are permitted in any medium without royalty provided the copyright
251 notice and this notice are preserved.
253 Local Variables:
254 mode: change-log
255 left-margin: 8
256 fill-column: 74
257 version-control: never
258 End: