]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/ChangeLog
2938cdedff7f8edccc877b470771d0cb1a998101
[thirdparty/binutils-gdb.git] / gold / ChangeLog
1 2020-07-27 Alan Modra <amodra@gmail.com>
2
3 * options.h (DEFINE_enum): Add optional_arg__ param, adjust
4 all uses.
5 (General_options): Add --power10-stubs and --no-power10-stubs.
6 * options.cc (General_options::parse_no_power10_stubs): New.
7 (General_options::finalize): Handle --power10-stubs.
8 * powerpc.cc (set_power10_stubs): Don't set when --power10-stubs=no.
9 (power10_stubs_auto): New.
10 (struct Plt_stub_ent): Add toc_ and tocoff_. Don't use a bitfield
11 for indx_.
12 (struct Branch_stub_ent): Add toc_and tocoff_. Use bitfields for
13 iter_, notoc_ and save_res_.
14 (add_plt_call_entry): Set toc_. Adjust resizing conditions for
15 --power10-stubs=auto.
16 (add_long_branch_entry): Set toc_.
17 (add_eh_frame, define_stub_syms): No longer use const_iterators
18 for plt and long branch stub iteration.
19 (build_tls_opt_head, build_tls_opt_tail): Change parameters and
20 return value. Move tests for __tls_get_addr to callers.
21 (plt_call_size): Handle --power10-stubs=auto.
22 (branch_stub_size): Likewise.
23 (Stub_table::do_write): Likewise.
24 (relocate): Likewise.
25
26 2020-07-19 H.J. Lu <hongjiu.lu@intel.com>
27
28 * testsuite/bnd_ifunc_1.sh: Updated.
29 * testsuite/bnd_plt_1.sh: Likewise.
30 * testsuite/split_x32.sh: Likewise.
31 * testsuite/split_x86_64.sh: Likewise.
32 * testsuite/x86_64_indirect_call_to_direct.sh: Likewise.
33
34 2020-07-08 Nick Clifton <nickc@redhat.com>
35
36 * testsuite/script_test_7.sh: Adjust expected address of the .bss
37 section.
38 * testsuite/script_test_9.sh: Do not expect the .init section to
39 immediately follow the .text section in the mapping of sections to
40 segments.
41
42 2020-07-07 Nick Clifton <nickc@redhat.com>
43
44 * target-reloc.h: (Default_comdat_behaviour:get): Ignore discarded
45 relocs that refer to the .gnu.build.attributes section.
46
47 2020-07-06 Nick Clifton <nickc@redhat.com>
48
49 * po/fr.po: Updated French translation.
50 * po/uk.po: Updated Ukranian translation.
51
52 2020-07-04 Nick Clifton <nickc@redhat.com>
53
54 Binutils 2.35 branch created.
55
56 2020-07-03 Alan Modra <amodra@gmail.com>
57
58 PR 26028
59 * testsuite/Makefile.am (file_in_many_sections.stdout): Add -W
60 to readelf options.
61 * testsuite/Makefile.in: Regenerate.
62
63 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
64
65 * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls.
66 * configure: Regenerated.
67 * config.h.in: Likewise.
68
69 2020-06-24 Nick Clifton <nickc@redhat.com>
70
71 * target-reloc.h (issue_discarded_error): Initialise the
72 key_symndx variable.
73
74 2020-06-23 Roland McGrath <mcgrathr@google.com>
75
76 PR 22843
77 * options.h (class General_options): Add --dependency-file option.
78 * fileread.cc (File_read::files_read): New static variable.
79 (File_read::open): Add the file to the files_read list.
80 (File_read::record_file_read): New static member function.
81 (File_read::write_dependency_file): New static member function.
82 * fileread.h (class File_read): Declare them.
83 * layout.cc (Layout::read_layout_from_file): Call record_file_read.
84 (Close_task_runner::run): Call write_dependency_file if
85 --dependency-file was passed.
86
87 2020-06-18 Fangrui Song <i@maskray.me>
88
89 PR gold/26039
90 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
91
92 2020-06-16 Alan Modra <amodra@gmail.com>
93
94 * testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
95 * testsuite/discard_locals_relocatable_test.c: Likewise.
96
97 2020-06-16 Alan Modra <amodra@gmail.com>
98
99 * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE.
100 (plugin_test_wrap_symbols_1.o): Likewise.
101 (plugin_test_wrap_symbols_2.o): Likewise.
102 * testsuite/Makefile.in: Regenerate.
103
104 2020-06-15 Roland McGrath <mcgrathr@google.com>
105
106 Implement -z start-stop-visibility=... option.
107 * options.h (class General_options): Handle -z start-stop-visibility=.
108 (General_options::start_stop_visibility_enum): New public method.
109 (General_options::set_start_stop_visibility_enum): New private method.
110 (General_options::start_stop_visibility_enum_): New private member.
111 * options.cc (General_options::General_options): Add initializer.
112 (General_options::finalize): Set this->start_stop_visibility_enum_
113 from string value.
114 * layout.cc (Layout::define_section_symbols): Use option setting.
115
116 2020-06-06 Alan Modra <amodra@gmail.com>
117
118 * powerpc.cc: Update throughout for reloc renaming.
119
120 2020-05-22 Alan Modra <amodra@gmail.com>
121
122 PR 25882
123 * powerpc.cc (merge_object_attributes): Replace name param with
124 obj param. Update callers. Don't init FP attributes from shared
125 libraries, and do not emit an error if they don't match.
126
127 2020-05-15 Nikita Ermakov <coffe92@gmail.com>
128
129 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
130
131 2020-05-14 Nick Clifton <nickc@redhat.com>
132
133 * po/sr.po: New Serbian translation.
134
135 2020-05-11 Alan Modra <amodra@gmail.com>
136
137 * powerpc.cc: Rename powerxx to power10 throughout.
138
139 2020-05-02 H.J. Lu <hongjiu.lu@intel.com>
140
141 PR gold/25904
142 * testsuite/Makefile.am (COMMON_TEST_C_CFLAGS): New.
143 (common_test_1.o): New rule.
144 (common_test_2.o): Likewise.
145 (common_test_3.o): Likewise.
146 (plugin_common_test_1.o): Likewise.
147 (plugin_common_test_2.o): Likewise.
148 (common_test_1_v1.o): Likewise.
149 (common_test_1_v2.o): Likewise.
150 (common_test_2_pic.o): Compile with $(COMMON_TEST_C_CFLAGS).
151 (common_test_3_pic.o): Likewise.
152 * testsuite/Makefile.in: Regenerated.
153
154 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
155
156 PR gold/25426
157 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
158 For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to
159 "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)"
160 to "nopl (%rax)".
161 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32,
162 relax "rex leal foo@tlsdesc(%rip), %reg" to
163 "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)"
164 to "nopl (%rax)".
165 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
166 gcctestdir/as.
167 (tls_test_file2_gnu2.o): Likewise.
168 (tls_test_c_gnu2.o): Likewise.
169 * testsuite/Makefile.in: Regenerated.
170
171 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR gold/25473
174 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
175 Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
176 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly
177 relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
178 * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh.
179 (check_DATA): Add x86_64_gd_to_le.stdout.
180 (MOSTLYCLEANFILES): Add x86_64_gd_to_le.
181 (x86_64_gd_to_le.o): New target.
182 (x86_64_gd_to_le): Likewise.
183 (x86_64_gd_to_le.stdout): Likewise.
184 * testsuite/Makefile.in: Regenerated.
185 * testsuite/x86_64_gd_to_le.s: New file.
186 * testsuite/x86_64_gd_to_le.sh: Likewise.
187
188 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
189
190 * testsuite/odr_violation2.cc (Ordering::operator()): Make
191 expression even more complex.
192
193 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
194
195 * testsuite/ver_test_pr16504.sh: Updated.
196
197 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR gold/25872
200 * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
201 plt_offset after setting the reserved TLSDESC PLT entry.
202 (Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
203
204 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
205
206 PR gold/25872
207 * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local):
208 Handle local IFUNC symbol.
209 (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise.
210
211 2020-03-19 Fangrui Song <maskray@google.com>
212
213 * options.h (General_options): Add --no-rosegment option.
214
215 2020-02-24 Nick Clifton <nickc@redhat.com>
216
217 * po/fr.po: Update French translation.
218
219 2020-01-20 Nick Clifton <nickc@redhat.com>
220
221 * po/uk.po: Updated Ukranian translation.
222
223 2020-01-18 Nick Clifton <nickc@redhat.com>
224
225 * configure: Regenerate.
226 * po/gold.pot: Regenerate.
227
228 2020-01-18 Nick Clifton <nickc@redhat.com>
229
230 Binutils 2.34 branch created.
231
232 2020-01-01 Alan Modra <amodra@gmail.com>
233
234 Update year range in copyright notice of all files.
235
236 For older changes see ChangeLog-2019
237 \f
238 Copyright (C) 2020 Free Software Foundation, Inc.
239
240 Copying and distribution of this file, with or without modification,
241 are permitted in any medium without royalty provided the copyright
242 notice and this notice are preserved.
243
244 Local Variables:
245 mode: change-log
246 left-margin: 8
247 fill-column: 74
248 version-control: never
249 End: