]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/ChangeLog
9e06ff80c27cd8979bb9d4f0d5f8103c30163fe5
[thirdparty/binutils-gdb.git] / gold / ChangeLog
1 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
2
3 * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls.
4 * configure: Regenerated.
5 * config.h.in: Likewise.
6
7 2020-06-24 Nick Clifton <nickc@redhat.com>
8
9 * target-reloc.h (issue_discarded_error): Initialise the
10 key_symndx variable.
11
12 2020-06-23 Roland McGrath <mcgrathr@google.com>
13
14 PR 22843
15 * options.h (class General_options): Add --dependency-file option.
16 * fileread.cc (File_read::files_read): New static variable.
17 (File_read::open): Add the file to the files_read list.
18 (File_read::record_file_read): New static member function.
19 (File_read::write_dependency_file): New static member function.
20 * fileread.h (class File_read): Declare them.
21 * layout.cc (Layout::read_layout_from_file): Call record_file_read.
22 (Close_task_runner::run): Call write_dependency_file if
23 --dependency-file was passed.
24
25 2020-06-18 Fangrui Song <i@maskray.me>
26
27 PR gold/26039
28 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
29
30 2020-06-16 Alan Modra <amodra@gmail.com>
31
32 * testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
33 * testsuite/discard_locals_relocatable_test.c: Likewise.
34
35 2020-06-16 Alan Modra <amodra@gmail.com>
36
37 * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE.
38 (plugin_test_wrap_symbols_1.o): Likewise.
39 (plugin_test_wrap_symbols_2.o): Likewise.
40 * testsuite/Makefile.in: Regenerate.
41
42 2020-06-15 Roland McGrath <mcgrathr@google.com>
43
44 Implement -z start-stop-visibility=... option.
45 * options.h (class General_options): Handle -z start-stop-visibility=.
46 (General_options::start_stop_visibility_enum): New public method.
47 (General_options::set_start_stop_visibility_enum): New private method.
48 (General_options::start_stop_visibility_enum_): New private member.
49 * options.cc (General_options::General_options): Add initializer.
50 (General_options::finalize): Set this->start_stop_visibility_enum_
51 from string value.
52 * layout.cc (Layout::define_section_symbols): Use option setting.
53
54 2020-06-06 Alan Modra <amodra@gmail.com>
55
56 * powerpc.cc: Update throughout for reloc renaming.
57
58 2020-05-22 Alan Modra <amodra@gmail.com>
59
60 PR 25882
61 * powerpc.cc (merge_object_attributes): Replace name param with
62 obj param. Update callers. Don't init FP attributes from shared
63 libraries, and do not emit an error if they don't match.
64
65 2020-05-15 Nikita Ermakov <coffe92@gmail.com>
66
67 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
68
69 2020-05-14 Nick Clifton <nickc@redhat.com>
70
71 * po/sr.po: New Serbian translation.
72
73 2020-05-11 Alan Modra <amodra@gmail.com>
74
75 * powerpc.cc: Rename powerxx to power10 throughout.
76
77 2020-05-02 H.J. Lu <hongjiu.lu@intel.com>
78
79 PR gold/25904
80 * testsuite/Makefile.am (COMMON_TEST_C_CFLAGS): New.
81 (common_test_1.o): New rule.
82 (common_test_2.o): Likewise.
83 (common_test_3.o): Likewise.
84 (plugin_common_test_1.o): Likewise.
85 (plugin_common_test_2.o): Likewise.
86 (common_test_1_v1.o): Likewise.
87 (common_test_1_v2.o): Likewise.
88 (common_test_2_pic.o): Compile with $(COMMON_TEST_C_CFLAGS).
89 (common_test_3_pic.o): Likewise.
90 * testsuite/Makefile.in: Regenerated.
91
92 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
93
94 PR gold/25426
95 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
96 For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to
97 "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)"
98 to "nopl (%rax)".
99 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32,
100 relax "rex leal foo@tlsdesc(%rip), %reg" to
101 "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)"
102 to "nopl (%rax)".
103 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
104 gcctestdir/as.
105 (tls_test_file2_gnu2.o): Likewise.
106 (tls_test_c_gnu2.o): Likewise.
107 * testsuite/Makefile.in: Regenerated.
108
109 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
110
111 PR gold/25473
112 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
113 Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
114 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly
115 relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
116 * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh.
117 (check_DATA): Add x86_64_gd_to_le.stdout.
118 (MOSTLYCLEANFILES): Add x86_64_gd_to_le.
119 (x86_64_gd_to_le.o): New target.
120 (x86_64_gd_to_le): Likewise.
121 (x86_64_gd_to_le.stdout): Likewise.
122 * testsuite/Makefile.in: Regenerated.
123 * testsuite/x86_64_gd_to_le.s: New file.
124 * testsuite/x86_64_gd_to_le.sh: Likewise.
125
126 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
127
128 * testsuite/odr_violation2.cc (Ordering::operator()): Make
129 expression even more complex.
130
131 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
132
133 * testsuite/ver_test_pr16504.sh: Updated.
134
135 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
136
137 PR gold/25872
138 * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
139 plt_offset after setting the reserved TLSDESC PLT entry.
140 (Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
141
142 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
143
144 PR gold/25872
145 * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local):
146 Handle local IFUNC symbol.
147 (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise.
148
149 2020-03-19 Fangrui Song <maskray@google.com>
150
151 * options.h (General_options): Add --no-rosegment option.
152
153 2020-02-24 Nick Clifton <nickc@redhat.com>
154
155 * po/fr.po: Update French translation.
156
157 2020-01-20 Nick Clifton <nickc@redhat.com>
158
159 * po/uk.po: Updated Ukranian translation.
160
161 2020-01-18 Nick Clifton <nickc@redhat.com>
162
163 * configure: Regenerate.
164 * po/gold.pot: Regenerate.
165
166 2020-01-18 Nick Clifton <nickc@redhat.com>
167
168 Binutils 2.34 branch created.
169
170 2020-01-01 Alan Modra <amodra@gmail.com>
171
172 Update year range in copyright notice of all files.
173
174 For older changes see ChangeLog-2019
175 \f
176 Copyright (C) 2020 Free Software Foundation, Inc.
177
178 Copying and distribution of this file, with or without modification,
179 are permitted in any medium without royalty provided the copyright
180 notice and this notice are preserved.
181
182 Local Variables:
183 mode: change-log
184 left-margin: 8
185 fill-column: 74
186 version-control: never
187 End: