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