From: David Edelsohn Date: Mon, 12 Aug 2013 15:41:34 +0000 (+0000) Subject: backport: collect2-aix.h: Define F_LOADONLY. X-Git-Tag: releases/gcc-4.7.4~538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f223b7e97d7a9d753c40775c853cbb582a8fe8b;p=thirdparty%2Fgcc.git backport: collect2-aix.h: Define F_LOADONLY. Backport from mainline 2013-02-14 Steven Bosscher * collect2-aix.h: Define F_LOADONLY. From-SVN: r201665 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ebc9e5664b3..b81c9d69ee04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-08-12 David Edelsohn + + Backport from mainline + 2013-02-14 Steven Bosscher + + * collect2-aix.h: Define F_LOADONLY. + 2013-08-02 Eric Botcazou * config/sparc/sparc.c (sparc_emit_membar_for_model) : Add diff --git a/gcc/collect2-aix.h b/gcc/collect2-aix.h index 1ab313d0f34d..f67669b959fd 100644 --- a/gcc/collect2-aix.h +++ b/gcc/collect2-aix.h @@ -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