/openbmc/qemu/bsd-user/freebsd/ |
H A D | target_os_elf.h | 98 #define NEW_AUX_ENT(id, val) do { \ in target_create_elf_tables() macro 104 NEW_AUX_ENT(AT_NULL, 0); in target_create_elf_tables() 107 NEW_AUX_ENT(AT_PHDR, (abi_ulong)(load_addr + exec->e_phoff)); in target_create_elf_tables() 108 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables() 109 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables() 110 NEW_AUX_ENT(AT_PAGESZ, (abi_ulong)(TARGET_PAGE_SIZE)); in target_create_elf_tables() 111 NEW_AUX_ENT(AT_BASE, (abi_ulong)(interp_load_addr)); in target_create_elf_tables() 112 NEW_AUX_ENT(AT_FLAGS, (abi_ulong)0); in target_create_elf_tables() 113 NEW_AUX_ENT(FREEBSD_AT_NCPUS, (abi_ulong)bsd_get_ncpu()); in target_create_elf_tables() 114 NEW_AUX_ENT(AT_ENTRY, load_bias + exec->e_entry); in target_create_elf_tables() [all …]
|
/openbmc/qemu/bsd-user/openbsd/ |
H A D | target_os_elf.h | 111 #define NEW_AUX_ENT(id, val) do { \ in target_create_elf_tables() macro 116 NEW_AUX_ENT(AT_NULL, 0); in target_create_elf_tables() 119 NEW_AUX_ENT(AT_PHDR, (abi_ulong)(load_addr + exec->e_phoff)); in target_create_elf_tables() 120 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables() 121 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables() 122 NEW_AUX_ENT(AT_PAGESZ, (abi_ulong)(TARGET_PAGE_SIZE)); in target_create_elf_tables() 123 NEW_AUX_ENT(AT_BASE, (abi_ulong)(interp_load_addr)); in target_create_elf_tables() 124 NEW_AUX_ENT(AT_FLAGS, (abi_ulong)0); in target_create_elf_tables() 125 NEW_AUX_ENT(AT_ENTRY, load_bias + exec->e_entry); in target_create_elf_tables() 126 NEW_AUX_ENT(AT_UID, (abi_ulong)getuid()); in target_create_elf_tables() [all …]
|
/openbmc/qemu/bsd-user/netbsd/ |
H A D | target_os_elf.h | 111 #define NEW_AUX_ENT(id, val) do { \ in target_create_elf_tables() macro 116 NEW_AUX_ENT(AT_NULL, 0); in target_create_elf_tables() 119 NEW_AUX_ENT(AT_PHDR, (abi_ulong)(load_addr + exec->e_phoff)); in target_create_elf_tables() 120 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables() 121 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables() 122 NEW_AUX_ENT(AT_PAGESZ, (abi_ulong)(TARGET_PAGE_SIZE)); in target_create_elf_tables() 123 NEW_AUX_ENT(AT_BASE, (abi_ulong)(interp_load_addr)); in target_create_elf_tables() 124 NEW_AUX_ENT(AT_FLAGS, (abi_ulong)0); in target_create_elf_tables() 125 NEW_AUX_ENT(AT_ENTRY, load_bias + exec->e_entry); in target_create_elf_tables() 126 NEW_AUX_ENT(AT_UID, (abi_ulong)getuid()); in target_create_elf_tables() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | elf.h | 119 #define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b) 140 NEW_AUX_ENT(AT_L1I_CACHESIZE, ppc64_caches.l1i.size); \ 141 NEW_AUX_ENT(AT_L1I_CACHEGEOMETRY, get_cache_geometry(l1i)); \ 142 NEW_AUX_ENT(AT_L1D_CACHESIZE, ppc64_caches.l1d.size); \ 143 NEW_AUX_ENT(AT_L1D_CACHEGEOMETRY, get_cache_geometry(l1d)); \ 144 NEW_AUX_ENT(AT_L2_CACHESIZE, ppc64_caches.l2.size); \ 145 NEW_AUX_ENT(AT_L2_CACHEGEOMETRY, get_cache_geometry(l2)); \ 146 NEW_AUX_ENT(AT_L3_CACHESIZE, ppc64_caches.l3.size); \ 147 NEW_AUX_ENT(AT_L3_CACHEGEOMETRY, get_cache_geometry(l3)) 166 NEW_AUX_ENT(AT_IGNOREPPC, AT_IGNOREPPC); \ [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | elf.h | 97 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 99 NEW_AUX_ENT(AT_L1I_CACHESIZE, \ 101 NEW_AUX_ENT(AT_L1I_CACHEGEOMETRY, \ 103 NEW_AUX_ENT(AT_L1D_CACHESIZE, \ 105 NEW_AUX_ENT(AT_L1D_CACHEGEOMETRY, \ 107 NEW_AUX_ENT(AT_L2_CACHESIZE, \ 109 NEW_AUX_ENT(AT_L2_CACHEGEOMETRY, \ 111 NEW_AUX_ENT(AT_L3_CACHESIZE, \ 113 NEW_AUX_ENT(AT_L3_CACHEGEOMETRY, \ 121 NEW_AUX_ENT(AT_MINSIGSTKSZ, signal_minsigstksz); \ [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | elf.h | 181 NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_BASE); \ 183 NEW_AUX_ENT(AT_IGNORE, 0) 185 #define VSYSCALL_AUX_ENT NEW_AUX_ENT(AT_IGNORE, 0) 189 #define FPU_AUX_ENT NEW_AUX_ENT(AT_FPUCW, FPSCR_INIT) 191 #define FPU_AUX_ENT NEW_AUX_ENT(AT_IGNORE, 0) 206 NEW_AUX_ENT(AT_L1I_CACHESHAPE, l1i_cache_shape); \ 207 NEW_AUX_ENT(AT_L1D_CACHESHAPE, l1d_cache_shape); \ 208 NEW_AUX_ENT(AT_L2_CACHESHAPE, l2_cache_shape); \
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | elf.h | 154 NEW_AUX_ENT(AT_L1I_CACHESHAPE, alpha_l1i_cacheshape); \ 155 NEW_AUX_ENT(AT_L1D_CACHESHAPE, alpha_l1d_cacheshape); \ 156 NEW_AUX_ENT(AT_L2_CACHESHAPE, alpha_l2_cacheshape); \ 157 NEW_AUX_ENT(AT_L3_CACHESHAPE, alpha_l3_cacheshape); \
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | elf.h | 296 NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ 297 NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_CURRENT_BASE); \ 299 NEW_AUX_ENT(AT_MINSIGSTKSZ, get_sigframe_size()); \ 336 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 338 NEW_AUX_ENT(AT_MINSIGSTKSZ, get_sigframe_size()); \ 345 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 347 NEW_AUX_ENT(AT_MINSIGSTKSZ, get_sigframe_size()); \
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | elf_64.h | 220 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 222 NEW_AUX_ENT(AT_ADI_BLKSZ, adi_state.caps.blksz); \ 223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \ 224 NEW_AUX_ENT(AT_ADI_UEONADI, adi_state.caps.ue_on_adi); \
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | elf.h | 170 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 179 NEW_AUX_ENT(AT_MINSIGSTKSZ, signal_minsigstksz); \ 181 NEW_AUX_ENT(AT_IGNORE, 0); \ 237 NEW_AUX_ENT(AT_SYSINFO_EHDR, \
|
/openbmc/linux/fs/ |
H A D | binfmt_elf_fdpic.c | 605 #define NEW_AUX_ENT(id, val) \ in create_elf_fdpic_tables() macro 619 NEW_AUX_ENT(AT_NULL, 0); in create_elf_fdpic_tables() 623 NEW_AUX_ENT(AT_PLATFORM, in create_elf_fdpic_tables() 630 NEW_AUX_ENT(AT_BASE_PLATFORM, in create_elf_fdpic_tables() 637 NEW_AUX_ENT(AT_EXECFD, bprm->execfd); in create_elf_fdpic_tables() 642 NEW_AUX_ENT(AT_HWCAP, ELF_HWCAP); in create_elf_fdpic_tables() 644 NEW_AUX_ENT(AT_HWCAP2, ELF_HWCAP2); in create_elf_fdpic_tables() 646 NEW_AUX_ENT(AT_PAGESZ, PAGE_SIZE); in create_elf_fdpic_tables() 647 NEW_AUX_ENT(AT_CLKTCK, CLOCKS_PER_SEC); in create_elf_fdpic_tables() 648 NEW_AUX_ENT(AT_PHDR, exec_params->ph_addr); in create_elf_fdpic_tables() [all …]
|
H A D | binfmt_elf.c | 245 #define NEW_AUX_ENT(id, val) \ in create_elf_tables() macro 260 NEW_AUX_ENT(AT_HWCAP, ELF_HWCAP); in create_elf_tables() 261 NEW_AUX_ENT(AT_PAGESZ, ELF_EXEC_PAGESIZE); in create_elf_tables() 262 NEW_AUX_ENT(AT_CLKTCK, CLOCKS_PER_SEC); in create_elf_tables() 263 NEW_AUX_ENT(AT_PHDR, phdr_addr); in create_elf_tables() 264 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_tables() 265 NEW_AUX_ENT(AT_PHNUM, exec->e_phnum); in create_elf_tables() 266 NEW_AUX_ENT(AT_BASE, interp_load_addr); in create_elf_tables() 269 NEW_AUX_ENT(AT_FLAGS, flags); in create_elf_tables() 270 NEW_AUX_ENT(AT_ENTRY, e_entry); in create_elf_tables() [all …]
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | elf.h | 94 NEW_AUX_ENT(AT_SYSINFO, __kernel_vsyscall); \ 95 NEW_AUX_ENT(AT_SYSINFO_EHDR, vsyscall_ehdr); \ 191 #define ARCH_DLINFO NEW_AUX_ENT(AT_SYSINFO_EHDR, um_vdso_addr)
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | elf.h | 214 NEW_AUX_ENT(AT_SYSINFO, (unsigned long) __kernel_syscall_via_epc); \ 215 NEW_AUX_ENT(AT_SYSINFO_EHDR, (unsigned long) GATE_EHDR); \
|
/openbmc/qemu/linux-user/ |
H A D | elfload.c | 325 NEW_AUX_ENT(AT_SYSINFO, vdso_info->entry); \ 1194 NEW_AUX_ENT(AT_IGNOREPPC, AT_IGNOREPPC); \ 1195 NEW_AUX_ENT(AT_IGNOREPPC, AT_IGNOREPPC); \ 1196 NEW_AUX_ENT(AT_DCACHEBSIZE, cpu->env.dcache_line_size); \ 1197 NEW_AUX_ENT(AT_ICACHEBSIZE, cpu->env.icache_line_size); \ 1198 NEW_AUX_ENT(AT_UCACHEBSIZE, 0); \ 2604 #define NEW_AUX_ENT(id, val) do { \ in create_elf_tables() macro 2619 NEW_AUX_ENT(AT_PHDR, (abi_ulong)(info->load_addr + exec->e_phoff)); in create_elf_tables() 2620 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof (struct elf_phdr))); in create_elf_tables() 2621 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in create_elf_tables() [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | elf.h | 358 #define VDSO_AUX_ENT(a, b) NEW_AUX_ENT(a, b) 364 NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_CURRENT_BASE);\
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | elf.h | 147 NEW_AUX_ENT(AT_SYSINFO_EHDR, \
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | elf.h | 293 NEW_AUX_ENT(AT_SYSINFO_EHDR, \
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | elf.h | 313 NEW_AUX_ENT(AT_SYSINFO_EHDR, \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | elf.h | 461 NEW_AUX_ENT(AT_SYSINFO_EHDR, \
|