backport: collect2-aix.h: Define F_LOADONLY.

Backport from mainline
        2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
        * collect2-aix.h: Define F_LOADONLY.

From-SVN: r201665
This commit is contained in:
David Edelsohn 2013-08-12 15:41:34 +00:00 committed by David Edelsohn
parent a4cdc55cdb
commit 7f223b7e97
2 changed files with 14 additions and 6 deletions

View 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

View 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