aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/elf/.Sanitize1
-rw-r--r--include/elf/ppc.h30
2 files changed, 31 insertions, 0 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize
index a7ffeda..9693d2f 100644
--- a/include/elf/.Sanitize
+++ b/include/elf/.Sanitize
@@ -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
index 0000000..9a23f35
--- /dev/null
+++ b/include/elf/ppc.h
@@ -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) */