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