Mercurial > hg > CbC > CbC_gcc
diff gcc/collect2-aix.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/gcc/collect2-aix.h Sun Aug 21 07:07:55 2011 +0900 +++ b/gcc/collect2-aix.h Fri Oct 27 22:46:09 2017 +0900 @@ -1,5 +1,5 @@ /* AIX cross support for collect2. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GCC. @@ -17,6 +17,8 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +#ifndef GCC_COLLECT2_AIX_H +#define GCC_COLLECT2_AIX_H /* collect2-aix.c requires mmap support. It should otherwise be fairly portable. */ #if defined(CROSS_DIRECTORY_STRUCTURE) \ @@ -29,7 +31,7 @@ Definitions adapted from bfd. (Fairly heavily adapted in some cases.) ------------------------------------------------------------------------- */ -/* Compatiblity types for bfd. */ +/* Compatibility types for bfd. */ typedef unsigned HOST_WIDE_INT bfd_vma; /* The size of an archive's fl_magic field. */ @@ -135,7 +137,7 @@ /* The number of entries in the symbol table. */ char f_nsyms[4]; - /* The size of the auxillary header. */ + /* The size of the auxiliary header. */ char f_opthdr[2]; /* Flags. */ @@ -157,7 +159,7 @@ /* The offset of the symbol table from the start of the file. */ char f_symptr[8]; - /* The size of the auxillary header. */ + /* The size of the auxiliary header. */ char f_opthdr[2]; /* Flags. */ @@ -222,14 +224,15 @@ /* The class of symbol (a C_* value). */ char n_sclass[1]; - /* The number of auxillary symbols attached to this entry. */ + /* The number of auxiliary symbols attached to this entry. */ char n_numaux[1]; }; /* Definitions required by collect2. */ #define C_EXT 2 -#define F_SHROBJ 0x2000 +#define F_SHROBJ 0x2000 +#define F_LOADONLY 0x4000 #define N_UNDEF ((short) 0) #define N_TMASK 060 @@ -299,3 +302,5 @@ extern int ldclose (LDFILE *); #endif + +#endif /* GCC_COLLECT2_AIX_H */