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