diff options
Diffstat (limited to 'include/aout/hp300hpux.h')
-rw-r--r-- | include/aout/hp300hpux.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/aout/hp300hpux.h b/include/aout/hp300hpux.h index 527e421..cc65927 100644 --- a/include/aout/hp300hpux.h +++ b/include/aout/hp300hpux.h @@ -113,18 +113,18 @@ struct hp300hpux_header_extension #undef N_STROFF #define N_DATOFF(x) ( N_TXTOFF(x) + N_TXTSIZE(x) ) -#define N_PASOFF(x) ( N_DATOFF(x) + (x).a_data) -#define N_SYMOFF(x) ( N_PASOFF(x) /* + (x).a_passize*/ ) -#define N_SUPOFF(x) ( N_SYMOFF(x) + (x).a_syms ) -#define N_TRELOFF(x) ( N_SUPOFF(x) /* + 0 (x).a_supsize*/ ) -#define N_DRELOFF(x) ( N_TRELOFF(x) + (x).a_trsize ) -#define N_EXTHOFF(x) ( N_DRELOFF(x) /* + 0 (x).a_drsize */) +#define N_PASOFF(x) ( N_DATOFF(x) + (x)->a_data) +#define N_SYMOFF(x) ( N_PASOFF(x) /* + (x)->a_passize*/ ) +#define N_SUPOFF(x) ( N_SYMOFF(x) + (x)->a_syms ) +#define N_TRELOFF(x) ( N_SUPOFF(x) /* + (x)->a_supsize*/ ) +#define N_DRELOFF(x) ( N_TRELOFF(x) + (x)->a_trsize ) +#define N_EXTHOFF(x) ( N_DRELOFF(x) /* + (x)->a_drsize */) #define N_STROFF(x) ( 0 /* no string table */ ) /* use these when the file has gnu symbol tables */ -#define N_GNU_TRELOFF(x) (N_DATOFF(x) + (x).a_data) -#define N_GNU_DRELOFF(x) (N_GNU_TRELOFF(x) + (x).a_trsize) -#define N_GNU_SYMOFF(x) (N_GNU_DRELOFF(x) + (x).a_drsize) +#define N_GNU_TRELOFF(x) (N_DATOFF(x) + (x)->a_data) +#define N_GNU_DRELOFF(x) (N_GNU_TRELOFF(x) + (x)->a_trsize) +#define N_GNU_SYMOFF(x) (N_GNU_DRELOFF(x) + (x)->a_drsize) #define TARGET_PAGE_SIZE 0x1000 #define SEGMENT_SIZE 0x1000 |