diff options
author | Cary Coutant <ccoutant@gmail.com> | 2018-07-14 11:52:27 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2018-07-14 12:44:48 -0700 |
commit | 1074bc6d41f480e9e7b8f2e68f778225da2559b7 (patch) | |
tree | f5536b908069a2e3658013391afc13271021aafa /gold/ChangeLog | |
parent | 1b115e8e0e051d65d0747f0a8a84eb6453866729 (diff) | |
download | gdb-1074bc6d41f480e9e7b8f2e68f778225da2559b7.zip gdb-1074bc6d41f480e9e7b8f2e68f778225da2559b7.tar.gz gdb-1074bc6d41f480e9e7b8f2e68f778225da2559b7.tar.bz2 |
Fix internal error when using --emit-relocs with plugins.
When an .eh_frame section has deferred layout because of plugins, gold
was neglecting to mark the section as deferred. When we later processed
the corresponding relocation section, we were then ignoring it, causing
the internal error later on in the link.
gold/
PR gold/23397
* object.cc (Sized_relobj_file::do_layout): Mark section as deferred.
* testsuite/Makefile.am (plugin_test_1): Add --emit-relocs option to
existing test case.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 0e50f05..ae0b8c9 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,13 @@ 2018-07-14 Cary Coutant <ccoutant@gmail.com> + PR gold/23397 + * object.cc (Sized_relobj_file::do_layout): Mark section as deferred. + * testsuite/Makefile.am (plugin_test_1): Add --emit-relocs option to + existing test case. + * testsuite/Makefile.in: Regenerate. + +2018-07-14 Cary Coutant <ccoutant@gmail.com> + PR gold/23409 * symtab.cc (Symbol_table::define_special_symbol): Add check for version name on existing symbol. |