]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gold/ChangeLog
x86-64: Zero-extend lower 32 bits displacement to 64 bits
[thirdparty/binutils-gdb.git] / gold / ChangeLog
CommitLineData
afbc6db0
NC
12020-07-06 Nick Clifton <nickc@redhat.com>
2
3 * target-reloc.h (Default_comdat_behaviour:get): Ignore discarded
4 relocs that refer to the .gnu.build.attributes section.
5 * testsuite/script_test_7.sh: Adjust expected address of the .bss
6 section.
7 * testsuite/script_test_9.sh: Do not expect the .init section to
8 immediately follow the .text section in the mapping of sections to
9 segments.
10
b3eaec43
NC
112020-07-06 Nick Clifton <nickc@redhat.com>
12
13 * po/fr.po: Updated French translation.
14 * po/uk.po: Updated Ukranian translation.
15
d63813ff
NC
162020-07-04 Nick Clifton <nickc@redhat.com>
17
18 * po/gold.pot: Regenerate.
19
b115b9fd
NC
202020-07-04 Nick Clifton <nickc@redhat.com>
21
22 Binutils 2.35 branch created.
23
b657622c
AM
242020-07-03 Alan Modra <amodra@gmail.com>
25
26 PR 26028
27 * testsuite/Makefile.am (file_in_many_sections.stdout): Add -W
28 to readelf options.
29 * testsuite/Makefile.in: Regenerate.
30
e755667f
NA
312020-06-26 Nick Alcock <nick.alcock@oracle.com>
32
33 * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls.
34 * configure: Regenerated.
35 * config.h.in: Likewise.
36
fb58f5e9
NC
372020-06-24 Nick Clifton <nickc@redhat.com>
38
39 * target-reloc.h (issue_discarded_error): Initialise the
40 key_symndx variable.
41
f37b21b4
RM
422020-06-23 Roland McGrath <mcgrathr@google.com>
43
44 PR 22843
45 * options.h (class General_options): Add --dependency-file option.
46 * fileread.cc (File_read::files_read): New static variable.
47 (File_read::open): Add the file to the files_read list.
48 (File_read::record_file_read): New static member function.
49 (File_read::write_dependency_file): New static member function.
50 * fileread.h (class File_read): Declare them.
51 * layout.cc (Layout::read_layout_from_file): Call record_file_read.
52 (Close_task_runner::run): Call write_dependency_file if
53 --dependency-file was passed.
54
9a17a136
FS
552020-06-18 Fangrui Song <i@maskray.me>
56
57 PR gold/26039
58 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
59
423054be
AM
602020-06-16 Alan Modra <amodra@gmail.com>
61
62 * testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
63 * testsuite/discard_locals_relocatable_test.c: Likewise.
64
90cd2aad
AM
652020-06-16 Alan Modra <amodra@gmail.com>
66
67 * testsuite/Makefile.am (export_dynamic_plugin.o): Use CXXCOMPILE.
68 (plugin_test_wrap_symbols_1.o): Likewise.
69 (plugin_test_wrap_symbols_2.o): Likewise.
70 * testsuite/Makefile.in: Regenerate.
71
cae64165
RM
722020-06-15 Roland McGrath <mcgrathr@google.com>
73
74 Implement -z start-stop-visibility=... option.
75 * options.h (class General_options): Handle -z start-stop-visibility=.
76 (General_options::start_stop_visibility_enum): New public method.
77 (General_options::set_start_stop_visibility_enum): New private method.
78 (General_options::start_stop_visibility_enum_): New private member.
79 * options.cc (General_options::General_options): Add initializer.
80 (General_options::finalize): Set this->start_stop_visibility_enum_
81 from string value.
82 * layout.cc (Layout::define_section_symbols): Use option setting.
83
87c69f97
AM
842020-06-06 Alan Modra <amodra@gmail.com>
85
86 * powerpc.cc: Update throughout for reloc renaming.
87
6f3fe02b
AM
882020-05-22 Alan Modra <amodra@gmail.com>
89
90 PR 25882
91 * powerpc.cc (merge_object_attributes): Replace name param with
92 obj param. Update callers. Don't init FP attributes from shared
93 libraries, and do not emit an error if they don't match.
94
6a31512f
NE
952020-05-15 Nikita Ermakov <coffe92@gmail.com>
96
97 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
98
9d95b8e9
NC
992020-05-14 Nick Clifton <nickc@redhat.com>
100
101 * po/sr.po: New Serbian translation.
102
7c1f4227
AM
1032020-05-11 Alan Modra <amodra@gmail.com>
104
105 * powerpc.cc: Rename powerxx to power10 throughout.
106
8c164434
L
1072020-05-02 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR gold/25904
110 * testsuite/Makefile.am (COMMON_TEST_C_CFLAGS): New.
111 (common_test_1.o): New rule.
112 (common_test_2.o): Likewise.
113 (common_test_3.o): Likewise.
114 (plugin_common_test_1.o): Likewise.
115 (plugin_common_test_2.o): Likewise.
116 (common_test_1_v1.o): Likewise.
117 (common_test_1_v2.o): Likewise.
118 (common_test_2_pic.o): Compile with $(COMMON_TEST_C_CFLAGS).
119 (common_test_3_pic.o): Likewise.
120 * testsuite/Makefile.in: Regenerated.
121
ccf20d46
L
1222020-05-01 H.J. Lu <hongjiu.lu@intel.com>
123
124 PR gold/25426
125 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
126 For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to
127 "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)"
128 to "nopl (%rax)".
129 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32,
130 relax "rex leal foo@tlsdesc(%rip), %reg" to
131 "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)"
132 to "nopl (%rax)".
133 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
134 gcctestdir/as.
135 (tls_test_file2_gnu2.o): Likewise.
136 (tls_test_c_gnu2.o): Likewise.
137 * testsuite/Makefile.in: Regenerated.
138
6d520e36
L
1392020-05-01 H.J. Lu <hongjiu.lu@intel.com>
140
141 PR gold/25473
142 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
143 Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
144 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly
145 relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
146 * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh.
147 (check_DATA): Add x86_64_gd_to_le.stdout.
148 (MOSTLYCLEANFILES): Add x86_64_gd_to_le.
149 (x86_64_gd_to_le.o): New target.
150 (x86_64_gd_to_le): Likewise.
151 (x86_64_gd_to_le.stdout): Likewise.
152 * testsuite/Makefile.in: Regenerated.
153 * testsuite/x86_64_gd_to_le.s: New file.
154 * testsuite/x86_64_gd_to_le.sh: Likewise.
155
e10cfd06
L
1562020-05-01 H.J. Lu <hongjiu.lu@intel.com>
157
158 * testsuite/odr_violation2.cc (Ordering::operator()): Make
159 expression even more complex.
160
de6d6067
L
1612020-05-01 H.J. Lu <hongjiu.lu@intel.com>
162
163 * testsuite/ver_test_pr16504.sh: Updated.
164
48bc2182
L
1652020-05-01 H.J. Lu <hongjiu.lu@intel.com>
166
167 PR gold/25872
168 * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
169 plt_offset after setting the reserved TLSDESC PLT entry.
170 (Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
171
e977e747
L
1722020-05-01 H.J. Lu <hongjiu.lu@intel.com>
173
174 PR gold/25872
175 * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local):
176 Handle local IFUNC symbol.
177 (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise.
178
9a6c68ca
FS
1792020-03-19 Fangrui Song <maskray@google.com>
180
181 * options.h (General_options): Add --no-rosegment option.
182
45c63c0f
NC
1832020-02-24 Nick Clifton <nickc@redhat.com>
184
185 * po/fr.po: Update French translation.
186
26916852
NC
1872020-01-20 Nick Clifton <nickc@redhat.com>
188
189 * po/uk.po: Updated Ukranian translation.
190
1b1bb2c6
NC
1912020-01-18 Nick Clifton <nickc@redhat.com>
192
193 * configure: Regenerate.
194 * po/gold.pot: Regenerate.
195
ae774686
NC
1962020-01-18 Nick Clifton <nickc@redhat.com>
197
198 Binutils 2.34 branch created.
199
b14ce8bf
AM
2002020-01-01 Alan Modra <amodra@gmail.com>
201
202 Update year range in copyright notice of all files.
203
0b114740 204For older changes see ChangeLog-2019
3499769a 205\f
0b114740 206Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
207
208Copying and distribution of this file, with or without modification,
209are permitted in any medium without royalty provided the copyright
210notice and this notice are preserved.
211
212Local Variables:
213mode: change-log
214left-margin: 8
215fill-column: 74
216version-control: never
217End: