]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gold/ChangeLog
Add markers for 2.38 branch
[thirdparty/binutils-gdb.git] / gold / ChangeLog
CommitLineData
a74e1cb3
NC
12022-01-22 Nick Clifton <nickc@redhat.com>
2
3 * 2.38 release branch created.
4
3ee0cd9e
NC
52021-08-10 Nick Clifton <nickc@redhat.com>
6
7 * po/sr.po: Updated Serbian translation.
8
b97bd976
AM
92021-07-20 Alan Modra <amodra@gmail.com>
10
11 PR gold/28106
12 PR gold/27815
13 * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
14
7c6ff8af
MK
152021-07-17 Michael Krasnyk <michael.krasnyk@gmail.com>
16
17 PR gold/28098
18 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
19 with r_sym of zero without counting in advance method.
20
346d80ef
NC
212021-07-03 Nick Clifton <nickc@redhat.com>
22
23 * po/gold.pot: Regenerate.
24
51419248
NC
252021-07-03 Nick Clifton <nickc@redhat.com>
26
27 * 2.37 release branch created.
28
5d7f11f0
AM
292021-05-25 Alan Modra <amodra@gmail.com>
30
31 PR gold/27815
32 * gc.h (gc_process_relocs): Use cast in Section_id constructor.
33
1f1fb219
AM
342021-05-22 Alan Modra <amodra@gmail.com>
35
36 PR gold/27815
37 * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
38
7c96e612
AM
392021-05-15 Alan Modra <amodra@gmail.com>
40
41 PR 27834
42 * options.cc (General_options::General_options): Init bsymbolic_.
43
823241a2
FS
442021-05-04 Fangrui Song <maskray@google.com>
45
46 PR 27834
47 * options.h (General_options): Make -Bsymbolic and
48 -Bsymbolic-functions special and adjust the help messages. Add
49 enum Bsymbolic_kind and -Bno-symbolic.
50 * options.cc (General_options): Define parse_Bno_symbolic,
51 parse_Bsymbolic_functions, and parse_Bsymbolic.
52
0af4fcc2
AM
532021-03-30 Alan Modra <amodra@gmail.com>
54
55 PR gold/27625
56 * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
57 and tls_opt_error_ variables and accessors.
58 (Target_powerpc::Scan::local, global): Call set_tls_marker and
59 set_no_tls_marker for GD and LD code sequence relocations.
60 (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
61 reloc" error to a warning when safe to do so, and omit the error
62 entirely if not optimising TLS sequences. Do not optimise GD and
63 LD sequences for objects lacking marker relocs.
64 (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
65
35891b47
CC
662021-03-19 Cary Coutant <ccoutant@gmail.com>
67
68 PR gold/27615
69 * errors.cc (Errors::trace): New method.
70 (gold_trace): New function.
71 * errors.h (Errors::trace): New method.
72 * gold.h (gold_trace): New function.
73 * object.cc (Input_objects::add_object): Use gold_trace to print
74 object file names.
75
b218a839
CC
762021-03-19 Cary Coutant <ccoutant@gmail.com>
77
78 PR gold/pr23870
79 * testsuite/aarch64_pr23870_bar.c: Return a magic value.
80 * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
81 success or failure.
82
07b1c3db
HB
832021-03-19 Holger Berger <holger.berger@googlemail.com>
84
85 PR gold/26541
86 * output.cc (gold_fallocate): Use errno when calling system fallocate.
87
cc184971
CC
882021-03-19 Cary Coutant <ccoutant@gmail.com>
89
90 PR gold/26585
91 * main.cc (main): Fix typo in previous patch.
92
932021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
4ee60495
DS
94
95 PR gold/26585
96 * configure.ac: Add check for mallinfo2.
97 * configure: Regenerate.
cc184971 98 * config.in: Regenerate from previous commit.
4ee60495
DS
99 * main.cc (main): Use mallinfo2 if available.
100
5cde809b
CC
1012021-03-19 Cary Coutant <ccoutant@gmail.com>
102
103 PR gold/27246
104 * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
105 DW_FORM_implicit_const.
106 (Dwarf_ranges_table::read_ranges_table): Add version parameter;
107 Adjust all callers. Look for .debug_rnglists section if DWARF 5.
108 (Dwarf_ranges_table::read_range_list_v5): New method.
109 (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
110 (Dwarf_die::skip_attributes): Likewise.
111 (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
112 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
113 (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
114 str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
115 Look for .debug_line_str section.
116 (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
117 (Sized_dwarf_line_info::read_header_tables): Rename to...
118 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
119 (Sized_dwarf_line_info::read_header_tables_v5): New method.
120 (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
121 Change advance_line to signed int64_t.
122 (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
123 callers. Insert missing "this->".
124 (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
125 (Sized_dwarf_line_info::do_addr2line): Add debug code.
126 * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
127 field. Adjust constructor.
128 (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
129 (Dwarf_ranges_table::read_ranges_table): Add version parameter.
130 (Dwarf_ranges_table::read_range_list_v5): New method.
131 (Dwarf_die): Remove unused attr_off field.
132 (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
133 (Dwarf_info_reader::is_type_unit): New method.
134 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
135 (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
136 DWARF 5 range lists.
137 (Dwarf_info_reader::is_type_unit_): Remove.
138 (Dwarf_info_reader::unit_type_): New field.
139 (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
140 str_buffer_start_.
141 (Sized_dwarf_line_info::read_header_tables): Rename to...
142 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
143 (Sized_dwarf_line_info::read_header_tables_v5): New method.
144 (Sized_dwarf_line_info::read_lines): Add endptr parameter.
145 (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
146 (Sized_dwarf_line_info::str_buffer_): New field.
147 (Sized_dwarf_line_info::str_buffer_end_): New field.
148 (Sized_dwarf_line_info::str_buffer_start_): New field.
149 (Sized_dwarf_line_info::end_of_header_length_): New field.
150 (Sized_dwarf_line_info::end_of_unit_): New field.
151
0318cca4
L
1522021-01-28 H.J. Lu <hongjiu.lu@intel.com>
153
154 PR gold/27246
155 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
156 Skip address size and segment selector for DWARF5.
157
a75a6a41
AM
1582021-01-19 Alan Modra <amodra@gmail.com>
159
160 PR 27203
161 * powerpc.cc (do_plt_fde_location): Remove doing_static_link
162 assertion.
163
25294ff0
L
1642021-01-17 H.J. Lu <hongjiu.lu@intel.com>
165
166 * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
167 against foo in ifuncmod6.so.
168 * testsuite/ifuncmod6.c: Likewise.
169
5a10699f
NC
1702021-01-14 Nick Clifton <nickc@redhat.com>
171
172 * po/fr.po: Updated French translation.
173
a8aa72b9
NC
1742021-01-11 Nick Clifton <nickc@redhat.com>
175
176 * po/sr.po: Updated Serbian translation.
177 * po/uk.po: Updated Ukranian translation.
178
055bc77a
NC
1792021-01-09 Nick Clifton <nickc@redhat.com>
180
181 * 2.36 release branch crated.
182
e3b53295
AM
1832021-01-03 Alan Modra <amodra@gmail.com>
184
185 PR 27140
186 * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
187 object->st_other() when 64-bit.
188 (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
189
f9a6a8f0
AM
1902021-01-01 Nicolas Boulenguez <nicolas@debian.org>
191
192 * tilegx.cc: Correct comment spelling.
193
250d07de
AM
1942021-01-01 Alan Modra <amodra@gmail.com>
195
196 Update year range in copyright notice of all files.
197
c2795844 198For older changes see ChangeLog-2020
3499769a 199\f
a2c58332 200Copyright (C) 2021-2022 Free Software Foundation, Inc.
3499769a
AM
201
202Copying and distribution of this file, with or without modification,
203are permitted in any medium without royalty provided the copyright
204notice and this notice are preserved.
205
206Local Variables:
207mode: change-log
208left-margin: 8
209fill-column: 74
210version-control: never
211End: