1 2023-07-30 Nick Clifton <nickc@redhat.com>
3 This is the 2.41 release.
4 * po/gold.pot: Regenerate.
6 2023-07-03 Nick Clifton <nickc@redhat.com>
10 2023-06-28 Nick Clifton <nickc@redhat.com>
12 * po/fr.po: Updated French translation.
14 2023-03-27 Nick Clifton <nickc@redhat.com>
17 * options.h (class General_options): Add enable-linker-version.
18 * layout.cc (Layout::create_gold_note): If linker-version is
19 enabled put the version string into the .comment section.
21 2023-01-03 Nick Clifton <nickc@redhat.com>
23 * po/ro.po: Updated Romainian translation.
24 * po/uk.po: Updated Ukrainian translation.
26 2022-12-31 Nick Clifton <nickc@redhat.com>
28 * 2.40 branch created.
30 2022-12-19 Nick Clifton <nickc@redhat.com>
32 * po/ro.po: New file: Romainian translation.
34 2022-07-08 Nick Clifton <nickc@redhat.com>
36 * 2.39 branch created.
38 2022-06-27 Nick Clifton <nickc@redhat.com>
41 * fileread.cc (File_read::do_read): Check start parameter before
42 computing number of bytes to read.
44 2022-05-18 Nick Clifton <nickc@redhat.com>
46 * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
47 current_length variable.
49 2022-02-17 Nick Clifton <nickc@redhat.com>
51 * po/sr.po: Updated Serbian translation.
53 2022-02-02 Nick Clifton <nickc@redhat.com>
55 * po/fr.po: Updated French translation.
57 2022-01-24 Nick Clifton <nickc@redhat.com>
59 * po/ro.po: Updated Romanian translation.
61 2022-01-22 Nick Clifton <nickc@redhat.com>
63 * configure: Regenerate.
64 * po/gold.pot: Regenerate.
65 * Makefile.in: Regenerate.
66 * testsuite/Makefile.in: Regenerate.
68 2022-01-22 Nick Clifton <nickc@redhat.com>
70 * 2.38 release branch created.
72 2021-08-10 Nick Clifton <nickc@redhat.com>
74 * po/sr.po: Updated Serbian translation.
76 2021-07-20 Alan Modra <amodra@gmail.com>
80 * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
82 2021-07-17 Michael Krasnyk <michael.krasnyk@gmail.com>
85 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
86 with r_sym of zero without counting in advance method.
88 2021-07-03 Nick Clifton <nickc@redhat.com>
90 * po/gold.pot: Regenerate.
92 2021-07-03 Nick Clifton <nickc@redhat.com>
94 * 2.37 release branch created.
96 2021-05-25 Alan Modra <amodra@gmail.com>
99 * gc.h (gc_process_relocs): Use cast in Section_id constructor.
101 2021-05-22 Alan Modra <amodra@gmail.com>
104 * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
106 2021-05-15 Alan Modra <amodra@gmail.com>
109 * options.cc (General_options::General_options): Init bsymbolic_.
111 2021-05-04 Fangrui Song <maskray@google.com>
114 * options.h (General_options): Make -Bsymbolic and
115 -Bsymbolic-functions special and adjust the help messages. Add
116 enum Bsymbolic_kind and -Bno-symbolic.
117 * options.cc (General_options): Define parse_Bno_symbolic,
118 parse_Bsymbolic_functions, and parse_Bsymbolic.
120 2021-03-30 Alan Modra <amodra@gmail.com>
123 * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
124 and tls_opt_error_ variables and accessors.
125 (Target_powerpc::Scan::local, global): Call set_tls_marker and
126 set_no_tls_marker for GD and LD code sequence relocations.
127 (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
128 reloc" error to a warning when safe to do so, and omit the error
129 entirely if not optimising TLS sequences. Do not optimise GD and
130 LD sequences for objects lacking marker relocs.
131 (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
133 2021-03-19 Cary Coutant <ccoutant@gmail.com>
136 * errors.cc (Errors::trace): New method.
137 (gold_trace): New function.
138 * errors.h (Errors::trace): New method.
139 * gold.h (gold_trace): New function.
140 * object.cc (Input_objects::add_object): Use gold_trace to print
143 2021-03-19 Cary Coutant <ccoutant@gmail.com>
146 * testsuite/aarch64_pr23870_bar.c: Return a magic value.
147 * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
150 2021-03-19 Holger Berger <holger.berger@googlemail.com>
153 * output.cc (gold_fallocate): Use errno when calling system fallocate.
155 2021-03-19 Cary Coutant <ccoutant@gmail.com>
158 * main.cc (main): Fix typo in previous patch.
160 2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
163 * configure.ac: Add check for mallinfo2.
164 * configure: Regenerate.
165 * config.in: Regenerate from previous commit.
166 * main.cc (main): Use mallinfo2 if available.
168 2021-03-19 Cary Coutant <ccoutant@gmail.com>
171 * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
172 DW_FORM_implicit_const.
173 (Dwarf_ranges_table::read_ranges_table): Add version parameter;
174 Adjust all callers. Look for .debug_rnglists section if DWARF 5.
175 (Dwarf_ranges_table::read_range_list_v5): New method.
176 (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
177 (Dwarf_die::skip_attributes): Likewise.
178 (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
179 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
180 (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
181 str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
182 Look for .debug_line_str section.
183 (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
184 (Sized_dwarf_line_info::read_header_tables): Rename to...
185 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
186 (Sized_dwarf_line_info::read_header_tables_v5): New method.
187 (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
188 Change advance_line to signed int64_t.
189 (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
190 callers. Insert missing "this->".
191 (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
192 (Sized_dwarf_line_info::do_addr2line): Add debug code.
193 * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
194 field. Adjust constructor.
195 (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
196 (Dwarf_ranges_table::read_ranges_table): Add version parameter.
197 (Dwarf_ranges_table::read_range_list_v5): New method.
198 (Dwarf_die): Remove unused attr_off field.
199 (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
200 (Dwarf_info_reader::is_type_unit): New method.
201 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
202 (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
204 (Dwarf_info_reader::is_type_unit_): Remove.
205 (Dwarf_info_reader::unit_type_): New field.
206 (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
208 (Sized_dwarf_line_info::read_header_tables): Rename to...
209 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
210 (Sized_dwarf_line_info::read_header_tables_v5): New method.
211 (Sized_dwarf_line_info::read_lines): Add endptr parameter.
212 (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
213 (Sized_dwarf_line_info::str_buffer_): New field.
214 (Sized_dwarf_line_info::str_buffer_end_): New field.
215 (Sized_dwarf_line_info::str_buffer_start_): New field.
216 (Sized_dwarf_line_info::end_of_header_length_): New field.
217 (Sized_dwarf_line_info::end_of_unit_): New field.
219 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
222 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
223 Skip address size and segment selector for DWARF5.
225 2021-01-19 Alan Modra <amodra@gmail.com>
228 * powerpc.cc (do_plt_fde_location): Remove doing_static_link
231 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
233 * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
234 against foo in ifuncmod6.so.
235 * testsuite/ifuncmod6.c: Likewise.
237 2021-01-14 Nick Clifton <nickc@redhat.com>
239 * po/fr.po: Updated French translation.
241 2021-01-11 Nick Clifton <nickc@redhat.com>
243 * po/sr.po: Updated Serbian translation.
244 * po/uk.po: Updated Ukranian translation.
246 2021-01-09 Nick Clifton <nickc@redhat.com>
248 * 2.36 release branch crated.
250 2021-01-03 Alan Modra <amodra@gmail.com>
253 * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
254 object->st_other() when 64-bit.
255 (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
257 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
259 * tilegx.cc: Correct comment spelling.
261 2021-01-01 Alan Modra <amodra@gmail.com>
263 Update year range in copyright notice of all files.
265 For older changes see ChangeLog-2020
267 Copyright (C) 2021-2023 Free Software Foundation, Inc.
269 Copying and distribution of this file, with or without modification,
270 are permitted in any medium without royalty provided the copyright
271 notice and this notice are preserved.
277 version-control: never