aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/elf/.Sanitize1
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/sparc.h34
3 files changed, 40 insertions, 1 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize
index 9693d2f..18910cb 100644
--- a/include/elf/.Sanitize
+++ b/include/elf/.Sanitize
@@ -41,6 +41,7 @@ hppa.h
internal.h
mips.h
ppc.h
+sparc.h
Things-to-lose:
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 018c5e9..5e88aba 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 17 09:09:16 1996 Doug Evans <dje@canuck.cygnus.com>
+
+ * sparc.h: New file.
+
Thu Jan 11 16:27:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* ppc.h (SHF_EXCLUDE, SHT_ORDERED): New fields from the abi.
@@ -13,7 +17,7 @@ Tue Nov 28 16:58:10 1995 Ian Lance Taylor <ian@cygnus.com>
Tue Oct 31 15:19:36 1995 Fred Fish <fnf@cygnus.com>
- * arc.h, common.h, dwarf.h, external.h, hppa.h, internal.h,
+ * common.h, dwarf.h, external.h, hppa.h, internal.h,
mips.h, ppc.h: Protect against multiple inclusions.
Thu Sep 21 13:51:58 1995 Michael Meissner <meissner@tiktok.cygnus.com>
diff --git a/include/elf/sparc.h b/include/elf/sparc.h
new file mode 100644
index 0000000..8c2dbef
--- /dev/null
+++ b/include/elf/sparc.h
@@ -0,0 +1,34 @@
+/* SPARC ELF support for BFD.
+ Copyright (C) 1996 Free Software Foundation, Inc.
+
+ By Doug Evans, Cygnus Support, <dje@cygnus.com>.
+
+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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#ifndef _ELF_SPARC_H
+#define _ELF_SPARC_H
+
+/* Processor specific flags for the ELF header e_flags field. */
+
+/* These are defined by Sun. */
+
+#define EF_SPARC_32PLUS_MASK 0xffff00 /* bits indicating V8+ type */
+#define EF_SPARC_32PLUS 0x000100 /* generic V8+ features */
+#define EF_SPARC_SUN_US1 0x000200 /* Sun UltraSPARC1 extensions */
+#define EF_SPARC_HAL_R1 0x000400 /* HAL R1 extensions */
+
+#endif /* _ELF_SPARC_H */