]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/ChangeLog
Add markers for 2.42 branch
[thirdparty/binutils-gdb.git] / gold / ChangeLog
1 2024-01-15 Nick Clifton <nickc@redhat.com>
2
3 * 2.42 branch point.
4
5 2023-11-17 YunQiang Su <yunqiang.su@cipunited.com>
6
7 * configure.tgt (mips targets): Set targ_extra_size=64.
8
9 2023-11-15 Arsen Arsenović <arsen@aarsen.me>
10
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.
15
16 2023-11-10 YunQiang Su <yunqiang.su@cipunited.com>
17
18 * configure.tgt (mips targets): Set targ_machine to EM_MIPS for
19 little endian mips targets.
20
21 2023-09-05 Roland McGrath <mcgrathr@google.com>
22
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
26 to be used.
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.
34
35 2023-07-03 Nick Clifton <nickc@redhat.com>
36
37 * po/gold.pot: Regenerate.
38
39 2023-07-03 Nick Clifton <nickc@redhat.com>
40
41 2.41 Branch Point.
42
43 2023-06-28 Nick Clifton <nickc@redhat.com>
44
45 * po/fr.po: Updated French translation.
46
47 2023-03-27 Nick Clifton <nickc@redhat.com>
48
49 PR 30187
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.
53
54 2023-01-03 Nick Clifton <nickc@redhat.com>
55
56 * po/ro.po: Updated Romainian translation.
57 * po/uk.po: Updated Ukrainian translation.
58
59 2022-12-31 Nick Clifton <nickc@redhat.com>
60
61 * 2.40 branch created.
62
63 2022-12-19 Nick Clifton <nickc@redhat.com>
64
65 * po/ro.po: New file: Romainian translation.
66
67 2022-07-08 Nick Clifton <nickc@redhat.com>
68
69 * 2.39 branch created.
70
71 2022-06-27 Nick Clifton <nickc@redhat.com>
72
73 PR 23765
74 * fileread.cc (File_read::do_read): Check start parameter before
75 computing number of bytes to read.
76
77 2022-05-18 Nick Clifton <nickc@redhat.com>
78
79 * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
80 current_length variable.
81
82 2022-02-17 Nick Clifton <nickc@redhat.com>
83
84 * po/sr.po: Updated Serbian translation.
85
86 2022-02-02 Nick Clifton <nickc@redhat.com>
87
88 * po/fr.po: Updated French translation.
89
90 2022-01-24 Nick Clifton <nickc@redhat.com>
91
92 * po/ro.po: Updated Romanian translation.
93
94 2022-01-22 Nick Clifton <nickc@redhat.com>
95
96 * configure: Regenerate.
97 * po/gold.pot: Regenerate.
98 * Makefile.in: Regenerate.
99 * testsuite/Makefile.in: Regenerate.
100
101 2022-01-22 Nick Clifton <nickc@redhat.com>
102
103 * 2.38 release branch created.
104
105 2021-08-10 Nick Clifton <nickc@redhat.com>
106
107 * po/sr.po: Updated Serbian translation.
108
109 2021-07-20 Alan Modra <amodra@gmail.com>
110
111 PR gold/28106
112 PR gold/27815
113 * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
114
115 2021-07-17 Michael Krasnyk <michael.krasnyk@gmail.com>
116
117 PR gold/28098
118 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
119 with r_sym of zero without counting in advance method.
120
121 2021-07-03 Nick Clifton <nickc@redhat.com>
122
123 * po/gold.pot: Regenerate.
124
125 2021-07-03 Nick Clifton <nickc@redhat.com>
126
127 * 2.37 release branch created.
128
129 2021-05-25 Alan Modra <amodra@gmail.com>
130
131 PR gold/27815
132 * gc.h (gc_process_relocs): Use cast in Section_id constructor.
133
134 2021-05-22 Alan Modra <amodra@gmail.com>
135
136 PR gold/27815
137 * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
138
139 2021-05-15 Alan Modra <amodra@gmail.com>
140
141 PR 27834
142 * options.cc (General_options::General_options): Init bsymbolic_.
143
144 2021-05-04 Fangrui Song <maskray@google.com>
145
146 PR 27834
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.
152
153 2021-03-30 Alan Modra <amodra@gmail.com>
154
155 PR gold/27625
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.
165
166 2021-03-19 Cary Coutant <ccoutant@gmail.com>
167
168 PR gold/27615
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
174 object file names.
175
176 2021-03-19 Cary Coutant <ccoutant@gmail.com>
177
178 PR gold/pr23870
179 * testsuite/aarch64_pr23870_bar.c: Return a magic value.
180 * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
181 success or failure.
182
183 2021-03-19 Holger Berger <holger.berger@googlemail.com>
184
185 PR gold/26541
186 * output.cc (gold_fallocate): Use errno when calling system fallocate.
187
188 2021-03-19 Cary Coutant <ccoutant@gmail.com>
189
190 PR gold/26585
191 * main.cc (main): Fix typo in previous patch.
192
193 2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
194
195 PR gold/26585
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.
200
201 2021-03-19 Cary Coutant <ccoutant@gmail.com>
202
203 PR gold/27246
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
236 DWARF 5 range lists.
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
240 str_buffer_start_.
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.
251
252 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR gold/27246
255 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
256 Skip address size and segment selector for DWARF5.
257
258 2021-01-19 Alan Modra <amodra@gmail.com>
259
260 PR 27203
261 * powerpc.cc (do_plt_fde_location): Remove doing_static_link
262 assertion.
263
264 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
265
266 * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
267 against foo in ifuncmod6.so.
268 * testsuite/ifuncmod6.c: Likewise.
269
270 2021-01-14 Nick Clifton <nickc@redhat.com>
271
272 * po/fr.po: Updated French translation.
273
274 2021-01-11 Nick Clifton <nickc@redhat.com>
275
276 * po/sr.po: Updated Serbian translation.
277 * po/uk.po: Updated Ukranian translation.
278
279 2021-01-09 Nick Clifton <nickc@redhat.com>
280
281 * 2.36 release branch crated.
282
283 2021-01-03 Alan Modra <amodra@gmail.com>
284
285 PR 27140
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.
289
290 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
291
292 * tilegx.cc: Correct comment spelling.
293
294 2021-01-01 Alan Modra <amodra@gmail.com>
295
296 Update year range in copyright notice of all files.
297
298 For older changes see ChangeLog-2020
299 \f
300 Copyright (C) 2021-2024 Free Software Foundation, Inc.
301
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.
305
306 Local Variables:
307 mode: change-log
308 left-margin: 8
309 fill-column: 74
310 version-control: never
311 End: