From 533ed48e409ce5ec26a62e54879735d74604aa8c Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 11 Jan 1996 21:41:01 +0000 Subject: [PATCH] Add new V.4 flags --- include/elf/ChangeLog | 9 +++++++++ include/elf/ppc.h | 28 ++++++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 5ae632d2e7b..018c5e905db 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,12 @@ +Thu Jan 11 16:27:34 1996 Michael Meissner + + * ppc.h (SHF_EXCLUDE, SHT_ORDERED): New fields from the abi. + +Thu Nov 30 16:47:18 1995 Ian Lance Taylor + + * internal.h (struct elf_segment_map): Add includes_filehdr and + includes_phdrs fields. + Tue Nov 28 16:58:10 1995 Ian Lance Taylor * internal.h (struct elf_segment_map): Define. diff --git a/include/elf/ppc.h b/include/elf/ppc.h index 5a80d7107d2..552b1cf29d6 100644 --- a/include/elf/ppc.h +++ b/include/elf/ppc.h @@ -19,12 +19,36 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This file holds definitions specific to the PPC ELF ABI. Note that most of this is not actually implemented by BFD. */ +#ifndef _ELF_PPC_H +#define _ELF_PPC_H + /* Processor specific flags for the ELF header e_flags field. */ #define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag */ -#define EF_PPC_RELOCATABLE 0x00010000 /* PowerPC -mrelocatable flag (CYGNUS local) */ + + /* CYGNUS local bits below */ +#define EF_PPC_RELOCATABLE 0x00010000 /* PowerPC -mrelocatable flag */ +#define EF_PPC_RELOCATABLE_LIB 0x00008000 /* PowerPC -mrelocatable-lib flag */ + +/* Processor specific section headers, sh_type field */ + +#define SHT_ORDERED SHT_HIPROC /* Link editor is to sort the \ + entries in this section \ + based on the address \ + specified in the associated \ + symbol table entry. */ + +/* Processor specific section flags, sh_flags field */ + +#define SHF_EXCLUDE 0x80000000 /* Link editor is to exclude \ + this section from executable \ + and shared objects that it \ + builds when those objects \ + are not to be furhter \ + relocated. */ +#endif /* _ELF_PPC_H */ -- 2.34.1