[PATCH] man5/e*.5: srcfix: Use a single-font-style macro for a single argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Use a single-font-style macro (".B", ".I") for a single argument.

  The output from "nroff" and "groff" is unchanged.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx>
---
 man5/elf.5 | 576 ++++++++++++++++++++++++++---------------------------
 1 file changed, 288 insertions(+), 288 deletions(-)

diff --git a/man5/elf.5 b/man5/elf.5
index 656a8cb45..4b63f3295 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -167,93 +167,93 @@ The fields have the following meanings:
 .nr l1_indent 10
 .\"
 .TP \n[l1_indent]
-.IR e_ident
+.I e_ident
 This array of bytes specifies how to interpret the file,
 independent of the processor or the file's remaining contents.
 Within this array everything is named by macros, which start with
 the prefix
-.BR EI_
+.B EI_
 and may contain values which start with the prefix
 .BR ELF .
 The following macros are defined:
 .RS
 .TP 9
-.BR EI_MAG0
+.B EI_MAG0
 The first byte of the magic number.
 It must be filled with
 .BR ELFMAG0 .
 (0: 0x7f)
 .TP
-.BR EI_MAG1
+.B EI_MAG1
 The second byte of the magic number.
 It must be filled with
 .BR ELFMAG1 .
 (1: \(aqE\(aq)
 .TP
-.BR EI_MAG2
+.B EI_MAG2
 The third byte of the magic number.
 It must be filled with
 .BR ELFMAG2 .
 (2: \(aqL\(aq)
 .TP
-.BR EI_MAG3
+.B EI_MAG3
 The fourth byte of the magic number.
 It must be filled with
 .BR ELFMAG3 .
 (3: \(aqF\(aq)
 .TP
-.BR EI_CLASS
+.B EI_CLASS
 The fifth byte identifies the architecture for this binary:
 .RS
 .TP 14
 .PD 0
-.BR ELFCLASSNONE
+.B ELFCLASSNONE
 This class is invalid.
 .TP
-.BR ELFCLASS32
+.B ELFCLASS32
 This defines the 32-bit architecture.
 It supports machines with files
 and virtual address spaces up to 4 Gigabytes.
 .TP
-.BR ELFCLASS64
+.B ELFCLASS64
 This defines the 64-bit architecture.
 .PD
 .RE
 .TP
-.BR EI_DATA
+.B EI_DATA
 The sixth byte specifies the data encoding of the processor-specific
 data in the file.
 Currently, these encodings are supported:
 .RS 9
 .TP 14
 .PD 0
-.BR ELFDATANONE
+.B ELFDATANONE
 Unknown data format.
 .TP
-.BR ELFDATA2LSB
+.B ELFDATA2LSB
 Two's complement, little-endian.
 .TP
-.BR ELFDATA2MSB
+.B ELFDATA2MSB
 Two's complement, big-endian.
 .PD
 .RE
 .TP
-.BR EI_VERSION
+.B EI_VERSION
 The seventh byte is the version number of the ELF specification:
 .IP
 .PD 0
 .RS
 .TP 14
-.BR EV_NONE
+.B EV_NONE
 Invalid version.
 .TP
-.BR EV_CURRENT
+.B EV_CURRENT
 Current version.
 .PD
 .RE
 .\".El
 .TP
-.BR EI_OSABI
+.B EI_OSABI
 The eighth byte identifies the operating system
 and ABI to which the object is targeted.
 Some fields in other ELF structures have flags
@@ -263,24 +263,24 @@ For example:
 .RS
 .TP 21
 .PD 0
-.BR ELFOSABI_NONE
+.B ELFOSABI_NONE
 Same as ELFOSABI_SYSV
 .\" 0
 .TP
-.BR ELFOSABI_SYSV
+.B ELFOSABI_SYSV
 UNIX System V ABI
 .\" 0
 .\" synonym: ELFOSABI_NONE
 .TP
-.BR ELFOSABI_HPUX
+.B ELFOSABI_HPUX
 HP-UX ABI
 .\" 1
 .TP
-.BR ELFOSABI_NETBSD
+.B ELFOSABI_NETBSD
 NetBSD ABI
 .\" 2
 .TP
-.BR ELFOSABI_LINUX
+.B ELFOSABI_LINUX
 Linux ABI
 .\" 3
 .\" .TP
@@ -292,7 +292,7 @@ Linux ABI
 .\" 86Open Common IA32 ABI
 .\" 5
 .TP
-.BR ELFOSABI_SOLARIS
+.B ELFOSABI_SOLARIS
 Solaris ABI
 .\" 6
 .\" .TP
@@ -302,15 +302,15 @@ Solaris ABI
 .\" ELFOSABI_AIX
 .\" 7
 .TP
-.BR ELFOSABI_IRIX
+.B ELFOSABI_IRIX
 IRIX ABI
 .\" 8
 .TP
-.BR ELFOSABI_FREEBSD
+.B ELFOSABI_FREEBSD
 FreeBSD ABI
 .\" 9
 .TP
-.BR ELFOSABI_TRU64
+.B ELFOSABI_TRU64
 TRU64 UNIX ABI
 .\" 10
 .\" ELFOSABI_MODESTO
@@ -318,17 +318,17 @@ TRU64 UNIX ABI
 .\" ELFOSABI_OPENBSD
 .\" 12
 .TP
-.BR ELFOSABI_ARM
+.B ELFOSABI_ARM
 ARM architecture ABI
 .\" 97
 .TP
-.BR ELFOSABI_STANDALONE
+.B ELFOSABI_STANDALONE
 Stand-alone (embedded) ABI
 .\" 255
 .PD
 .RE
 .TP
-.BR EI_ABIVERSION
+.B EI_ABIVERSION
 The ninth byte identifies the version of the ABI
 to which the object is targeted.
 This field is used to distinguish among incompatible versions of an ABI.
@@ -338,7 +338,7 @@ is dependent on the ABI identified by the
 field.
 Applications conforming to this specification use the value 0.
 .TP
-.BR EI_PAD
+.B EI_PAD
 Start of padding.
 These bytes are reserved and set to zero.
 Programs
@@ -354,61 +354,61 @@ the future if currently unused bytes are given meanings.
 .\" .BR EI_BRAND
 .\" Start of architecture identification.
 .TP
-.BR EI_NIDENT
+.B EI_NIDENT
 The size of the
 .I e_ident
 array.
 .RE
 .TP
-.IR e_type
+.I e_type
 This member of the structure identifies the object file type:
 .RS
 .TP 16
 .PD 0
-.BR ET_NONE
+.B ET_NONE
 An unknown type.
 .TP
-.BR ET_REL
+.B ET_REL
 A relocatable file.
 .TP
-.BR ET_EXEC
+.B ET_EXEC
 An executable file.
 .TP
-.BR ET_DYN
+.B ET_DYN
 A shared object.
 .TP
-.BR ET_CORE
+.B ET_CORE
 A core file.
 .PD
 .RE
 .TP
-.IR e_machine
+.I e_machine
 This member specifies the required architecture for an individual file.
 For example:
 .RS \n[l1_indent]
 .TP 16
 .PD 0
-.BR EM_NONE
+.B EM_NONE
 An unknown machine
 .\" 0
 .TP
-.BR EM_M32
+.B EM_M32
 AT&T WE 32100
 .\" 1
 .TP
-.BR EM_SPARC
+.B EM_SPARC
 Sun Microsystems SPARC
 .\" 2
 .TP
-.BR EM_386
+.B EM_386
 Intel 80386
 .\" 3
 .TP
-.BR EM_68K
+.B EM_68K
 Motorola 68000
 .\" 4
 .TP
-.BR EM_88K
+.B EM_88K
 Motorola 88000
 .\" 5
 .\" .TP
@@ -416,186 +416,186 @@ Motorola 88000
 .\" Intel 80486
 .\" 6
 .TP
-.BR EM_860
+.B EM_860
 Intel 80860
 .\" 7
 .TP
-.BR EM_MIPS
+.B EM_MIPS
 MIPS RS3000 (big-endian only)
 .\" 8
 .\" EM_S370
 .\" 9
 .\" .TP
-.\" .BR EM_MIPS_RS4_BE
+.\" .B EM_MIPS_RS4_BE
 .\" MIPS RS4000 (big-endian only). Deprecated
 .\" 10
 .\" EM_MIPS_RS3_LE (MIPS R3000 little-endian)
 .\" 10
 .TP
-.BR EM_PARISC
+.B EM_PARISC
 HP/PA
 .\" 15
 .TP
-.BR EM_SPARC32PLUS
+.B EM_SPARC32PLUS
 SPARC with enhanced instruction set
 .\" 18
 .TP
-.BR EM_PPC
+.B EM_PPC
 PowerPC
 .\" 20
 .TP
-.BR EM_PPC64
+.B EM_PPC64
 PowerPC 64-bit
 .\" 21
 .TP
-.BR EM_S390
+.B EM_S390
 IBM S/390
 .\" 22
 .TP
-.BR EM_ARM
+.B EM_ARM
 Advanced RISC Machines
 .\" 40
 .TP
-.BR EM_SH
+.B EM_SH
 Renesas SuperH
 .\" 42
 .TP
-.BR EM_SPARCV9
+.B EM_SPARCV9
 SPARC v9 64-bit
 .\" 43
 .TP
-.BR EM_IA_64
+.B EM_IA_64
 Intel Itanium
 .\" 50
 .TP
-.BR EM_X86_64
+.B EM_X86_64
 AMD x86-64
 .\" 62
 .TP
-.BR EM_VAX
+.B EM_VAX
 DEC Vax
 .\" 75
 .\" EM_CRIS
 .\" 76
 .\" .TP
-.\" .BR EM_ALPHA
+.\" .B EM_ALPHA
 .\" Compaq [DEC] Alpha
 .\" .TP
-.\" .BR EM_ALPHA_EXP
+.\" .B EM_ALPHA_EXP
 .\" Compaq [DEC] Alpha with enhanced instruction set
 .PD
 .RE
 .TP
-.IR e_version
+.I e_version
 This member identifies the file version:
 .RS
 .TP 16
 .PD 0
-.BR EV_NONE
+.B EV_NONE
 Invalid version
 .TP
-.BR EV_CURRENT
+.B EV_CURRENT
 Current version
 .PD
 .RE
 .TP
-.IR e_entry
+.I e_entry
 This member gives the virtual address to which the system first transfers
 control, thus starting the process.
 If the file has no associated entry
 point, this member holds zero.
 .TP
-.IR e_phoff
+.I e_phoff
 This member holds the program header table's file offset in bytes.
 If
 the file has no program header table, this member holds zero.
 .TP
-.IR e_shoff
+.I e_shoff
 This member holds the section header table's file offset in bytes.
 If the
 file has no section header table, this member holds zero.
 .TP
-.IR e_flags
+.I e_flags
 This member holds processor-specific flags associated with the file.
 Flag names take the form EF_`machine_flag'.
 Currently, no flags have been defined.
 .TP
-.IR e_ehsize
+.I e_ehsize
 This member holds the ELF header's size in bytes.
 .TP
-.IR e_phentsize
+.I e_phentsize
 This member holds the size in bytes of one entry in the file's
 program header table; all entries are the same size.
 .TP
-.IR e_phnum
+.I e_phnum
 This member holds the number of entries in the program header
 table.
 Thus the product of
-.IR e_phentsize
+.I e_phentsize
 and
-.IR e_phnum
+.I e_phnum
 gives the table's size
 in bytes.
 If a file has no program header,
-.IR e_phnum
+.I e_phnum
 holds the value zero.
 .IP
 If the number of entries in the program header table is
 larger than or equal to
 .\" This is a Linux extension, added in Linux 2.6.34.
-.BR PN_XNUM
+.B PN_XNUM
 (0xffff), this member holds
-.BR PN_XNUM
+.B PN_XNUM
 (0xffff) and the real number of entries in the program header table is held
 in the
-.IR sh_info
+.I sh_info
 member of the initial entry in section header table.
 Otherwise, the
-.IR sh_info
+.I sh_info
 member of the initial entry contains the value zero.
 .RS \n[l1_indent]
 .TP 9
-.BR PN_XNUM
+.B PN_XNUM
 This is defined as 0xffff, the largest number
-.IR e_phnum
+.I e_phnum
 can have, specifying where the actual number of program headers is assigned.
 .PD
 .RE
 .IP
 .TP
-.IR e_shentsize
+.I e_shentsize
 This member holds a sections header's size in bytes.
 A section header is one
 entry in the section header table; all entries are the same size.
 .TP
-.IR e_shnum
+.I e_shnum
 This member holds the number of entries in the section header table.
 Thus
 the product of
-.IR e_shentsize
+.I e_shentsize
 and
-.IR e_shnum
+.I e_shnum
 gives the section header table's size in bytes.
 If a file has no section
 header table,
-.IR e_shnum
+.I e_shnum
 holds the value of zero.
 .IP
 If the number of entries in the section header table is
 larger than or equal to
-.BR SHN_LORESERVE
+.B SHN_LORESERVE
 (0xff00),
-.IR e_shnum
+.I e_shnum
 holds the value zero and the real number of entries in the section header
 table is held in the
-.IR sh_size
+.I sh_size
 member of the initial entry in section header table.
 Otherwise, the
-.IR sh_size
+.I sh_size
 member of the initial entry in the section header table holds
 the value zero.
 .TP
-.IR e_shstrndx
+.I e_shstrndx
 This member holds the section header table index of the entry associated
 with the section name string table.
 If the file has no section name string
@@ -604,15 +604,15 @@ table, this member holds the value
 .IP
 If the index of section name string table section is
 larger than or equal to
-.BR SHN_LORESERVE
+.B SHN_LORESERVE
 (0xff00), this member holds
-.BR SHN_XINDEX
+.B SHN_XINDEX
 (0xffff) and the real index of the section name string table section
 is held in the
-.IR sh_link
+.I sh_link
 member of the initial entry in section header table.
 Otherwise, the
-.IR sh_link
+.I sh_link
 member of the initial entry in section header table contains the value zero.
 .\"
 .SS Program header (Phdr)
@@ -620,14 +620,14 @@ An executable or shared object file's program header table is an array of
 structures, each describing a segment or other information the system needs
 to prepare the program for execution.
 An object file
-.IR segment
+.I segment
 contains one or more
 .IR sections .
 Program headers are meaningful only for executable and shared object files.
 A file specifies its own program header size with the ELF header's
-.IR e_phentsize
+.I e_phentsize
 and
-.IR e_phnum
+.I e_phnum
 members.
 The ELF program header is described by the type
 .I Elf32_Phdr
@@ -667,27 +667,27 @@ typedef struct {
 .PP
 The main difference between the 32-bit and the 64-bit program header lies
 in the location of the
-.IR p_flags
+.I p_flags
 member in the total struct.
 .TP 10
-.IR p_type
+.I p_type
 This member of the structure indicates what kind of segment this array
 element describes or how to interpret the array element's information.
 .RS 10
 .TP 12
-.BR PT_NULL
+.B PT_NULL
 The array element is unused and the other members' values are undefined.
 This lets the program header have ignored entries.
 .TP
-.BR PT_LOAD
+.B PT_LOAD
 The array element specifies a loadable segment, described by
-.IR p_filesz
+.I p_filesz
 and
 .IR p_memsz .
 The bytes from the file are mapped to the beginning of the memory
 segment.
 If the segment's memory size
-.IR p_memsz
+.I p_memsz
 is larger than the file size
 .IR p_filesz ,
 the
@@ -697,13 +697,13 @@ initialized area.
 The file size may not be larger than the memory size.
 Loadable segment entries in the program header table appear in ascending
 order, sorted on the
-.IR p_vaddr
+.I p_vaddr
 member.
 .TP
-.BR PT_DYNAMIC
+.B PT_DYNAMIC
 The array element specifies dynamic linking information.
 .TP
-.BR PT_INTERP
+.B PT_INTERP
 The array element specifies the location and size of a null-terminated
 pathname to invoke as an interpreter.
 This segment type is meaningful
@@ -711,15 +711,15 @@ only for executable files (though it may occur for shared objects).
 However it may not occur more than once in a file.
 If it is present, it must precede any loadable segment entry.
 .TP
-.BR PT_NOTE
+.B PT_NOTE
 The array element specifies the location of notes (ElfN_Nhdr).
 .TP
-.BR PT_SHLIB
+.B PT_SHLIB
 This segment type is reserved but has unspecified semantics.
 Programs that
 contain an array element of this type do not conform to the ABI.
 .TP
-.BR PT_PHDR
+.B PT_PHDR
 The array element, if present,
 specifies the location and size of the program header table itself,
 both in the file and in the memory image of the program.
@@ -734,22 +734,22 @@ Values in the inclusive range
 .RB [ PT_LOPROC ", " PT_HIPROC ]
 are reserved for processor-specific semantics.
 .TP
-.BR PT_GNU_STACK
+.B PT_GNU_STACK
 GNU extension which is used by the Linux kernel to control the state of the
 stack via the flags set in the
-.IR p_flags
+.I p_flags
 member.
 .RE
 .TP
-.IR p_offset
+.I p_offset
 This member holds the offset from the beginning of the file at which
 the first byte of the segment resides.
 .TP
-.IR p_vaddr
+.I p_vaddr
 This member holds the virtual address at which the first byte of the
 segment resides in memory.
 .TP
-.IR p_paddr
+.I p_paddr
 On systems for which physical addressing is relevant, this member is
 reserved for the segment's physical address.
 Under
@@ -757,32 +757,32 @@ BSD
 this member is
 not used and must be zero.
 .TP
-.IR p_filesz
+.I p_filesz
 This member holds the number of bytes in the file image of the segment.
 It may be zero.
 .TP
-.IR p_memsz
+.I p_memsz
 This member holds the number of bytes in the memory image of the segment.
 It may be zero.
 .TP
-.IR p_flags
+.I p_flags
 This member holds a bit mask of flags relevant to the segment:
 .RS \n[l1_indent]
 .TP
 .PD 0
-.BR PF_X
+.B PF_X
 An executable segment.
 .TP
-.BR PF_W
+.B PF_W
 A writable segment.
 .TP
-.BR PF_R
+.B PF_R
 A readable segment.
 .PD
 .RE
 .IP
 A text segment commonly has the flags
-.BR PF_X
+.B PF_X
 and
 .BR PF_R .
 A data segment commonly has
@@ -791,19 +791,19 @@ A data segment commonly has
 and
 .BR PF_R .
 .TP
-.IR p_align
+.I p_align
 This member holds the value to which the segments are aligned in memory
 and in the file.
 Loadable process segments must have congruent values for
-.IR p_vaddr
+.I p_vaddr
 and
 .IR p_offset ,
 modulo the page size.
 Values of zero and one mean no alignment is required.
 Otherwise,
-.IR p_align
+.I p_align
 should be a positive, integral power of two, and
-.IR p_vaddr
+.I p_vaddr
 should equal
 .IR p_offset ,
 modulo
@@ -819,12 +819,12 @@ or
 structures.
 The
 ELF header's
-.IR e_shoff
+.I e_shoff
 member gives the byte offset from the beginning of the file to the section
 header table.
-.IR e_shnum
+.I e_shnum
 holds the number of entries the section header table contains.
-.IR e_shentsize
+.I e_shentsize
 holds the size in bytes of each entry.
 .PP
 A section header table index is a subscript into this array.
@@ -836,18 +836,18 @@ and
 .BR SHN_HIRESERVE .
 The initial entry is used in ELF extensions for
 .IR e_phnum ,
-.IR e_shnum
+.I e_shnum
 and
 .IR e_strndx ;
 in other cases, each field in the initial entry is set to zero.
 An object file does not have sections for
 these special indices:
 .TP
-.BR SHN_UNDEF
+.B SHN_UNDEF
 This value marks an undefined, missing, irrelevant,
 or otherwise meaningless section reference.
 .TP
-.BR SHN_LORESERVE
+.B SHN_LORESERVE
 This value specifies the lower bound of the range of reserved indices.
 .TP
 .BR SHN_LOPROC ", " SHN_HIPROC
@@ -855,22 +855,22 @@ Values greater in the inclusive range
 .RB [ SHN_LOPROC ", " SHN_HIPROC ]
 are reserved for processor-specific semantics.
 .TP
-.BR SHN_ABS
+.B SHN_ABS
 This value specifies the absolute value for the corresponding reference.
 For
 example, a symbol defined relative to section number
-.BR SHN_ABS
+.B SHN_ABS
 has an absolute value and is not affected by relocation.
 .TP
-.BR SHN_COMMON
+.B SHN_COMMON
 Symbols defined relative to this section are common symbols,
 such as FORTRAN COMMON or unallocated C external variables.
 .TP
-.BR SHN_HIRESERVE
+.B SHN_HIRESERVE
 This value specifies the upper bound of the range of reserved indices.
 The
 system reserves indices between
-.BR SHN_LORESERVE
+.B SHN_LORESERVE
 and
 .BR SHN_HIRESERVE ,
 inclusive.
@@ -915,92 +915,92 @@ typedef struct {
 .PP
 No real differences exist between the 32-bit and 64-bit section headers.
 .TP \n[l1_indent]
-.IR sh_name
+.I sh_name
 This member specifies the name of the section.
 Its value is an index
 into the section header string table section, giving the location of
 a null-terminated string.
 .TP
-.IR sh_type
+.I sh_type
 This member categorizes the section's contents and semantics.
 .RS \n[l1_indent]
 .TP 15
-.BR SHT_NULL
+.B SHT_NULL
 This value marks the section header as inactive.
 It does not
 have an associated section.
 Other members of the section header
 have undefined values.
 .TP
-.BR SHT_PROGBITS
+.B SHT_PROGBITS
 This section holds information defined by the program, whose
 format and meaning are determined solely by the program.
 .TP
-.BR SHT_SYMTAB
+.B SHT_SYMTAB
 This section holds a symbol table.
 Typically,
-.BR SHT_SYMTAB
+.B SHT_SYMTAB
 provides symbols for link editing, though it may also be used
 for dynamic linking.
 As a complete symbol table, it may contain
 many symbols unnecessary for dynamic linking.
 An object file can
 also contain a
-.BR SHT_DYNSYM
+.B SHT_DYNSYM
 section.
 .TP
-.BR SHT_STRTAB
+.B SHT_STRTAB
 This section holds a string table.
 An object file may have multiple
 string table sections.
 .TP
-.BR SHT_RELA
+.B SHT_RELA
 This section holds relocation entries with explicit addends, such
 as type
-.IR Elf32_Rela
+.I Elf32_Rela
 for the 32-bit class of object files.
 An object may have multiple
 relocation sections.
 .TP
-.BR SHT_HASH
+.B SHT_HASH
 This section holds a symbol hash table.
 An object participating in
 dynamic linking must contain a symbol hash table.
 An object file may
 have only one hash table.
 .TP
-.BR SHT_DYNAMIC
+.B SHT_DYNAMIC
 This section holds information for dynamic linking.
 An object file may
 have only one dynamic section.
 .TP
-.BR SHT_NOTE
+.B SHT_NOTE
 This section holds notes (ElfN_Nhdr).
 .TP
-.BR SHT_NOBITS
+.B SHT_NOBITS
 A section of this type occupies no space in the file but otherwise
 resembles
 .BR SHT_PROGBITS .
 Although this section contains no bytes, the
-.IR sh_offset
+.I sh_offset
 member contains the conceptual file offset.
 .TP
-.BR SHT_REL
+.B SHT_REL
 This section holds relocation offsets without explicit addends, such
 as type
-.IR Elf32_Rel
+.I Elf32_Rel
 for the 32-bit class of object files.
 An object file may have multiple
 relocation sections.
 .TP
-.BR SHT_SHLIB
+.B SHT_SHLIB
 This section is reserved but has unspecified semantics.
 .TP
-.BR SHT_DYNSYM
+.B SHT_DYNSYM
 This section holds a minimal set of dynamic linking symbols.
 An
 object file can also contain a
-.BR SHT_SYMTAB
+.B SHT_SYMTAB
 section.
 .TP
 .BR SHT_LOPROC ", " SHT_HIPROC
@@ -1008,22 +1008,22 @@ Values in the inclusive range
 .RB [ SHT_LOPROC ", " SHT_HIPROC ]
 are reserved for processor-specific semantics.
 .TP
-.BR SHT_LOUSER
+.B SHT_LOUSER
 This value specifies the lower bound of the range of indices reserved for
 application programs.
 .TP
-.BR SHT_HIUSER
+.B SHT_HIUSER
 This value specifies the upper bound of the range of indices reserved for
 application programs.
 Section types between
-.BR SHT_LOUSER
+.B SHT_LOUSER
 and
-.BR SHT_HIUSER
+.B SHT_HIUSER
 may be used by the application, without conflicting with current or future
 system-defined section types.
 .RE
 .TP
-.IR sh_flags
+.I sh_flags
 Sections support one-bit flags that describe miscellaneous attributes.
 If a flag bit is set in
 .IR sh_flags ,
@@ -1036,72 +1036,72 @@ or does not apply.
 Undefined attributes are set to zero.
 .RS \n[l1_indent]
 .TP 15
-.BR SHF_WRITE
+.B SHF_WRITE
 This section contains data that should be writable during process
 execution.
 .TP
-.BR SHF_ALLOC
+.B SHF_ALLOC
 This section occupies memory during process execution.
 Some control
 sections do not reside in the memory image of an object file.
 This
 attribute is off for those sections.
 .TP
-.BR SHF_EXECINSTR
+.B SHF_EXECINSTR
 This section contains executable machine instructions.
 .TP
-.BR SHF_MASKPROC
+.B SHF_MASKPROC
 All bits included in this mask are reserved for processor-specific
 semantics.
 .RE
 .TP
-.IR sh_addr
+.I sh_addr
 If this section appears in the memory image of a process, this member
 holds the address at which the section's first byte should reside.
 Otherwise, the member contains zero.
 .TP
-.IR sh_offset
+.I sh_offset
 This member's value holds the byte offset from the beginning of the file
 to the first byte in the section.
 One section type,
 .BR SHT_NOBITS ,
 occupies no space in the file, and its
-.IR sh_offset
+.I sh_offset
 member locates the conceptual placement in the file.
 .TP
-.IR sh_size
+.I sh_size
 This member holds the section's size in bytes.
 Unless the section type
 is
 .BR SHT_NOBITS ,
 the section occupies
-.IR sh_size
+.I sh_size
 bytes in the file.
 A section of type
-.BR SHT_NOBITS
+.B SHT_NOBITS
 may have a nonzero size, but it occupies no space in the file.
 .TP
-.IR sh_link
+.I sh_link
 This member holds a section header table index link, whose interpretation
 depends on the section type.
 .TP
-.IR sh_info
+.I sh_info
 This member holds extra information, whose interpretation depends on the
 section type.
 .TP
-.IR sh_addralign
+.I sh_addralign
 Some sections have address alignment constraints.
 If a section holds a
 doubleword, the system must ensure doubleword alignment for the entire
 section.
 That is, the value of
-.IR sh_addr
+.I sh_addr
 must be congruent to zero, modulo the value of
 .IR sh_addralign .
 Only zero and positive integral powers of two are allowed.
 The value 0 or 1 means that the section has no alignment constraints.
 .TP
-.IR sh_entsize
+.I sh_entsize
 Some sections hold a table of fixed-sized entries, such as a symbol table.
 For such a section, this member gives the size in bytes for each entry.
 This member contains zero if the section does not hold a table of
@@ -1109,7 +1109,7 @@ fixed-size entries.
 .PP
 Various sections hold program and control information:
 .TP \n[l1_indent]
-.IR .bss
+.I .bss
 This section holds uninitialized data that contributes to the program's
 memory image.
 By definition, the system initializes the data with zeros
@@ -1117,46 +1117,46 @@ when the program begins to run.
 This section is of type
 .BR SHT_NOBITS .
 The attribute types are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_WRITE .
 .TP
-.IR .comment
+.I .comment
 This section holds version control information.
 This section is of type
 .BR SHT_PROGBITS .
 No attribute types are used.
 .TP
-.IR .ctors
+.I .ctors
 This section holds initialized pointers to the C++ constructor functions.
 This section is of type
 .BR SHT_PROGBITS .
 The attribute types are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_WRITE .
 .TP
-.IR .data
+.I .data
 This section holds initialized data that contribute to the program's
 memory image.
 This section is of type
 .BR SHT_PROGBITS .
 The attribute types are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_WRITE .
 .TP
-.IR .data1
+.I .data1
 This section holds initialized data that contribute to the program's
 memory image.
 This section is of type
 .BR SHT_PROGBITS .
 The attribute types are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_WRITE .
 .TP
-.IR .debug
+.I .debug
 This section holds information for symbolic debugging.
 The contents
 are unspecified.
@@ -1164,29 +1164,29 @@ This section is of type
 .BR SHT_PROGBITS .
 No attribute types are used.
 .TP
-.IR .dtors
+.I .dtors
 This section holds initialized pointers to the C++ destructor functions.
 This section is of type
 .BR SHT_PROGBITS .
 The attribute types are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_WRITE .
 .TP
-.IR .dynamic
+.I .dynamic
 This section holds dynamic linking information.
 The section's attributes
 will include the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Whether the
-.BR SHF_WRITE
+.B SHF_WRITE
 bit is set is processor-specific.
 This section is of type
 .BR SHT_DYNAMIC .
 See the attributes above.
 .TP
-.IR .dynstr
+.I .dynstr
 This section holds strings needed for dynamic linking, most commonly
 the strings that represent the names associated with symbol table entries.
 This section is of type
@@ -1194,14 +1194,14 @@ This section is of type
 The attribute type used is
 .BR SHF_ALLOC .
 .TP
-.IR .dynsym
+.I .dynsym
 This section holds the dynamic linking symbol table.
 This section is of type
 .BR SHT_DYNSYM .
 The attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .fini
+.I .fini
 This section holds executable instructions that contribute to the process
 termination code.
 When a program exits normally the system arranges to
@@ -1209,11 +1209,11 @@ execute the code in this section.
 This section is of type
 .BR SHT_PROGBITS .
 The attributes used are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_EXECINSTR .
 .TP
-.IR .gnu.version
+.I .gnu.version
 This section holds the version symbol table, an array of
 .I ElfN_Half
 elements.
@@ -1222,7 +1222,7 @@ This section is of type
 The attribute type used is
 .BR SHF_ALLOC .
 .TP
-.IR .gnu.version_d
+.I .gnu.version_d
 This section holds the version symbol definitions, a table of
 .I ElfN_Verdef
 structures.
@@ -1231,7 +1231,7 @@ This section is of type
 The attribute type used is
 .BR SHF_ALLOC .
 .TP
-.IR .gnu.version_r
+.I .gnu.version_r
 This section holds the version symbol needed elements, a table of
 .I ElfN_Verneed
 structures.
@@ -1241,20 +1241,20 @@ type
 The attribute type used is
 .BR SHF_ALLOC .
 .TP
-.IR .got
+.I .got
 This section holds the global offset table.
 This section is of type
 .BR SHT_PROGBITS .
 The attributes are processor-specific.
 .TP
-.IR .hash
+.I .hash
 This section holds a symbol hash table.
 This section is of type
 .BR SHT_HASH .
 The attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .init
+.I .init
 This section holds executable instructions that contribute to the process
 initialization code.
 When a program starts to run the system arranges to execute
@@ -1262,22 +1262,22 @@ the code in this section before calling the main program entry point.
 This section is of type
 .BR SHT_PROGBITS .
 The attributes used are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_EXECINSTR .
 .TP
-.IR .interp
+.I .interp
 This section holds the pathname of a program interpreter.
 If the file has
 a loadable segment that includes the section, the section's attributes will
 include the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Otherwise, that bit will be off.
 This section is of type
 .BR SHT_PROGBITS .
 .TP
-.IR .line
+.I .line
 This section holds line number information for symbolic debugging,
 which describes the correspondence between the program source and
 the machine code.
@@ -1286,13 +1286,13 @@ This section is of type
 .BR SHT_PROGBITS .
 No attribute types are used.
 .TP
-.IR .note
+.I .note
 This section holds various notes.
 This section is of type
 .BR SHT_NOTE .
 No attribute types are used.
 .TP
-.IR .note.ABI-tag
+.I .note.ABI-tag
 This section is used to declare the expected run-time ABI of the ELF image.
 It may include the operating system name and its run-time versions.
 This section is of type
@@ -1300,20 +1300,20 @@ This section is of type
 The only attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .note.gnu.build-id
+.I .note.gnu.build-id
 This section is used to hold an ID that uniquely identifies
 the contents of the ELF image.
 Different files with the same build ID should contain the same executable
 content.
 See the
-.BR \-\-build\-id
+.B \-\-build\-id
 option to the GNU linker (\fBld\fR (1)) for more details.
 This section is of type
 .BR SHT_NOTE .
 The only attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .note.GNU-stack
+.I .note.GNU-stack
 This section is used in Linux object files for declaring stack attributes.
 This section is of type
 .BR SHT_PROGBITS .
@@ -1322,23 +1322,23 @@ The only attribute used is
 This indicates to the GNU linker that the object file requires an
 executable stack.
 .TP
-.IR .note.openbsd.ident
+.I .note.openbsd.ident
 OpenBSD native executables usually contain this section
 to identify themselves so the kernel can bypass any compatibility
 ELF binary emulation tests when loading the file.
 .TP
-.IR .plt
+.I .plt
 This section holds the procedure linkage table.
 This section is of type
 .BR SHT_PROGBITS .
 The attributes are processor-specific.
 .TP
-.IR .relNAME
+.I .relNAME
 This section holds relocation information as described below.
 If the file
 has a loadable segment that includes relocation, the section's attributes
 will include the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Otherwise, the bit will be off.
 By convention,
@@ -1346,18 +1346,18 @@ By convention,
 is supplied by the section to which the relocations apply.
 Thus a relocation
 section for
-.BR .text
+.B .text
 normally would have the name
 .BR .rel.text .
 This section is of type
 .BR SHT_REL .
 .TP
-.IR .relaNAME
+.I .relaNAME
 This section holds relocation information as described below.
 If the file
 has a loadable segment that includes relocation, the section's attributes
 will include the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Otherwise, the bit will be off.
 By convention,
@@ -1365,13 +1365,13 @@ By convention,
 is supplied by the section to which the relocations apply.
 Thus a relocation
 section for
-.BR .text
+.B .text
 normally would have the name
 .BR .rela.text .
 This section is of type
 .BR SHT_RELA .
 .TP
-.IR .rodata
+.I .rodata
 This section holds read-only data that typically contributes to a
 nonwritable segment in the process image.
 This section is of type
@@ -1379,7 +1379,7 @@ This section is of type
 The attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .rodata1
+.I .rodata1
 This section holds read-only data that typically contributes to a
 nonwritable segment in the process image.
 This section is of type
@@ -1387,43 +1387,43 @@ This section is of type
 The attribute used is
 .BR SHF_ALLOC .
 .TP
-.IR .shstrtab
+.I .shstrtab
 This section holds section names.
 This section is of type
 .BR SHT_STRTAB .
 No attribute types are used.
 .TP
-.IR .strtab
+.I .strtab
 This section holds strings, most commonly the strings that represent the
 names associated with symbol table entries.
 If the file has a loadable
 segment that includes the symbol string table, the section's attributes
 will include the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Otherwise, the bit will be off.
 This section is of type
 .BR SHT_STRTAB .
 .TP
-.IR .symtab
+.I .symtab
 This section holds a symbol table.
 If the file has a loadable segment
 that includes the symbol table, the section's attributes will include
 the
-.BR SHF_ALLOC
+.B SHF_ALLOC
 bit.
 Otherwise, the bit will be off.
 This section is of type
 .BR SHT_SYMTAB .
 .TP
-.IR .text
+.I .text
 This section holds the
 "text",
 or executable instructions, of a program.
 This section is of type
 .BR SHT_PROGBITS .
 The attributes used are
-.BR SHF_ALLOC
+.B SHF_ALLOC
 and
 .BR SHF_EXECINSTR .
 .\"
@@ -1473,7 +1473,7 @@ typedef struct {
 The 32-bit and 64-bit versions have the same members, just in a different
 order.
 .TP \n[l1_indent]
-.IR st_name
+.I st_name
 This member holds an index into the object file's symbol string table,
 which holds character representations of the symbol names.
 If the value
@@ -1481,43 +1481,43 @@ is nonzero, it represents a string table index that gives the symbol
 name.
 Otherwise, the symbol has no name.
 .TP
-.IR st_value
+.I st_value
 This member gives the value of the associated symbol.
 .TP
-.IR st_size
+.I st_size
 Many symbols have associated sizes.
 This member holds zero if the symbol
 has no size or an unknown size.
 .TP
-.IR st_info
+.I st_info
 This member specifies the symbol's type and binding attributes:
 .RS \n[l1_indent]
 .TP 12
-.BR STT_NOTYPE
+.B STT_NOTYPE
 The symbol's type is not defined.
 .TP
-.BR STT_OBJECT
+.B STT_OBJECT
 The symbol is associated with a data object.
 .TP
-.BR STT_FUNC
+.B STT_FUNC
 The symbol is associated with a function or other executable code.
 .TP
-.BR STT_SECTION
+.B STT_SECTION
 The symbol is associated with a section.
 Symbol table entries of
 this type exist primarily for relocation and normally have
-.BR STB_LOCAL
+.B STB_LOCAL
 bindings.
 .TP
-.BR STT_FILE
+.B STT_FILE
 By convention, the symbol's name gives the name of the source file
 associated with the object file.
 A file symbol has
-.BR STB_LOCAL
+.B STB_LOCAL
 bindings, its section index is
 .BR SHN_ABS ,
 and it precedes the other
-.BR STB_LOCAL
+.B STB_LOCAL
 symbols of the file, if it is present.
 .TP
 .BR STT_LOPROC ", " STT_HIPROC
@@ -1525,19 +1525,19 @@ Values in the inclusive range
 .RB [ STT_LOPROC ", " STT_HIPROC ]
 are reserved for processor-specific semantics.
 .TP
-.BR STB_LOCAL
+.B STB_LOCAL
 Local symbols are not visible outside the object file containing their
 definition.
 Local symbols of the same name may exist in multiple files
 without interfering with each other.
 .TP
-.BR STB_GLOBAL
+.B STB_GLOBAL
 Global symbols are visible to all object files being combined.
 One file's
 definition of a global symbol will satisfy another file's undefined
 reference to the same symbol.
 .TP
-.BR STB_WEAK
+.B STB_WEAK
 Weak symbols resemble global symbols, but their definitions have lower
 precedence.
 .TP
@@ -1567,26 +1567,26 @@ Convert a binding and a type into an
 value.
 .RE
 .TP
-.IR st_other
+.I st_other
 This member defines the symbol visibility.
 .RS \n[l1_indent]
 .TP 16
 .PD 0
-.BR STV_DEFAULT
+.B STV_DEFAULT
 Default symbol visibility rules.
 Global and weak symbols are available to other modules;
 references in the local module can be interposed
 by definitions in other modules.
 .TP
-.BR STV_INTERNAL
+.B STV_INTERNAL
 Processor-specific hidden class.
 .TP
-.BR STV_HIDDEN
+.B STV_HIDDEN
 Symbol is unavailable to other modules;
 references in the local module always resolve to the local symbol
 (i.e., the symbol can't be interposed by definitions in other modules).
 .TP
-.BR STV_PROTECTED
+.B STV_PROTECTED
 Symbol is available to other modules,
 but references in the local module always resolve to the local symbol.
 .PD
@@ -1598,7 +1598,7 @@ or
 .BR ELF64_ST_VISIBILITY (other)
 .RE
 .TP
-.IR st_shndx
+.I st_shndx
 Every symbol table entry is
 "defined"
 in relation to some section.
@@ -1656,7 +1656,7 @@ typedef struct {
 .EE
 .in
 .TP \n[l1_indent]
-.IR r_offset
+.I r_offset
 This member gives the location at which to apply the relocation action.
 For a relocatable file, the value is the byte offset from the beginning
 of the section to the storage unit affected by the relocation.
@@ -1664,7 +1664,7 @@ For an
 executable file or shared object, the value is the virtual address of
 the storage unit affected by the relocation.
 .TP
-.IR r_info
+.I r_info
 This member gives both the symbol table index with respect to which the
 relocation must be made and the type of relocation to apply.
 Relocation
@@ -1672,14 +1672,14 @@ types are processor-specific.
 When the text refers to a relocation
 entry's relocation type or symbol table index, it means the result of
 applying
-.BR ELF[32|64]_R_TYPE
+.B ELF[32|64]_R_TYPE
 or
 .BR ELF[32|64]_R_SYM ,
 respectively, to the entry's
-.IR r_info
+.I r_info
 member.
 .TP
-.IR r_addend
+.I r_addend
 This member specifies a constant addend used to compute the value to be
 stored into the relocatable field.
 .\"
@@ -1720,88 +1720,88 @@ extern Elf64_Dyn _DYNAMIC[];
 .EE
 .in
 .TP \n[l1_indent]
-.IR d_tag
+.I d_tag
 This member may have any of the following values:
 .RS \n[l1_indent]
 .TP 12
-.BR DT_NULL
+.B DT_NULL
 Marks end of dynamic section
 .TP
-.BR DT_NEEDED
+.B DT_NEEDED
 String table offset to name of a needed library
 .TP
-.BR DT_PLTRELSZ
+.B DT_PLTRELSZ
 Size in bytes of PLT relocation entries
 .TP
-.BR DT_PLTGOT
+.B DT_PLTGOT
 Address of PLT and/or GOT
 .TP
-.BR DT_HASH
+.B DT_HASH
 Address of symbol hash table
 .TP
-.BR DT_STRTAB
+.B DT_STRTAB
 Address of string table
 .TP
-.BR DT_SYMTAB
+.B DT_SYMTAB
 Address of symbol table
 .TP
-.BR DT_RELA
+.B DT_RELA
 Address of Rela relocation table
 .TP
-.BR DT_RELASZ
+.B DT_RELASZ
 Size in bytes of the Rela relocation table
 .TP
-.BR DT_RELAENT
+.B DT_RELAENT
 Size in bytes of a Rela relocation table entry
 .TP
-.BR DT_STRSZ
+.B DT_STRSZ
 Size in bytes of string table
 .TP
-.BR DT_SYMENT
+.B DT_SYMENT
 Size in bytes of a symbol table entry
 .TP
-.BR DT_INIT
+.B DT_INIT
 Address of the initialization function
 .TP
-.BR DT_FINI
+.B DT_FINI
 Address of the termination function
 .TP
-.BR DT_SONAME
+.B DT_SONAME
 String table offset to name of shared object
 .TP
-.BR DT_RPATH
+.B DT_RPATH
 String table offset to library search path (deprecated)
 .TP
-.BR DT_SYMBOLIC
+.B DT_SYMBOLIC
 Alert linker to search this shared object before the executable for symbols
 .TP
-.BR DT_REL
+.B DT_REL
 Address of Rel relocation table
 .TP
-.BR DT_RELSZ
+.B DT_RELSZ
 Size in bytes of Rel relocation table
 .TP
-.BR DT_RELENT
+.B DT_RELENT
 Size in bytes of a Rel table entry
 .TP
-.BR DT_PLTREL
+.B DT_PLTREL
 Type of relocation entry to which the PLT refers (Rela or Rel)
 .TP
-.BR DT_DEBUG
+.B DT_DEBUG
 Undefined use for debugging
 .TP
-.BR DT_TEXTREL
+.B DT_TEXTREL
 Absence of this entry indicates that no relocation entries should
 apply to a nonwritable segment
 .TP
-.BR DT_JMPREL
+.B DT_JMPREL
 Address of relocation entries associated solely with the PLT
 .TP
-.BR DT_BIND_NOW
+.B DT_BIND_NOW
 Instruct dynamic linker to process all relocations before
 transferring control to the executable
 .TP
-.BR DT_RUNPATH
+.B DT_RUNPATH
 String table offset to library search path
 .TP
 .BR DT_LOPROC ", " DT_HIPROC
@@ -1810,10 +1810,10 @@ Values in the inclusive range
 are reserved for processor-specific semantics
 .RE
 .TP
-.IR d_val
+.I d_val
 This member represents integer values with various interpretations.
 .TP
-.IR d_ptr
+.I d_ptr
 This member represents program virtual addresses.
 When interpreting
 these addresses, the actual address should be computed based on the
@@ -1920,7 +1920,7 @@ typedef struct {
 .EE
 .in
 .TP \n[l1_indent]
-.IR n_namesz
+.I n_namesz
 The length of the name field in bytes.
 The contents will immediately follow this note in memory.
 The name is null terminated.
@@ -1928,11 +1928,11 @@ For example, if the name is "GNU", then
 .I n_namesz
 will be set to 4.
 .TP
-.IR n_descsz
+.I n_descsz
 The length of the descriptor field in bytes.
 The contents will immediately follow the name field in memory.
 .TP
-.IR n_type
+.I n_type
 Depending on the value of the name field, this member may have any of the
 following values:
 .RS \n[l1_indent]
@@ -2108,7 +2108,7 @@ The byte gives the bit number to test if enabled, (1U << bit) & bit mask.
 .B NT_GNU_BUILD_ID
 Unique build ID as generated by the GNU
 .BR ld (1)
-.BR \-\-build\-id
+.B \-\-build\-id
 option.
 The desc consists of any nonzero number of bytes.
 .TP
@@ -2144,9 +2144,9 @@ The ELF format is an adopted standard.
 .PP
 The extensions for
 .IR e_phnum ,
-.IR e_shnum
+.I e_shnum
 and
-.IR e_strndx
+.I e_strndx
 respectively are
 Linux extensions.
 Sun, BSD and AMD64 also support them; for further information,
-- 
2.20.1



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux