elf.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | elf.h (6bd33e1ece528f67646db33bf97406b747dafda0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> 4 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 5 * Copyright (C) 2012 Regents of the University of California 6 */ 7 8#ifndef _ASM_RISCV_ELF_H --- 42 unchanged lines hidden (view full) --- 51 52/* 53 * This yields a string that ld.so will use to load implementation 54 * specific libraries for optimization. This is more specific in 55 * intent than poking at uname or /proc/cpuinfo. 56 */ 57#define ELF_PLATFORM (NULL) 58 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> 4 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 5 * Copyright (C) 2012 Regents of the University of California 6 */ 7 8#ifndef _ASM_RISCV_ELF_H --- 42 unchanged lines hidden (view full) --- 51 52/* 53 * This yields a string that ld.so will use to load implementation 54 * specific libraries for optimization. This is more specific in 55 * intent than poking at uname or /proc/cpuinfo. 56 */ 57#define ELF_PLATFORM (NULL) 58 |
59#ifdef CONFIG_MMU |
|
59#define ARCH_DLINFO \ 60do { \ 61 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 62 (elf_addr_t)current->mm->context.vdso); \ 63} while (0) | 60#define ARCH_DLINFO \ 61do { \ 62 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 63 (elf_addr_t)current->mm->context.vdso); \ 64} while (0) |
64 65 | |
66#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 67struct linux_binprm; 68extern int arch_setup_additional_pages(struct linux_binprm *bprm, 69 int uses_interp); | 65#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 66struct linux_binprm; 67extern int arch_setup_additional_pages(struct linux_binprm *bprm, 68 int uses_interp); |
69#endif /* CONFIG_MMU */ |
|
70 71#endif /* _ASM_RISCV_ELF_H */ | 70 71#endif /* _ASM_RISCV_ELF_H */ |