1 2022-06-27 Nick Clifton <nickc@redhat.com>
4 * fileread.cc (File_read::do_read): Check start parameter before
5 computing number of bytes to read.
7 2022-05-18 Nick Clifton <nickc@redhat.com>
9 * int_encoding.cc (get_length_as_unsigned_LEB_128): Remove
10 current_length variable.
12 2022-02-17 Nick Clifton <nickc@redhat.com>
14 * po/sr.po: Updated Serbian translation.
16 2022-02-02 Nick Clifton <nickc@redhat.com>
18 * po/fr.po: Updated French translation.
20 2022-01-24 Nick Clifton <nickc@redhat.com>
22 * po/ro.po: Updated Romanian translation.
24 2022-01-22 Nick Clifton <nickc@redhat.com>
26 * configure: Regenerate.
27 * po/gold.pot: Regenerate.
28 * Makefile.in: Regenerate.
29 * testsuite/Makefile.in: Regenerate.
31 2022-01-22 Nick Clifton <nickc@redhat.com>
33 * 2.38 release branch created.
35 2021-08-10 Nick Clifton <nickc@redhat.com>
37 * po/sr.po: Updated Serbian translation.
39 2021-07-20 Alan Modra <amodra@gmail.com>
43 * gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
45 2021-07-17 Michael Krasnyk <michael.krasnyk@gmail.com>
48 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries
49 with r_sym of zero without counting in advance method.
51 2021-07-03 Nick Clifton <nickc@redhat.com>
53 * po/gold.pot: Regenerate.
55 2021-07-03 Nick Clifton <nickc@redhat.com>
57 * 2.37 release branch created.
59 2021-05-25 Alan Modra <amodra@gmail.com>
62 * gc.h (gc_process_relocs): Use cast in Section_id constructor.
64 2021-05-22 Alan Modra <amodra@gmail.com>
67 * gc.h (gc_process_relocs): Use nullptr in Section_id constructor.
69 2021-05-15 Alan Modra <amodra@gmail.com>
72 * options.cc (General_options::General_options): Init bsymbolic_.
74 2021-05-04 Fangrui Song <maskray@google.com>
77 * options.h (General_options): Make -Bsymbolic and
78 -Bsymbolic-functions special and adjust the help messages. Add
79 enum Bsymbolic_kind and -Bno-symbolic.
80 * options.cc (General_options): Define parse_Bno_symbolic,
81 parse_Bsymbolic_functions, and parse_Bsymbolic.
83 2021-03-30 Alan Modra <amodra@gmail.com>
86 * powerpc.cc (Powerpc_relobj): Add no_tls_marker_, tls_marker_,
87 and tls_opt_error_ variables and accessors.
88 (Target_powerpc::Scan::local, global): Call set_tls_marker and
89 set_no_tls_marker for GD and LD code sequence relocations.
90 (Target_powerpc::Relocate::relocate): Downgrade the "lacks marker
91 reloc" error to a warning when safe to do so, and omit the error
92 entirely if not optimising TLS sequences. Do not optimise GD and
93 LD sequences for objects lacking marker relocs.
94 (Target_powerpc::relocate_relocs): Heed no_tls_marker here too.
96 2021-03-19 Cary Coutant <ccoutant@gmail.com>
99 * errors.cc (Errors::trace): New method.
100 (gold_trace): New function.
101 * errors.h (Errors::trace): New method.
102 * gold.h (gold_trace): New function.
103 * object.cc (Input_objects::add_object): Use gold_trace to print
106 2021-03-19 Cary Coutant <ccoutant@gmail.com>
109 * testsuite/aarch64_pr23870_bar.c: Return a magic value.
110 * testsuite/aarch64_pr23870_foo.c: Check the magic value and return
113 2021-03-19 Holger Berger <holger.berger@googlemail.com>
116 * output.cc (gold_fallocate): Use errno when calling system fallocate.
118 2021-03-19 Cary Coutant <ccoutant@gmail.com>
121 * main.cc (main): Fix typo in previous patch.
123 2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
126 * configure.ac: Add check for mallinfo2.
127 * configure: Regenerate.
128 * config.in: Regenerate from previous commit.
129 * main.cc (main): Use mallinfo2 if available.
131 2021-03-19 Cary Coutant <ccoutant@gmail.com>
134 * dwarf_reader.cc (Dwarf_abbrev_table::do_get_abbrev): Handle
135 DW_FORM_implicit_const.
136 (Dwarf_ranges_table::read_ranges_table): Add version parameter;
137 Adjust all callers. Look for .debug_rnglists section if DWARF 5.
138 (Dwarf_ranges_table::read_range_list_v5): New method.
139 (Dwarf_die::read_attributes): Handle new DWARF 5 DW_FORM codes.
140 (Dwarf_die::skip_attributes): Likewise.
141 (Dwarf_info_reader::do_parse): Support DWARF 5 unit header format.
142 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
143 (Sized_dwarf_line_info::Sized_dwarf_line_info): Initialize
144 str_buffer_, str_buffer_start, reloc_map_, line_number_map_.
145 Look for .debug_line_str section.
146 (Sized_dwarf_line_info::read_header_prolog): Support DWARF 5 prolog.
147 (Sized_dwarf_line_info::read_header_tables): Rename to...
148 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
149 (Sized_dwarf_line_info::read_header_tables_v5): New method.
150 (Sized_dwarf_line_info::process_one_opcode): Insert missing "this->".
151 Change advance_line to signed int64_t.
152 (Sized_dwarf_line_info::read_lines): Add endptr parameter; adjust
153 callers. Insert missing "this->".
154 (Sized_dwarf_line_info::read_line_mappings): Support DWARF 5.
155 (Sized_dwarf_line_info::do_addr2line): Add debug code.
156 * dwarf_reader.h (Dwarf_abbrev_table::Attribute): Add implicit_const
157 field. Adjust constructor.
158 (Dwarf_abbrev_table::add_sttribute): Add implicit_const parameter.
159 (Dwarf_ranges_table::read_ranges_table): Add version parameter.
160 (Dwarf_ranges_table::read_range_list_v5): New method.
161 (Dwarf_die): Remove unused attr_off field.
162 (Dwarf_info_reader::Dwarf_info_reader): Initialize unit_type_ field.
163 (Dwarf_info_reader::is_type_unit): New method.
164 (Dwarf_info_reader::read_3bytes_from_pointer): New method.
165 (Dwarf_info_reader::read_range_list): Call read_range_list_v5 for
167 (Dwarf_info_reader::is_type_unit_): Remove.
168 (Dwarf_info_reader::unit_type_): New field.
169 (Sized_dwarf_line_info::~Sized_dwarf_line_info): Delete
171 (Sized_dwarf_line_info::read_header_tables): Rename to...
172 (Sized_dwarf_line_info::read_header_tables_v2): ... this.
173 (Sized_dwarf_line_info::read_header_tables_v5): New method.
174 (Sized_dwarf_line_info::read_lines): Add endptr parameter.
175 (Sized_dwarf_line_info::Dwarf_line_infoHeader): Add address_size field.
176 (Sized_dwarf_line_info::str_buffer_): New field.
177 (Sized_dwarf_line_info::str_buffer_end_): New field.
178 (Sized_dwarf_line_info::str_buffer_start_): New field.
179 (Sized_dwarf_line_info::end_of_header_length_): New field.
180 (Sized_dwarf_line_info::end_of_unit_): New field.
182 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
185 * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
186 Skip address size and segment selector for DWARF5.
188 2021-01-19 Alan Modra <amodra@gmail.com>
191 * powerpc.cc (do_plt_fde_location): Remove doing_static_link
194 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
196 * testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
197 against foo in ifuncmod6.so.
198 * testsuite/ifuncmod6.c: Likewise.
200 2021-01-14 Nick Clifton <nickc@redhat.com>
202 * po/fr.po: Updated French translation.
204 2021-01-11 Nick Clifton <nickc@redhat.com>
206 * po/sr.po: Updated Serbian translation.
207 * po/uk.po: Updated Ukranian translation.
209 2021-01-09 Nick Clifton <nickc@redhat.com>
211 * 2.36 release branch crated.
213 2021-01-03 Alan Modra <amodra@gmail.com>
216 * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
217 object->st_other() when 64-bit.
218 (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
220 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
222 * tilegx.cc: Correct comment spelling.
224 2021-01-01 Alan Modra <amodra@gmail.com>
226 Update year range in copyright notice of all files.
228 For older changes see ChangeLog-2020
230 Copyright (C) 2021-2022 Free Software Foundation, Inc.
232 Copying and distribution of this file, with or without modification,
233 are permitted in any medium without royalty provided the copyright
234 notice and this notice are preserved.
240 version-control: never