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