aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-12-15 07:37:59 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-12-15 07:39:16 -0800
commit8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90 (patch)
tree971df98c425380a5dd822c181a3bd6576b7f3ddc /gold
parent0e5ad4426a0b186290b845852ba9dac112388cbc (diff)
downloadgdb-8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90.zip
gdb-8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90.tar.gz
gdb-8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90.tar.bz2
gold: Add missing ChangeLog entries for commit ff4bc37d7
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d1c0ca7..32decc6 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