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