aboutsummaryrefslogtreecommitdiff
path: root/include/elf/sparc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/sparc.h')
-rw-r--r--include/elf/sparc.h34
1 files changed, 34 insertions, 0 deletions
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 */