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