Add ppc.h
authorMichael Meissner <gnu@the-meissners.org>
Wed, 8 Mar 1995 23:15:42 +0000 (23:15 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Wed, 8 Mar 1995 23:15:42 +0000 (23:15 +0000)
include/elf/.Sanitize
include/elf/ppc.h [new file with mode: 0644]

index a7ffeda..9693d2f 100644 (file)
@@ -40,6 +40,7 @@ external.h
 hppa.h
 internal.h
 mips.h
+ppc.h
 
 Things-to-lose:
 
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
new file mode 100644 (file)
index 0000000..9a23f35
--- /dev/null
@@ -0,0 +1,30 @@
+/* MIPS PPC support for BFD.
+   Copyright (C) 1995 Free Software Foundation, Inc.
+
+   By Michael Meissner, Cygnus Support, <meissner@cygnus.com>, from information
+   in the System V Application Binary Interface, PowerPC Processor Supplement
+   and the PowerPC Embedded Application Binary Interface (eabi). */
+
+This file is part of BFD, the Binary File Descriptor library.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+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.  */
+
+/* This file holds definitions specific to the PPC ELF ABI.  Note
+   that most of this is not actually implemented by BFD.  */
+
+/* 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) */