public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: binutils@sourceware.org
Subject: [PATCH] gold: Add missing ChangeLog entries for commit ff4bc37d7
Date: Tue, 15 Dec 2020 07:39:57 -0800	[thread overview]
Message-ID: <20201215153957.3235739-1-hjl.tools@gmail.com> (raw)

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

diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 8d0a6ff3ec..73432dad9b 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 d1c0ca713e..32decc69a4 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
-- 
2.29.2


             reply	other threads:[~2020-12-15 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 15:39 H.J. Lu [this message]
2020-12-15 20:10 ` Cary Coutant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201215153957.3235739-1-hjl.tools@gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).