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