Lines Matching +full:segment +full:-

50 .Bl -tag -width "text relocations"
58 .It text segment
61 May be loaded read-only.
62 .It data segment
66 to update pointers in the text segment when combining binary files.
68 Like the text relocation section, but for data segment pointers.
81 .Bd -literal -offset indent
95 .Bl -tag -width a_trsize
97 This field is stored in host byte-order.
98 It has a number of sub-components accessed by the macros
109 .Bl -tag -width EX_DYNAMIC
111 indicates that the executable requires the services of the run-time link editor.
118 .Sq -k
126 process address space by the run-time link editor.
130 returns the machine-id.
137 .Bl -tag -width ZMAGIC
146 However, the kernel loads the text into read-only memory
151 The header, text segment and data segment are all
153 Pages that the kernel loads from the text segment are read-only,
154 while pages from the data segment are writable.
157 Contains the size of the text segment in bytes.
159 Contains the size of the data segment in bytes.
162 .Sq bss segment
165 after the data segment.
167 appears to follow the data segment and initially reads as zeroes.
188 .Bl -tag -width N_BADMAG(exec)
194 The byte offset in the binary file of the beginning of the text segment.
205 .Bd -literal -offset indent
222 .Bl -tag -width r_symbolnum
224 Contains the byte offset of a pointer that needs to be link-edited.
225 Text relocation offsets are reckoned from the start of the text segment,
226 and data relocation offsets from the start of the data segment.
242 that is part of a machine code instruction using pc-relative addressing.
247 0 for 1-byte displacements, 1 for 2-byte displacements,
248 2 for 4-byte displacements.
267 what segment the relocated pointer points into.
272 At run-time, the entry in the Global Offset Table at this offset is set to
279 If set, this relocation is relative to the (run-time) load address of the
287 The copying is done by the run-time link-editor from a suitable data
292 Since the link-editor adjusts addresses,
295 Symbols consist of a fixed-length record in the symbol table
296 and a variable-length name in the string table.
300 .Bd -literal -offset indent
314 .Bl -tag -width n_un.n_strx
329 field is broken down into three sub-fields using bitmasks.
338 .Bl -tag -width N_TEXT
345 field is nonzero and no binary file in the link-edit defines this symbol,
346 the link-editor will resolve this symbol to an address
347 in the bss segment,
378 Filename symbols are not needed for link-editing or loading,
407 either the text or the data segment.
423 length followed by null-terminated symbol strings.
426 is always 4 on 32-bit machines.
453 header is machine-dependent.