1 2024-01-15 Nick Clifton <nickc@redhat.com>
5 2023-11-17 YunQiang Su <yunqiang.su@cipunited.com>
7 * configure.tgt (mips targets): Set targ_extra_size=64.
9 2023-11-15 Arsen Arsenović <arsen@aarsen.me>
11 * aclocal.m4: Regenerate.
12 * configure: Regenerate.
13 * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
14 temporary file, to suppress xgettext checking charset names.
16 2023-11-10 YunQiang Su <yunqiang.su@cipunited.com>
18 * configure.tgt (mips targets): Set targ_machine to EM_MIPS for
19 little endian mips targets.
21 2023-09-05 Roland McGrath <mcgrathr@google.com>
23 The std::basic_string template type is only specified for
24 instantiations using character types. Newer (LLVM) libc++
25 implementations no longer allow non-character integer types
27 * output.cc: Include <uchar.h>.
28 (Output_section::add_merge_input_section): Use char16_t and
29 char32_t for 2- and 4-byte entry size, respectively.
30 * stringpool.cc: Include <uchar.h>.
31 (Stringpool_template): Explicitly instantiate for char16_t,
32 char32_t instead of uint16_t, uint32_t.
33 * merge.cc (Output_merge_string): Likewise.
35 2023-07-03 Nick Clifton <nickc@redhat.com>
37 * po/gold.pot: Regenerate.
39 2023-07-03 Nick Clifton <nickc@redhat.com>
43 2023-06-28 Nick Clifton <nickc@redhat.com>
45 * po/fr.po: Updated French translation.
47 2023-03-27 Nick Clifton <nickc@redhat.com>
50 * options.h (class General_options): Add enable-linker-version.
51 * layout.cc (Layout::create_gold_note): If linker-version is
52 enabled put the version string into the .comment section.
54 2023-01-03 Nick Clifton <nickc@redhat.com>
56 * po/ro.po: Updated Romainian translation.
57 * po/uk.po: Updated Ukrainian translation.
59 2022-12-31 Nick Clifton <nickc@redhat.com>
61 * 2.40 branch created.
63 2022-12-19 Nick Clifton <nickc@redhat.com>
65 * po/ro.po: New file: Romainian translation.
67 2022-07-08 Nick Clifton <nickc@redhat.com>
69 * 2.39 branch created.
71 2022-06-27 Nick Clifton <nickc@redhat.com>
74 * fileread.cc (File_read::do_read): Check start parameter before
75 computing number of bytes to read.
77 2022-05-18 Nick Clifton <nickc@redhat.com>
79 * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
80 current_length variable.
82 2022-02-17 Nick Clifton <nickc@redhat.com>
84 * po/sr.po: Updated Serbian translation.
86 2022-02-02 Nick Clifton <nickc@redhat.com>
88 * po/fr.po: Updated French translation.
90 2022-01-24 Nick Clifton <nickc@redhat.com>
92 * po/ro.po: Updated Romanian translation.
94 2022-01-22 Nick Clifton <nickc@redhat.com>
96 * configure: Regenerate.
97 * po/gold.pot: Regenerate.
98 * Makefile.in: Regenerate.
99 * testsuite/Makefile.in: Regenerate.
101 2022-01-22 Nick Clifton <nickc@redhat.com>
103 * 2.38 release branch created.
105 2021-08-10 Nick Clifton <nickc@redhat.com>
107 * po/sr.po: Updated Serbian translation.
109 2021-07-20 Alan Modra <amodra@gmail.com>
113 * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
115 2021-07-17 Michael Krasnyk <michael.krasnyk@gmail.com>
118 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
119 with r_sym of zero without counting in advance method.
121 2021-07-03 Nick Clifton <nickc@redhat.com>
123 * po/gold.pot: Regenerate.
125 2021-07-03 Nick Clifton <nickc@redhat.com>
127 * 2.37 release branch created.
129 2021-05-25 Alan Modra <amodra@gmail.com>
132 * gc.h (gc_process_relocs): Use cast in Section_id constructor.
134 2021-05-22 Alan Modra <amodra@gmail.com>
137 * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
139 2021-05-15 Alan Modra <amodra@gmail.com>
142 * options.cc (General_options::General_options): Init bsymbolic_.
144 2021-05-04 Fangrui Song <maskray@google.com>
147 * options.h (General_options): Make -Bsymbolic and
148 -Bsymbolic-functions special and adjust the help messages. Add
149 enum Bsymbolic_kind and -Bno-symbolic.
150 * options.cc (General_options): Define parse_Bno_symbolic,
151 parse_Bsymbolic_functions, and parse_Bsymbolic.
153 2021-03-30 Alan Modra <amodra@gmail.com>
156 * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
157 and tls_opt_error_ variables and accessors.
158 (Target_powerpc::Scan::local, global): Call set_tls_marker and
159 set_no_tls_marker for GD and LD code sequence relocations.
160 (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
161 reloc" error to a warning when safe to do so, and omit the error
162 entirely if not optimising TLS sequences. Do not optimise GD and
163 LD sequences for objects lacking marker relocs.
164 (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
166 2021-03-19 Cary Coutant <ccoutant@gmail.com>
169 * errors.cc (Errors::trace): New method.
170 (gold_trace): New function.
171 * errors.h (Errors::trace): New method.
172 * gold.h (gold_trace): New function.
173 * object.cc (Input_objects::add_object): Use gold_trace to print
176 2021-03-19 Cary Coutant <ccoutant@gmail.com>
179 * testsuite/aarch64_pr23870_bar.c: Return a magic value.
180 * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
183 2021-03-19 Holger Berger <holger.berger@googlemail.com>
186 * output.cc (gold_fallocate): Use errno when calling system fallocate.
188 2021-03-19 Cary Coutant <ccoutant@gmail.com>
191 * main.cc (main): Fix typo in previous patch.
193 2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
196 * configure.ac: Add check for mallinfo2.
197 * configure: Regenerate.
198 * config.in: Regenerate from previous commit.
199 * main.cc (main): Use mallinfo2 if available.
201 2021-03-19 Cary Coutant <ccoutant@gmail.com>
204 * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
205 DW_FORM_implicit_const.
206 (Dwarf_ranges_table::read_ranges_table): Add version parameter;
207 Adjust all callers. Look for .debug_rnglists section if DWARF 5.
208 (Dwarf_ranges_table::read_range_list_v5): New method.
209 (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
210 (Dwarf_die::skip_attributes): Likewise.
211 (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
212 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
213 (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
214 str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
215 Look for .debug_line_str section.
216 (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
217 (Sized_dwarf_line_info::read_header_tables): Rename to...
218 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
219 (Sized_dwarf_line_info::read_header_tables_v5): New method.
220 (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
221 Change advance_line to signed int64_t.
222 (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
223 callers. Insert missing "this->".
224 (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
225 (Sized_dwarf_line_info::do_addr2line): Add debug code.
226 * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
227 field. Adjust constructor.
228 (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
229 (Dwarf_ranges_table::read_ranges_table): Add version parameter.
230 (Dwarf_ranges_table::read_range_list_v5): New method.
231 (Dwarf_die): Remove unused attr_off field.
232 (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
233 (Dwarf_info_reader::is_type_unit): New method.
234 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
235 (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
237 (Dwarf_info_reader::is_type_unit_): Remove.
238 (Dwarf_info_reader::unit_type_): New field.
239 (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
241 (Sized_dwarf_line_info::read_header_tables): Rename to...
242 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
243 (Sized_dwarf_line_info::read_header_tables_v5): New method.
244 (Sized_dwarf_line_info::read_lines): Add endptr parameter.
245 (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
246 (Sized_dwarf_line_info::str_buffer_): New field.
247 (Sized_dwarf_line_info::str_buffer_end_): New field.
248 (Sized_dwarf_line_info::str_buffer_start_): New field.
249 (Sized_dwarf_line_info::end_of_header_length_): New field.
250 (Sized_dwarf_line_info::end_of_unit_): New field.
252 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
255 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
256 Skip address size and segment selector for DWARF5.
258 2021-01-19 Alan Modra <amodra@gmail.com>
261 * powerpc.cc (do_plt_fde_location): Remove doing_static_link
264 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
266 * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
267 against foo in ifuncmod6.so.
268 * testsuite/ifuncmod6.c: Likewise.
270 2021-01-14 Nick Clifton <nickc@redhat.com>
272 * po/fr.po: Updated French translation.
274 2021-01-11 Nick Clifton <nickc@redhat.com>
276 * po/sr.po: Updated Serbian translation.
277 * po/uk.po: Updated Ukranian translation.
279 2021-01-09 Nick Clifton <nickc@redhat.com>
281 * 2.36 release branch crated.
283 2021-01-03 Alan Modra <amodra@gmail.com>
286 * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
287 object->st_other() when 64-bit.
288 (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
290 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
292 * tilegx.cc: Correct comment spelling.
294 2021-01-01 Alan Modra <amodra@gmail.com>
296 Update year range in copyright notice of all files.
298 For older changes see ChangeLog-2020
300 Copyright (C) 2021-2024 Free Software Foundation, Inc.
302 Copying and distribution of this file, with or without modification,
303 are permitted in any medium without royalty provided the copyright
304 notice and this notice are preserved.
310 version-control: never