diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-10 20:34:07 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-10 20:34:07 +0000 |
commit | d52d2a91f8f9d50fb2d1808605d21183d18a3d90 (patch) | |
tree | f7c1828b84821ab1fe5174242921131c4b8fc4e4 /sys/arch | |
parent | 2df4fc488daaede39e99b6d87faee2967767dbbb (diff) |
relocations belong in reloc.h
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sh/include/exec.h | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/sys/arch/sh/include/exec.h b/sys/arch/sh/include/exec.h index 2bf1c48d8ae..48a968037f4 100644 --- a/sys/arch/sh/include/exec.h +++ b/sys/arch/sh/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.1 2006/10/06 21:02:55 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.2 2006/11/10 20:34:06 drahn Exp $ */ /* $NetBSD: elf_machdep.h,v 1.8 2002/04/28 17:10:34 uch Exp $ */ #define __LDPGSZ 4096 @@ -33,38 +33,3 @@ #define EF_SH_HAS_DSP(x) ((x) & EF_SH_DSP) #define EF_SH_HAS_FP(x) ((x) & EF_SH_SH3E) - - -#define R_SH_NONE 0 -#define R_SH_DIR32 1 -#define R_SH_REL32 2 -#define R_SH_DIR8WPN 3 -#define R_SH_IND12W 4 -#define R_SH_DIR8WPL 5 -#define R_SH_DIR8WPZ 6 -#define R_SH_DIR8BP 7 -#define R_SH_DIR8W 8 -#define R_SH_DIR8L 9 -#define R_SH_SWITCH16 25 -#define R_SH_SWITCH32 26 -#define R_SH_USES 27 -#define R_SH_COUNT 28 -#define R_SH_ALIGN 29 -#define R_SH_CODE 30 -#define R_SH_DATA 31 -#define R_SH_LABEL 32 -#define R_SH_SWITCH8 33 -#define R_SH_GNU_VTINHERIT 34 -#define R_SH_GNU_VTENTRY 35 -#define R_SH_LOOP_START 36 -#define R_SH_LOOP_END 37 -#define R_SH_GOT32 160 -#define R_SH_PLT32 161 -#define R_SH_COPY 162 -#define R_SH_GLOB_DAT 163 -#define R_SH_JMP_SLOT 164 -#define R_SH_RELATIVE 165 -#define R_SH_GOTOFF 166 -#define R_SH_GOTPC 167 - -#define R_TYPE(name) __CONCAT(R_SH_,name) |