]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gold/ChangeLog
Add markers for 2.42 branch
[thirdparty/binutils-gdb.git] / gold / ChangeLog
CommitLineData
299b91cd
NC
12024-01-15 Nick Clifton <nickc@redhat.com>
2
3 * 2.42 branch point.
4
619a8a36
YS
52023-11-17 YunQiang Su <yunqiang.su@cipunited.com>
6
7 * configure.tgt (mips targets): Set targ_extra_size=64.
8
862776f2
AA
92023-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
870a4f2c
YS
162023-11-10 YunQiang Su <yunqiang.su@cipunited.com>
17
619a8a36
YS
18 * configure.tgt (mips targets): Set targ_machine to EM_MIPS for
19 little endian mips targets.
870a4f2c 20
5e9091da
RM
212023-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
b5c37946 352023-07-03 Nick Clifton <nickc@redhat.com>
87485f53
NC
36
37 * po/gold.pot: Regenerate.
38
d501d384
NC
392023-07-03 Nick Clifton <nickc@redhat.com>
40
41 2.41 Branch Point.
42
8527c366
NC
432023-06-28 Nick Clifton <nickc@redhat.com>
44
45 * po/fr.po: Updated French translation.
46
eb42b9d6
NC
472023-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
11982f9f
NC
542023-01-03 Nick Clifton <nickc@redhat.com>
55
56 * po/ro.po: Updated Romainian translation.
57 * po/uk.po: Updated Ukrainian translation.
58
a72b0718
NC
592022-12-31 Nick Clifton <nickc@redhat.com>
60
61 * 2.40 branch created.
62
d14b3ea1
NC
632022-12-19 Nick Clifton <nickc@redhat.com>
64
65 * po/ro.po: New file: Romainian translation.
66
0bd09323
NC
672022-07-08 Nick Clifton <nickc@redhat.com>
68
69 * 2.39 branch created.
70
2a4fc266
NC
712022-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
2a89fa96
NC
772022-05-18 Nick Clifton <nickc@redhat.com>
78
79 * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
80 current_length variable.
81
36d285b9
NC
822022-02-17 Nick Clifton <nickc@redhat.com>
83
84 * po/sr.po: Updated Serbian translation.
85
a6983974
NC
862022-02-02 Nick Clifton <nickc@redhat.com>
87
88 * po/fr.po: Updated French translation.
89
5fe73d46
NC
902022-01-24 Nick Clifton <nickc@redhat.com>
91
92 * po/ro.po: Updated Romanian translation.
93
f908e960
NC
942022-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
a74e1cb3
NC
1012022-01-22 Nick Clifton <nickc@redhat.com>
102
103 * 2.38 release branch created.
104
3ee0cd9e
NC
1052021-08-10 Nick Clifton <nickc@redhat.com>
106
107 * po/sr.po: Updated Serbian translation.
108
b97bd976
AM
1092021-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
7c6ff8af
MK
1152021-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
346d80ef
NC
1212021-07-03 Nick Clifton <nickc@redhat.com>
122
123 * po/gold.pot: Regenerate.
124
51419248
NC
1252021-07-03 Nick Clifton <nickc@redhat.com>
126
127 * 2.37 release branch created.
128
5d7f11f0
AM
1292021-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
1f1fb219
AM
1342021-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
7c96e612
AM
1392021-05-15 Alan Modra <amodra@gmail.com>
140
141 PR 27834
142 * options.cc (General_options::General_options): Init bsymbolic_.
143
823241a2
FS
1442021-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
0af4fcc2
AM
1532021-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
35891b47
CC
1662021-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
b218a839
CC
1762021-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
07b1c3db
HB
1832021-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
cc184971
CC
1882021-03-19 Cary Coutant <ccoutant@gmail.com>
189
190 PR gold/26585
191 * main.cc (main): Fix typo in previous patch.
192
1932021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
4ee60495
DS
194
195 PR gold/26585
196 * configure.ac: Add check for mallinfo2.
197 * configure: Regenerate.
cc184971 198 * config.in: Regenerate from previous commit.
4ee60495
DS
199 * main.cc (main): Use mallinfo2 if available.
200
5cde809b
CC
2012021-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
0318cca4
L
2522021-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
a75a6a41
AM
2582021-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
25294ff0
L
2642021-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
5a10699f
NC
2702021-01-14 Nick Clifton <nickc@redhat.com>
271
272 * po/fr.po: Updated French translation.
273
a8aa72b9
NC
2742021-01-11 Nick Clifton <nickc@redhat.com>
275
276 * po/sr.po: Updated Serbian translation.
277 * po/uk.po: Updated Ukranian translation.
278
055bc77a
NC
2792021-01-09 Nick Clifton <nickc@redhat.com>
280
281 * 2.36 release branch crated.
282
e3b53295
AM
2832021-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
f9a6a8f0
AM
2902021-01-01 Nicolas Boulenguez <nicolas@debian.org>
291
292 * tilegx.cc: Correct comment spelling.
293
250d07de
AM
2942021-01-01 Alan Modra <amodra@gmail.com>
295
296 Update year range in copyright notice of all files.
297
c2795844 298For older changes see ChangeLog-2020
3499769a 299\f
fd67aa11 300Copyright (C) 2021-2024 Free Software Foundation, Inc.
3499769a
AM
301
302Copying and distribution of this file, with or without modification,
303are permitted in any medium without royalty provided the copyright
304notice and this notice are preserved.
305
306Local Variables:
307mode: change-log
308left-margin: 8
309fill-column: 74
310version-control: never
311End: