aboutsummaryrefslogtreecommitdiffstats
path: root/man5
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-08-18 21:37:55 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-08-19 13:47:26 +0200
commite646a1bad9fc82df38d58dddcf09ce537a80f041 (patch)
treeb64181694bc12dbc18764bd44dd1f98c5305d7cd /man5
parentb76974c1ec51463d46033bd653a806ddca8c6eb1 (diff)
downloadman-pages-e646a1bad9fc82df38d58dddcf09ce537a80f041.tar.gz
ioctl_console.2, ioctl_getfsmap.2, ioctl_iflags.2, ioctl_list.2, ioctl_ns.2, kcmp.2, kexec_load.2, keyctl.2, link.2, mmap.2, modify_ldt.2, msgctl.2, poll.2, query_module.2, quotactl.2, recv.2, recvmmsg.2, sched_setscheduler.2, seccomp.2, select.2, semctl.2, semop.2, send.2, set_thread_area.2, setns.2, shmctl.2, shmget.2, sigaction.2, sysinfo.2, timer_create.2, timerfd_create.2, uname.2, unshare.2, userfaultfd.2, ustat.2, utimensat.2, vmsplice.2, wait.2, adjtime.3, backtrace.3, bswap.3, btree.3, clock_getcpuclockid.3, confstr.3, dbopen.3, dl_iterate_phdr.3, dlinfo.3, duplocale.3, encrypt.3, end.3, endian.3, err.3, errno.3, fmemopen.3, fopencookie.3, frexp.3, fts.3, ftw.3, getaddrinfo.3, getaddrinfo_a.3, getcontext.3, getgrouplist.3, getifaddrs.3, getipnodebyname.3, getnameinfo.3, getopt.3, getprotoent_r.3, getpwent_r.3, getrpcent.3, getservent_r.3, getttyent.3, getumask.3, glob.3, gnu_get_libc_version.3, hash.3, hsearch.3, inet.3, inet_pton.3, insque.3, isalpha.3, makecontext.3, mallopt.3, mbstowcs.3, mcheck.3, memchr.3, mq_getattr.3, mq_open.3, mtrace.3, newlocale.3, ntp_gettime.3, offsetof.3, posix_openpt.3, printf.3, pthread_setname_np.3, pthread_setschedparam.3, rpc.3, scanf.3, sched_getcpu.3, sem_wait.3, setaliasent.3, sigqueue.3, sigvec.3, stdarg.3, strcat.3, strcpy.3, strftime.3, strtol.3, toupper.3, ttyslot.3, fuse.4, loop.4, st.4, elf.5, cgroup_namespaces.7, cgroups.7, feature_test_macros.7, inode.7, inotify.7, keyrings.7, man-pages.7, math_error.7, mount_namespaces.7, mq_overview.7, pthreads.7, sched.7, session-keyring.7, udplite.7, unix.7, vdso.7: Use consistent markup for code snippets
The preferred form is .PP/.IP .in +4n .EX <code> .EE .in .PP/.IP Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
-rw-r--r--man5/elf.564
1 files changed, 32 insertions, 32 deletions
diff --git a/man5/elf.5 b/man5/elf.5
index 12682cbd8d..d72024e9a4 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -96,9 +96,9 @@ stands for
.I uint32_t
or
.IR uint64_t ):
+.PP
.in +4n
-.nf
-
+.EX
ElfN_Addr Unsigned program address, uintN_t
ElfN_Off Unsigned file offset, uintN_t
ElfN_Section Unsigned section index, uint16_t
@@ -138,9 +138,9 @@ The ELF header is described by the type
.I Elf32_Ehdr
or
.IR Elf64_Ehdr :
+.PP
.in +4n
-.nf
-
+.EX
#define EI_NIDENT 16
typedef struct {
@@ -634,9 +634,9 @@ The ELF program header is described by the type
or
.I Elf64_Phdr
depending on the architecture:
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t p_type;
Elf32_Off p_offset;
@@ -649,9 +649,9 @@ typedef struct {
} Elf32_Phdr;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t p_type;
uint32_t p_flags;
@@ -878,9 +878,9 @@ The section header table does not contain entries for the
reserved indices.
.PP
The section header has the following structure:
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t sh_name;
uint32_t sh_type;
@@ -895,9 +895,9 @@ typedef struct {
} Elf32_Shdr;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t sh_name;
uint32_t sh_type;
@@ -1443,9 +1443,9 @@ An object file's symbol table holds information needed to locate and
relocate a program's symbolic definitions and references.
A symbol table
index is a subscript into this array.
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t st_name;
Elf32_Addr st_value;
@@ -1456,9 +1456,9 @@ typedef struct {
} Elf32_Sym;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
uint32_t st_name;
unsigned char st_info;
@@ -1615,18 +1615,18 @@ program image.
Relocation entries are these data.
.PP
Relocation structures that do not need an addend:
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf32_Addr r_offset;
uint32_t r_info;
} Elf32_Rel;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf64_Addr r_offset;
uint64_t r_info;
@@ -1635,9 +1635,9 @@ typedef struct {
.in
.PP
Relocation structures that need an addend:
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf32_Addr r_offset;
uint32_t r_info;
@@ -1645,9 +1645,9 @@ typedef struct {
} Elf32_Rela;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf64_Addr r_offset;
uint64_t r_info;
@@ -1693,9 +1693,9 @@ The
member controls the interpretation
of
.IR d_un .
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf32_Sword d_tag;
union {
@@ -1706,9 +1706,9 @@ typedef struct {
extern Elf32_Dyn _DYNAMIC[];
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf64_Sxword d_tag;
union {
@@ -1899,9 +1899,9 @@ field is not set (e.g., is 0), then there are two sets of notes:
one for core files and one for all other ELF types.
If the namespace is unknown, then tools will usually fallback to these sets
of notes as well.
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf32_Word n_namesz;
Elf32_Word n_descsz;
@@ -1909,9 +1909,9 @@ typedef struct {
} Elf32_Nhdr;
.fi
.in
+.PP
.in +4n
-.nf
-
+.EX
typedef struct {
Elf64_Word n_namesz;
Elf64_Word n_descsz;