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