diff options
author | cognet <cognet@FreeBSD.org> | 2005-11-24 02:27:55 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-11-24 02:27:55 +0000 |
commit | 792c8e2f4900802933c70899fadd6312270e880d (patch) | |
tree | b91167727d6cc4241e3294a69ded61fbe3e076fd /sys/arm/include/elf.h | |
parent | 2a2203ec202a935c64457164772bd84ca2d2814c (diff) | |
download | FreeBSD-src-792c8e2f4900802933c70899fadd6312270e880d.zip FreeBSD-src-792c8e2f4900802933c70899fadd6312270e880d.tar.gz |
Use a magic number to know we were started from the elf wrapper.
Add a dummy _start function to make the non-elf version of the wrapper work.
Diffstat (limited to 'sys/arm/include/elf.h')
-rw-r--r-- | sys/arm/include/elf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm/include/elf.h b/sys/arm/include/elf.h index a6f1462..81351e8 100644 --- a/sys/arm/include/elf.h +++ b/sys/arm/include/elf.h @@ -125,4 +125,9 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH EM_ARM #define ELF_TARG_VER 1 +/* + * Magic number for the elf trampoline, chosen wisely to be an immediate + * value. + */ +#define MAGIC_TRAMP_NUMBER 0x5c000003 #endif /* !_MACHINE_ELF_H_ */ |