diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-09 19:21:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-09 19:21:30 +0000 |
commit | ad7e63542e5a27b6398796e161579e5fb75f71d2 (patch) | |
tree | 9de72e9c2cb92a5cf41f1e70420af4c252cb413e | |
parent | a88b10073e0c906ba1e57d0a94d75f30d54cac97 (diff) |
No longer define the a.out relocation format struct.
-rw-r--r-- | sys/arch/m68k/include/exec.h | 16 | ||||
-rw-r--r-- | sys/arch/m88k/include/exec.h | 15 |
2 files changed, 2 insertions, 29 deletions
diff --git a/sys/arch/m68k/include/exec.h b/sys/arch/m68k/include/exec.h index 1a1d1d85d9a..879a7cce825 100644 --- a/sys/arch/m68k/include/exec.h +++ b/sys/arch/m68k/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.5 2012/12/31 10:41:03 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.6 2013/02/09 19:21:29 miod Exp $ */ /* $NetBSD: exec.h,v 1.8 1994/11/21 21:33:39 gwr Exp $ */ /* @@ -33,20 +33,6 @@ #define __LDPGSZ 8192 -/* Relocation format. */ -struct relocation_info_m68k { - int r_address; /* offset in text or data segment */ - unsigned int r_symbolnum : 24, /* ordinal number of add symbol */ - r_pcrel : 1, /* 1 if value should be pc-relative */ - r_length : 2, /* log base 2 of value's width */ - r_extern : 1, /* 1 if need to add symbol to value */ - r_baserel : 1, /* linkage table relative */ - r_jmptable : 1, /* relocate to jump table */ - r_relative : 1, /* load address relative */ - r_copy : 1; /* run time copy */ -}; -#define relocation_info relocation_info_m68k - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 diff --git a/sys/arch/m88k/include/exec.h b/sys/arch/m88k/include/exec.h index e4f45a2427e..f67b9b7372d 100644 --- a/sys/arch/m88k/include/exec.h +++ b/sys/arch/m88k/include/exec.h @@ -1,22 +1,9 @@ -/* $OpenBSD: exec.h,v 1.2 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.3 2013/02/09 19:21:29 miod Exp $ */ #ifndef _M88K_EXEC_H_ #define _M88K_EXEC_H_ #define __LDPGSZ 4096 -struct relocation_info_m88k { - unsigned int r_address; /* offset in text or data segment */ - unsigned int r_symbolnum : 24, /* ordinal number of add symbol */ - r_extern : 1, /* 1 if need to add symbol to value */ - r_baserel : 1, - r_pcrel : 1, - r_jmptable : 1, - r_type : 4; - - int r_addend; -}; -#define relocation_info relocation_info_m88k - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 |