1 2020-06-23 Roland McGrath <mcgrathr@google.com>
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.
14 2020-06-18 Fangrui Song <i@maskray.me>
17 * layout.cc (Layout::finish_dynamic_section): Set DF_1_PIE.
19 2020-06-16 Alan Modra <amodra@gmail.com>
21 * testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
22 * testsuite/discard_locals_relocatable_test.c: Likewise.
24 2020-06-16 Alan Modra <amodra@gmail.com>
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.
31 2020-06-15 Roland McGrath <mcgrathr@google.com>
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_
41 * layout.cc (Layout::define_section_symbols): Use option setting.
43 2020-06-06 Alan Modra <amodra@gmail.com>
45 * powerpc.cc: Update throughout for reloc renaming.
47 2020-05-22 Alan Modra <amodra@gmail.com>
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.
54 2020-05-15 Nikita Ermakov <coffe92@gmail.com>
56 * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
58 2020-05-14 Nick Clifton <nickc@redhat.com>
60 * po/sr.po: New Serbian translation.
62 2020-05-11 Alan Modra <amodra@gmail.com>
64 * powerpc.cc: Rename powerxx to power10 throughout.
66 2020-05-02 H.J. Lu <hongjiu.lu@intel.com>
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.
81 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
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)"
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)"
92 * testsuite/Makefile.am (tls_test_gnu2.o): Depend on
94 (tls_test_file2_gnu2.o): Likewise.
95 (tls_test_c_gnu2.o): Likewise.
96 * testsuite/Makefile.in: Regenerated.
98 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
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.
115 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
117 * testsuite/odr_violation2.cc (Ordering::operator()): Make
118 expression even more complex.
120 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
122 * testsuite/ver_test_pr16504.sh: Updated.
124 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
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.
131 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
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.
138 2020-03-19 Fangrui Song <maskray@google.com>
140 * options.h (General_options): Add --no-rosegment option.
142 2020-02-24 Nick Clifton <nickc@redhat.com>
144 * po/fr.po: Update French translation.
146 2020-01-20 Nick Clifton <nickc@redhat.com>
148 * po/uk.po: Updated Ukranian translation.
150 2020-01-18 Nick Clifton <nickc@redhat.com>
152 * configure: Regenerate.
153 * po/gold.pot: Regenerate.
155 2020-01-18 Nick Clifton <nickc@redhat.com>
157 Binutils 2.34 branch created.
159 2020-01-01 Alan Modra <amodra@gmail.com>
161 Update year range in copyright notice of all files.
163 For older changes see ChangeLog-2019
165 Copyright (C) 2020 Free Software Foundation, Inc.
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.
175 version-control: never