]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/ChangeLog
Add markers for 2.38 branch
[thirdparty/binutils-gdb.git] / gold / ChangeLog
1 2022-01-22 Nick Clifton <nickc@redhat.com>
2
3 * 2.38 release branch created.
4
5 2021-08-10 Nick Clifton <nickc@redhat.com>
6
7 * po/sr.po: Updated Serbian translation.
8
9 2021-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
15 2021-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
21 2021-07-03 Nick Clifton <nickc@redhat.com>
22
23 * po/gold.pot: Regenerate.
24
25 2021-07-03 Nick Clifton <nickc@redhat.com>
26
27 * 2.37 release branch created.
28
29 2021-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
34 2021-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
39 2021-05-15 Alan Modra <amodra@gmail.com>
40
41 PR 27834
42 * options.cc (General_options::General_options): Init bsymbolic_.
43
44 2021-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
53 2021-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
66 2021-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
76 2021-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
83 2021-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
88 2021-03-19 Cary Coutant <ccoutant@gmail.com>
89
90 PR gold/26585
91 * main.cc (main): Fix typo in previous patch.
92
93 2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
94
95 PR gold/26585
96 * configure.ac: Add check for mallinfo2.
97 * configure: Regenerate.
98 * config.in: Regenerate from previous commit.
99 * main.cc (main): Use mallinfo2 if available.
100
101 2021-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
152 2021-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
158 2021-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
164 2021-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
170 2021-01-14 Nick Clifton <nickc@redhat.com>
171
172 * po/fr.po: Updated French translation.
173
174 2021-01-11 Nick Clifton <nickc@redhat.com>
175
176 * po/sr.po: Updated Serbian translation.
177 * po/uk.po: Updated Ukranian translation.
178
179 2021-01-09 Nick Clifton <nickc@redhat.com>
180
181 * 2.36 release branch crated.
182
183 2021-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
190 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
191
192 * tilegx.cc: Correct comment spelling.
193
194 2021-01-01 Alan Modra <amodra@gmail.com>
195
196 Update year range in copyright notice of all files.
197
198 For older changes see ChangeLog-2020
199 \f
200 Copyright (C) 2021-2022 Free Software Foundation, Inc.
201
202 Copying and distribution of this file, with or without modification,
203 are permitted in any medium without royalty provided the copyright
204 notice and this notice are preserved.
205
206 Local Variables:
207 mode: change-log
208 left-margin: 8
209 fill-column: 74
210 version-control: never
211 End: