Home
last modified time | relevance | path

Searched refs:dl_data (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/libexec/ld.so/i386/
H A Dldasm.S41 subl $DL_DATA_SIZE,%esp # allocate dl_data
45 movl %ebx,%edi # save dl_data arg for dl_boot
46 pushl %ebx # push dl_data for dl_boot_bind
52 call _dl_boot_bind@PLT # _dl_boot_bind(sp,dl_data)
54 pushl %edi # push saved dl_data
57 pushl %eax # push loff from dl_data
69 call _dl_boot@PLT # _dl_boot(argv,envp,loff,dl_data)
73 addl $DL_DATA_SIZE,%esp # return dl_data
/openbsd-src/libexec/ld.so/amd64/
H A Dldasm.S47 subq $DL_DATA_SIZE, %rsp # allocate dl_data
50 movq %rsp, %rsi # dl_data for dl_boot_bind
52 call _dl_boot_bind@PLT # _dl_boot_bind(sp,dl_data,dynamicp)
54 movq %rsp, %rcx # dl_data
55 movq DL_LOFF_OFFSET(%rsp), %rdx # loff from dl_data
61 call _dl_boot@PLT # _dl_boot(argv,envp,loff,dl_data)
63 addq $DL_DATA_SIZE,%rsp # return dl_data
/openbsd-src/lib/csu/
H A Dboot.h79 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
108 dl_data[n] = 0; in _dl_boot_bind()
118 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
120 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
153 phdp = (Elf_Phdr *)dl_data[AUX_phdr]; in _dl_boot_bind()
154 for (i = 0; i < dl_data[AUX_phnum]; i++, phdp++) { in _dl_boot_bind()
/openbsd-src/lib/csu/mips64/
H A Dboot_md.h89 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
117 dl_data[n] = 0; in _dl_boot_bind()
127 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
129 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
174 phdp = (Elf_Phdr *)dl_data[AUX_phdr]; in _dl_boot_bind()
175 for (i = 0; i < dl_data[AUX_phnum]; i++, phdp++) { in _dl_boot_bind()
/openbsd-src/lib/csu/hppa/
H A Dboot_md.h72 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
105 dl_data[n] = 0; in _dl_boot_bind()
115 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
117 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
168 phdp = (Elf_Phdr *)dl_data[AUX_phdr]; in _dl_boot_bind()
169 for (i = 0; i < dl_data[AUX_phnum]; i++, phdp++) { in _dl_boot_bind()
/openbsd-src/libexec/ld.so/
H A Dboot.c60 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
87 dl_data[n] = 0; in _dl_boot_bind()
97 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
99 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
H A Dloader.c512 _dl_boot(const char **argv, char **envp, const long dyn_loff, long *dl_data) in _dl_boot() argument
531 if (dl_data[AUX_pagesz] != 0) in _dl_boot()
532 _dl_pagesz = dl_data[AUX_pagesz]; in _dl_boot()
570 phdp = (Elf_Phdr *)dl_data[AUX_phdr]; in _dl_boot()
571 for (loop = 0; loop < dl_data[AUX_phnum]; loop++) { in _dl_boot()
574 exe_loff = (Elf_Addr)dl_data[AUX_phdr] - phdp->p_vaddr; in _dl_boot()
583 (Elf_Phdr *)dl_data[AUX_phdr], in _dl_boot()
584 dl_data[AUX_phnum], OBJTYPE_EXE, minva + exe_loff, in _dl_boot()
658 ehdr = (Elf_Ehdr *)dl_data[AUX_base]; in _dl_boot()
660 (Elf_Phdr *)((char *)dl_data[AUX_base] + ehdr->e_phoff), in _dl_boot()
[all …]
/openbsd-src/libexec/ld.so/arm/
H A Dldasm.S42 add r7, sp, #4 @ dl_data
45 mov r1, r7 @ dl_data
59 ldr r2, [r7, #7*4] @ loff from dl_data
60 mov r3, r7 @ dl_data
/openbsd-src/libexec/ld.so/mips64/
H A Dboot_md.c54 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
85 dl_data[n] = 0; in _dl_boot_bind()
95 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
97 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
/openbsd-src/libexec/ld.so/hppa/
H A Dboot_md.c52 _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynp) in _dl_boot_bind() argument
83 dl_data[n] = 0; in _dl_boot_bind()
93 dl_data[auxstack->au_id] = auxstack->au_v; in _dl_boot_bind()
95 loff = dl_data[AUX_base]; /* XXX assumes ld.so is linked at 0x0 */ in _dl_boot_bind()
/openbsd-src/libexec/ld.so/sparc64/
H A Dldasm.S95 sub %sp, 48 + DL_DATA_SIZE, %sp ! make room for dl_data
114 call _dl_boot_bind ! _dl_boot_bind(sp,dl_data,dynamicp)
125 ldx [%l2], %o2 ! loff = dl_data[AUX_base];
127 call _dl_boot ! _dl_boot(argv,envp,loff,dl_data)
/openbsd-src/libexec/ld.so/powerpc/
H A Dldasm.S66 addi 4, 1, 8 # dl_data
74 addi 6, 1, 8 # dl_data
/openbsd-src/libexec/ld.so/powerpc64/
H A Dldasm.S63 addi %r4, %r1, 32 # dl_data
71 addi %r6, %r1, 32 # dl_data