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