/* SPDX-License-Identifier: GPL-2.0-only */ /* * ELF definitions for the Hexagon architecture * * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
*/
/* * This is used to ensure we don't load something for the wrong architecture. * Checks the machine and ABI type.
*/ #define elf_check_arch(hdr) ((hdr)->e_machine == EM_HEXAGON)
/* * These are used to set parameters in the core dumps.
*/ #define ELF_CLASS ELFCLASS32 #define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_HEXAGON
/* * Some architectures have ld.so set up a pointer to a function * to be registered using atexit, to facilitate cleanup. So that * static executables will be well-behaved, we would null the register * in question here, in the pt_regs structure passed. For now, * leave it a null macro.
*/ #define ELF_PLAT_INIT(regs, load_addr) do { } while (0)
#define CORE_DUMP_USE_REGSET
/* Hrm is this going to cause problems for changing PAGE_SIZE? */ #define ELF_EXEC_PAGESIZE PAGE_SIZE
/* * This is the location that an ET_DYN program is loaded if exec'ed. Typical * use of this is to invoke "./ld.so someprog" to test out a new version of * the loader. We need to make sure that it is out of the way of the program * that it will "exec", and that there is sufficient room for the brk.
*/ #define ELF_ET_DYN_BASE 0x08000000UL
/* * This yields a mask that user programs can use to figure out what * instruction set this cpu supports.
*/ #define ELF_HWCAP (0)
/* * This yields a string that ld.so will use to load implementation * specific libraries for optimization. This is more specific in * intent than poking at uname or /proc/cpuinfo.
*/ #define ELF_PLATFORM (NULL)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.