1ld_support(3ext)          Extended Library Functions          ld_support(3ext)
2
3
4

NAME

6       ld_support,  ld_atexit, ld_atexit64, ld_file, ld_file64, ld_input_done,
7       ld_input_section, ld_input_section64, ld_open,  ld_open64,  ld_section,
8       ld_section64,  ld_start,  ld_start64,  ld_version - link-editor support
9       functions
10

SYNOPSIS

12       void ld_atexit(int status);
13
14
15       void ld_atexit64(int status);
16
17
18       void ld_file(const char *name, const Elf_Kind kind, int flags,
19            Elf *elf);
20
21
22       void ld_file64(const char *name, const Elf_Kind kind, int flags,
23            Elf *elf);
24
25
26       void ld_input_done(uint_t *flags);
27
28
29       void ld_input_section(const char *name, Elf32_Shdr **shdr,
30            Elf32_Word sndx, Elf_Data *data, Elf *elf, uint_t *flags);
31
32
33       void ld_input_section64(const char *name, Elf64_Shdr **shdr,
34            Elf64_Word sndx, Elf_Data *data, Elf *elf, uint_t *flags);
35
36
37       void ld_open(const char **pname, const char **fname, int *fd,
38            int flags, Elf **elf, Elf *ref, size_t off, Elf_kind kind);
39
40
41       void ld_open64(const char **pname, const char **fname, int *fd,
42            int flags, Elf **elf, Elf *ref, size_t off, Elf_kind kind);
43
44
45       void ld_section(const char *name, Elf32_Shdr shdr, Elf32_Word sndx,
46            Elf_Data *data, Elf *elf);
47
48
49       void ld_section64(const char *name, Elf64_Shdr shdr, Elf64_Word sndx,
50            Elf_Data *data, Elf *elf);
51
52
53       void ld_start(const char *name, const Elf32_Half type,
54            const char *caller);
55
56
57       void ld_start64(const char *name, const Elf64_Half type,
58            const char *caller);
59
60
61       void ld_version(uint_t version);
62
63

DESCRIPTION

65       A link-editor support library is a user-created shared object  offering
66       one  or  more  of  these interfaces. These interfaces are called by the
67       link-editor ld(1) at various stages of the  link-editing  process.  See
68       the  Linker and Libraries Guide for a full description of the link-edi‐
69       tor support mechanism.
70

SEE ALSO

72       ld(1)
73
74
75       Linker and Libraries Guide
76
77
78
79SunOS 5.11                        3 Nov 2006                  ld_support(3ext)
Impressum