ia64/xen-unstable

annotate tools/libxc/xc_aout9.h @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 0b5f09002630
children
rev   line source
kaf24@5577 1
kaf24@5577 2 typedef struct Exec
kaf24@5577 3 {
kaf24@5577 4 long magic; /* magic number */
kaf24@5577 5 long text; /* size of text segment */
kaf24@5577 6 long data; /* size of initialized data */
kaf24@5577 7 long bss; /* size of uninitialized data */
kaf24@5577 8 long syms; /* size of symbol table */
kaf24@5577 9 long entry; /* entry point */
kaf24@5577 10 long spsz; /* size of pc/sp offset table */
kaf24@5577 11 long pcsz; /* size of pc/line number table */
kaf24@5577 12 } Exec;
kaf24@5577 13
kaf24@5577 14 #define _MAGIC(b) ((((4*b)+0)*b)+7)
kaf24@5577 15 #define A_MAGIC _MAGIC(8) /* 68020 */
kaf24@5577 16 #define I_MAGIC _MAGIC(11) /* intel 386 */
kaf24@5577 17 #define J_MAGIC _MAGIC(12) /* intel 960 (retired) */
kaf24@5577 18 #define K_MAGIC _MAGIC(13) /* sparc */
kaf24@5577 19 #define V_MAGIC _MAGIC(16) /* mips 3000 BE */
kaf24@5577 20 #define X_MAGIC _MAGIC(17) /* att dsp 3210 (retired) */
kaf24@5577 21 #define M_MAGIC _MAGIC(18) /* mips 4000 BE */
kaf24@5577 22 #define D_MAGIC _MAGIC(19) /* amd 29000 (retired) */
kaf24@5577 23 #define E_MAGIC _MAGIC(20) /* arm */
kaf24@5577 24 #define Q_MAGIC _MAGIC(21) /* powerpc */
kaf24@5577 25 #define N_MAGIC _MAGIC(22) /* mips 4000 LE */
kaf24@5577 26 #define L_MAGIC _MAGIC(23) /* dec alpha */
kaf24@5577 27 #define P_MAGIC _MAGIC(24) /* mips 3000 LE */
kaf24@5577 28 #define U_MAGIC _MAGIC(25) /* sparc64 */
kaf24@5577 29 #define S_MAGIC _MAGIC(26) /* amd64 */
kaf24@5577 30