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