summaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/sparc/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/linux-gnu/sparc/arch.h')
-rw-r--r--sysdeps/linux-gnu/sparc/arch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/linux-gnu/sparc/arch.h b/sysdeps/linux-gnu/sparc/arch.h
new file mode 100644
index 0000000..75251b8
--- /dev/null
+++ b/sysdeps/linux-gnu/sparc/arch.h
@@ -0,0 +1,8 @@
+#define BREAKPOINT_VALUE {0x91, 0xd0, 0x20, 0x01}
+#define BREAKPOINT_LENGTH 4
+#define DECR_PC_AFTER_BREAK 0
+
+#define LT_ELFCLASS ELFCLASS32
+#define LT_ELF_MACHINE EM_SPARC
+#define LT_ELFCLASS2 ELFCLASS32
+#define LT_ELF_MACHINE2 EM_SPARC32PLUS