20#ifndef GCC_COLLECT2_AIX_H
21#define GCC_COLLECT2_AIX_H
24#if defined(CROSS_DIRECTORY_STRUCTURE) \
25 && defined(TARGET_AIX_VERSION) \
28#define CROSS_AIX_SUPPORT 1
35typedef unsigned HOST_WIDE_INT bfd_vma;
38#define FL_MAGIC_SIZE 8
41#define FL_MAGIC_BIG_AR "<bigaf>\012"
44#define AR_BIG_OFFSET_SIZE 20
47struct external_big_ar_filehdr
50 char fl_magic[FL_MAGIC_SIZE];
53 char fl_memoff[AR_BIG_OFFSET_SIZE];
57 char fl_symoff[AR_BIG_OFFSET_SIZE];
61 char fl_symoff64[AR_BIG_OFFSET_SIZE];
64 char fl_firstmemoff[AR_BIG_OFFSET_SIZE];
67 char fl_lastmemoff[AR_BIG_OFFSET_SIZE];
71 char fl_freeoff[AR_BIG_OFFSET_SIZE];
78struct external_big_ar_member
81 char ar_size[AR_BIG_OFFSET_SIZE];
84 char ar_nextoff[AR_BIG_OFFSET_SIZE];
87 char ar_prevoff[AR_BIG_OFFSET_SIZE];
113#define U802WRMAGIC 0730
114#define U802ROMAGIC 0735
115#define U802TOCMAGIC 0737
116#define U803XTOCMAGIC 0757
117#define U64_TOCMAGIC 0767
120#define F_MAGIC_SIZE 2
123struct external_filehdr_32
126 char f_magic[F_MAGIC_SIZE];
148struct external_filehdr_64
151 char f_magic[F_MAGIC_SIZE];
173struct internal_filehdr
175 unsigned short f_magic;
176 unsigned short f_nscns;
180 unsigned short f_opthdr;
181 unsigned short f_flags;
189struct external_syment
234#define F_SHROBJ 0x2000
235#define F_LOADONLY 0x4000
237#define N_UNDEF ((short) 0)
250struct internal_syment
253 unsigned int n_zeroes;
257 unsigned short n_flags;
258 unsigned short n_type;
259 unsigned char n_sclass;
260 unsigned char n_numaux;
262typedef struct internal_syment SYMENT;
265struct internal_ldfile
287 struct internal_filehdr filehdr;
289typedef struct internal_ldfile LDFILE;
292#define HEADER(FILE) ((FILE)->filehdr)
299extern LDFILE *ldopen (
char *, LDFILE *);
300extern char *ldgetname (LDFILE *, SYMENT *);
301extern int ldtbread (LDFILE *,
long, SYMENT *);
302extern int ldclose (LDFILE *);
Definition tree-object-size.cc:54