]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: collect2-aix.h: Define F_LOADONLY.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 12 Aug 2013 15:41:34 +0000 (15:41 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 12 Aug 2013 15:41:34 +0000 (11:41 -0400)
        Backport from mainline
        2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
        * collect2-aix.h: Define F_LOADONLY.

From-SVN: r201665

gcc/ChangeLog
gcc/collect2-aix.h

index 3ebc9e5664b3ff0cb278c8450d209997f2240233..b81c9d69ee044a8c53878973c36378853e612541 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-12  David Edelsohn  <dje.gcc@gmail.com>
+
+       Backport from mainline
+       2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * collect2-aix.h: Define F_LOADONLY.
+       
 2013-08-02  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add
index 1ab313d0f34dcd408b4b5e19da6e3c172f968a08..f67669b959fd86b523f3935ffab7b9677a802574 100644 (file)
@@ -1,5 +1,5 @@
 /* AIX cross support for collect2.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3.  If not see
    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 +135,7 @@ struct external_filehdr_32
   /* 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 +157,7 @@ struct external_filehdr_64
   /* 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 +222,15 @@ struct external_syment
   /* 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