gold: x86-64: Fix TLSDESC relaxation for x32
[deliverable/binutils-gdb.git] / gold / ChangeLog
CommitLineData
ccf20d46
L
12020-05-01 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR gold/25426
4 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
5 For x32, relax "rex leal foo@tlsdesc(%rip), %reg" to
6 "rex movl foo@gottpoff(%rip), %eax" and relax ""call *(%eax)"
7 to "nopl (%rax)".
8 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): For x32,
9 relax "rex leal foo@tlsdesc(%rip), %reg" to
10 "rex movl foo@tpoff, %eax" and relax "call *foo@tlscall(%eax)"
11 to "nopl (%rax)".
12 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
13 gcctestdir/as.
14 (tls_test_file2_gnu2.o): Likewise.
15 (tls_test_c_gnu2.o): Likewise.
16 * testsuite/Makefile.in: Regenerated.
17
6d520e36
L
182020-05-01 H.J. Lu <hongjiu.lu@intel.com>
19
20 PR gold/25473
21 * x86_64.cc (Target_x86_64<size>::Relocate::tls_desc_gd_to_ie):
22 Properly check r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
23 (Target_x86_64<size>::Relocate::tls_desc_gd_to_le): Properly
24 relax r8 - r15 in "lea foo@TLSDESC(%rip), %reg".
25 * testsuite/Makefile.am (check_SCRIPTS): Add x86_64_gd_to_le.sh.
26 (check_DATA): Add x86_64_gd_to_le.stdout.
27 (MOSTLYCLEANFILES): Add x86_64_gd_to_le.
28 (x86_64_gd_to_le.o): New target.
29 (x86_64_gd_to_le): Likewise.
30 (x86_64_gd_to_le.stdout): Likewise.
31 * testsuite/Makefile.in: Regenerated.
32 * testsuite/x86_64_gd_to_le.s: New file.
33 * testsuite/x86_64_gd_to_le.sh: Likewise.
34
e10cfd06
L
352020-05-01 H.J. Lu <hongjiu.lu@intel.com>
36
37 * testsuite/odr_violation2.cc (Ordering::operator()): Make
38 expression even more complex.
39
de6d6067
L
402020-05-01 H.J. Lu <hongjiu.lu@intel.com>
41
42 * testsuite/ver_test_pr16504.sh: Updated.
43
48bc2182
L
442020-05-01 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR gold/25872
47 * x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
48 plt_offset after setting the reserved TLSDESC PLT entry.
49 (Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
50
e977e747
L
512020-05-01 H.J. Lu <hongjiu.lu@intel.com>
52
53 PR gold/25872
54 * x86_64.cc (Output_data_plt_x86_64_bnd::do_address_for_local):
55 Handle local IFUNC symbol.
56 (Output_data_plt_x86_64_ibt::do_address_for_local): Likewise.
57
9a6c68ca
FS
582020-03-19 Fangrui Song <maskray@google.com>
59
60 * options.h (General_options): Add --no-rosegment option.
61
45c63c0f
NC
622020-02-24 Nick Clifton <nickc@redhat.com>
63
64 * po/fr.po: Update French translation.
65
26916852
NC
662020-01-20 Nick Clifton <nickc@redhat.com>
67
68 * po/uk.po: Updated Ukranian translation.
69
1b1bb2c6
NC
702020-01-18 Nick Clifton <nickc@redhat.com>
71
72 * configure: Regenerate.
73 * po/gold.pot: Regenerate.
74
ae774686
NC
752020-01-18 Nick Clifton <nickc@redhat.com>
76
77 Binutils 2.34 branch created.
78
b14ce8bf
AM
792020-01-01 Alan Modra <amodra@gmail.com>
80
81 Update year range in copyright notice of all files.
82
0b114740 83For older changes see ChangeLog-2019
3499769a 84\f
0b114740 85Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
86
87Copying and distribution of this file, with or without modification,
88are permitted in any medium without royalty provided the copyright
89notice and this notice are preserved.
90
91Local Variables:
92mode: change-log
93left-margin: 8
94fill-column: 74
95version-control: never
96End:
This page took 0.237848 seconds and 4 git commands to generate.