]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/collect2-aix.h
Correct a function pre/postcondition [PR102403].
[thirdparty/gcc.git] / gcc / collect2-aix.h
index 203f42cbd3db3adfd637efc1ddacee0dd6e786c0..8cc88aed7f1d056f7e8347aeda1759dcdb17775c 100644 (file)
@@ -1,5 +1,5 @@
 /* AIX cross support for collect2.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2021 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
 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) \
@@ -229,7 +231,8 @@ struct external_syment
 /* 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 ldtbread (LDFILE *, long, SYMENT *);
 extern int ldclose (LDFILE *);
 
 #endif
+
+#endif /* GCC_COLLECT2_AIX_H */