From d67b7dad77bb8aa973dad1f7c3ab0c309b114278 Mon Sep 17 00:00:00 2001 From: forsyth Date: Tue, 27 Apr 2010 12:51:13 +0100 Subject: 20100427-1251 --- utils/include/a.out.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'utils/include/a.out.h') diff --git a/utils/include/a.out.h b/utils/include/a.out.h index 8c0b7137..59077860 100644 --- a/utils/include/a.out.h +++ b/utils/include/a.out.h @@ -11,7 +11,6 @@ struct Exec long pcsz; /* size of pc/line number table */ }; - #define HDR_MAGIC 0x00008000 /* header expansion */ #define _MAGIC(f, b) ((f)|((((4*(b))+0)*(b))+7)) @@ -30,16 +29,18 @@ struct Exec #define P_MAGIC _MAGIC(0, 24) /* mips 3000 LE */ #define U_MAGIC _MAGIC(0, 25) /* sparc64 */ #define S_MAGIC _MAGIC(HDR_MAGIC, 26) /* amd64 */ +#define T_MAGIC _MAGIC(HDR_MAGIC, 27) /* powerpc64 */ #define MIN_MAGIC 8 -#define MAX_MAGIC 26 /* <= 90 */ +#define MAX_MAGIC 27 /* <= 90 */ -#define DYN_MAGIC 0x80000000 /* or'd in for dynamically loaded modules */ +#define DYN_MAGIC 0x80000000 /* dlm */ typedef struct Sym Sym; struct Sym { - long value; + vlong value; + uint sig; char type; char *name; }; -- cgit v1.2.3