diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-12-06 12:28:46 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-12-06 12:29:01 -0800 |
commit | 9da0a9988db7c9db92edaa3dc98f2a0648782b71 (patch) | |
tree | 8af6c2b717b9b1774513e00be219da451d8581b4 /gold/ChangeLog | |
parent | bb6bf75e7a1f9aaf0283895705710f415b81b6b1 (diff) | |
download | gdb-9da0a9988db7c9db92edaa3dc98f2a0648782b71.zip gdb-9da0a9988db7c9db92edaa3dc98f2a0648782b71.tar.gz gdb-9da0a9988db7c9db92edaa3dc98f2a0648782b71.tar.bz2 |
gold: Provide more failed archive member info in error message
When gold fails to get an archive member, its error message doesn't
have information for
1. The failed archive member name.
2. The cause of failure: non-ELF object vs non-IR object.
This patch adds the failed archive member name and non-ELF/non-IR info
to gold error message.
* archive.cc (Archive::get_elf_object_for_member): Also print
archive member and non-ELF/non-IR info on error.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 2379536..5c5bca2 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2018-12-06 H.J. Lu <hongjiu.lu@intel.com> + + * archive.cc (Archive::get_elf_object_for_member): Also print + archive member and non-ELF/non-IR info on error. + 2018-12-05 Alan Modra <amodra@gmail.com> * symtab.h (Symbol::Symbol): Avoid -Wclass-memaccess warning. |