diff options
Diffstat (limited to 'upstream/fedora-rawhide/man1/readelf.1')
-rw-r--r-- | upstream/fedora-rawhide/man1/readelf.1 | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/upstream/fedora-rawhide/man1/readelf.1 b/upstream/fedora-rawhide/man1/readelf.1 index 050fc2ba..cc59ed65 100644 --- a/upstream/fedora-rawhide/man1/readelf.1 +++ b/upstream/fedora-rawhide/man1/readelf.1 @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "READELF 1" -.TH READELF 1 2024-02-22 binutils-2.42.50 "GNU Development Tools" +.TH READELF 1 2024-05-13 binutils-2.42.50 "GNU Development Tools" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -90,6 +90,7 @@ readelf [\fB\-a\fR|\fB\-\-all\fR] [\fB\-x\fR <number or name>|\fB\-\-hex\-dump=\fR<number or name>] [\fB\-p\fR <number or name>|\fB\-\-string\-dump=\fR<number or name>] [\fB\-R\fR <number or name>|\fB\-\-relocated\-dump=\fR<number or name>] + [\fB\-j\fR <number or name>|\fB\-\-display\-section=\fR<number or name>] [\fB\-z\fR|\fB\-\-decompress\fR] [\fB\-c\fR|\fB\-\-archive\-index\fR] [\fB\-w[lLiaprmfFsoORtUuTgAck]\fR| @@ -393,6 +394,8 @@ displayed. Displays the contents of the indicated section as a hexadecimal bytes. A number identifies a particular section by index in the section table; any other string identifies all sections with that name in the object file. +This option can be repeated multiple times on the command line in +order to request multiple hex dumps. .IP "\fB\-R <number or name>\fR" 4 .IX Item "-R <number or name>" .PD 0 @@ -404,6 +407,8 @@ bytes. A number identifies a particular section by index in the section table; any other string identifies all sections with that name in the object file. The contents of the section will be relocated before they are displayed. +This option can be repeated multiple times on the command line in +order to request multiple relocated dumps. .IP "\fB\-p <number or name>\fR" 4 .IX Item "-p <number or name>" .PD 0 @@ -413,6 +418,26 @@ before they are displayed. Displays the contents of the indicated section as printable strings. A number identifies a particular section by index in the section table; any other string identifies all sections with that name in the object file. +This option can be repeated multiple times on the command line in +order to request multiple string dumps. +.IP "\fB\-j <number or name>\fR" 4 +.IX Item "-j <number or name>" +.PD 0 +.IP \fB\-\-display\-section\fR 4 +.IX Item "--display-section" +.PD +Displays the contents of the indicated section according to its +section header type. Sections containing relocations will be +displayed as if the \fB\-\-relocations\fR option had been used, +sections contains symbols will be displayed as if the \fB\-\-syms\fR +option had been used and so on. +.Sp +A number identifies a particular section by index in the section +table; any other string identifies all sections with that name in the +input file(s). +.Sp +This option can be repeated multiple times on the command line in +order to request multiple section dumps. .IP \fB\-z\fR 4 .IX Item "-z" .PD 0 @@ -761,6 +786,15 @@ function at link time. When looking at CTF archives that have been created by a linker that uses the name changer to rename the parent archive member, \fB\-\-ctf\-parent\fR can be used to specify the name used for the parent. +.IP \fB\-\-ctf\-parent\-section=\fR\fIsection\fR 4 +.IX Item "--ctf-parent-section=section" +This option lets you pick a completely different section for the CTF +parent dictionary containing unambiguous types than for the child +dictionaries that contain the ambiguous remainder. The linker does +not emit ELF objects structured like this, but some third-party linkers +may. It's also convenient to inspect CTF written out as multiple raw +files to compose them with objcopy, which can put them in different +ELF sections but not in different members of a single CTF dict. .IP \fB\-\-ctf\-symbols=\fR\fIsection\fR 4 .IX Item "--ctf-symbols=section" .PD 0 |