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