Lines Matching +full:link +full:- +full:name
15 .\" 3. Neither the name of the University nor the names of its contributors
34 .Sh NAME
50 .Bl -tag -width "text relocations"
54 and by the link editor
61 May be loaded read-only.
65 Contains records used by the link editor
70 Contains records used by the link editor
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
152 padded by the link editor to a multiple of the page size.
153 Pages that the kernel loads from the text segment are read-only,
188 .Bl -tag -width N_BADMAG(exec)
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.
227 The link editor adds the value that is already stored at this offset
234 After the link editor resolves the absolute address for this symbol,
241 the link editor assumes that it is updating a pointer
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.
251 the link editor must use a symbol address to update the pointer.
256 the link editor updates the pointer to reflect
266 this type field tells the link editor
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,
293 a symbol's name must be used to stand for its address
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
317 for the name of this symbol.
325 Used by the link editor to determine
329 field is broken down into three sub-fields using bitmasks.
330 The link editor treats symbols with the
337 mask selects bits of interest to the link editor:
338 .Bl -tag -width N_TEXT
341 The link editor must locate an external symbol with the same name
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
352 the link editor chooses the greatest size found across all binaries.
355 The link editor does not update an absolute symbol.
359 the link editor will update it when it merges binary files.
373 The link editor inserts this symbol before
376 The name of the symbol is the filename given to the link editor,
378 Filename symbols are not needed for link-editing or loading,
412 Reserved for use by debuggers; passed untouched by the link editor.
423 length followed by null-terminated symbol strings.
426 is always 4 on 32-bit machines.
436 .Xr link 5 ,
453 header is machine-dependent.