[binutils-gdb] gold: Add missing ChangeLog entries for commit ff4bc37d7

H.J. Lu hjl@sourceware.org
Tue Dec 15 15:40:23 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90

commit 8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 15 07:37:59 2020 -0800

    gold: Add missing ChangeLog entries for commit ff4bc37d7

Diff:
---
 elfcpp/ChangeLog |  6 ++++++
 gold/ChangeLog   | 24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 8d0a6ff3ecd..73432dad9b2 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -3,6 +3,12 @@
 	* elfcpp.h (enum DT): New enum member DT_GNU_FLAGS_1.
 	(enum DF_GNU_1): New enum DF_GNU_1 containing DF_GNU_1_UNIQUE.
 
+2020-12-14  H.J. Lu  <hjl.tools@gmail.com>
+	    Cary Coutant  <ccoutant@gmail.com>
+
+	PR gold/27039
+	* elfcpp.h (SHF): Add SHF_GNU_RETAIN.
+
 2020-10-13  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elfcpp.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ...
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d1c0ca713ee..32decc69a43 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -4,6 +4,30 @@
 	* layout.cc (Layout::finish_dynamic_section): Set DF_GNU_1_UNIQUE.
 	* options.h (class General_options): Handle -z unique, -z nounique.
 
+2020-12-14  H.J. Lu  <hjl.tools@gmail.com>
+	    Cary Coutant  <ccoutant@gmail.com>
+
+	PR gold/27039
+	* layout.cc (Layout::layout): Strip SHF_GNU_RETAIN.
+	* object.cc (Sized_relobj_file::Sized_relobj_file): Initialize osabi_.
+	(Sized_relobj_file::do_layout): Keep SHF_GNU_RETAIN sections for
+	GNU/FreBSD ELFOSABIs.
+	* object.h (Osabi) New class.
+	(Sized_relobj_file): Add osabi() and osabi_.
+	* testsuite/Makefile.am (check_SCRIPTS): Add retain.sh.
+	(check_DATA): Add retain_1.out retain_2.out.
+	(MOSTLYCLEANFILES): Add retain_1 retain_2.
+	(retain_1.out): New target.
+	(retain_1): Likewise.
+	(retain_1.o): Likewise.
+	(retain_2.out): Likewise.
+	(retain_2): Likewise.
+	(retain_2.o): Likewise.
+	* testsuite/Makefile.in: Regenerate.
+	* testsuite/retain.sh: New file.
+	* testsuite/retain_1.s: Likewise.
+	* testsuite/retain_2.s: Likewise.
+
 2020-12-13  Cary Coutant  <ccoutant@gmail.com>
 
 	PR gold/23539


More information about the Binutils-cvs mailing list