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