diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-08-03 00:41:05 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-10-03 17:04:56 +0100 |
commit | fd86991bc5f1d0ff256b396fbb41f0125ed00c17 (patch) | |
tree | 1bf926421bddb8b020d1eecaf6ca4dbbdfbac295 /binutils/doc | |
parent | 87279e3cef5b2c54f4a01962cf9dcea38664a336 (diff) | |
download | gdb-fd86991bc5f1d0ff256b396fbb41f0125ed00c17.zip gdb-fd86991bc5f1d0ff256b396fbb41f0125ed00c17.tar.gz gdb-fd86991bc5f1d0ff256b396fbb41f0125ed00c17.tar.bz2 |
objdump: get CTF parent importing right
The linker emits CTF into a single section named .ctf, which is a CTF
archive where the default member (itself named ".ctf", or simply NULL)
is the parent of all other members. Teach objdump to look for this by
default, rather than only trying to do it if a specific CTF parent
section was specified. (If no parent name is specified, we get the .ctf
member from the same section as everything else, which matches what the
linker generates.)
binutils/
* objdump.c (dump_ctf): Use the default CTF archive member as the
parent even when no parent section is specified.
(dump_ctf_archive_member): Only import from the parent
if this is not the default ".ctf" member.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/ctf.options.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/doc/ctf.options.texi b/binutils/doc/ctf.options.texi index cf05280..bb9946a 100644 --- a/binutils/doc/ctf.options.texi +++ b/binutils/doc/ctf.options.texi @@ -10,5 +10,6 @@ contain many subsections, all of which are displayed in order. @item --ctf-parent=@var{section} -Specify the name of another section from which the CTF file can inherit -types. +Specify the name of another section from which the CTF dictionary can inherit +types. (If none is specified, we assume the CTF dictionary inherits types +from the default-named member of the archive contained within this section.) |