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