mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
fd86991bc5
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.
16 lines
623 B
Plaintext
16 lines
623 B
Plaintext
@c This file contains the entry for the --ctf, --ctf-parent, --ctf-symbols, -and
|
|
@c --ctf-strings options that are common to both readelf and objdump.
|
|
|
|
@item --ctf=@var{section}
|
|
@cindex CTF
|
|
@cindex Compact Type Format
|
|
|
|
Display the contents of the specified CTF section. CTF sections themselves
|
|
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 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.)
|