about summary refs log tree commit diff
path: root/sysdeps/unix/bsd/hp/m68k/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/hp/m68k/start.c')
-rw-r--r--sysdeps/unix/bsd/hp/m68k/start.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/hp/m68k/start.c b/sysdeps/unix/bsd/hp/m68k/start.c
new file mode 100644
index 0000000000..e04ca0632d
--- /dev/null
+++ b/sysdeps/unix/bsd/hp/m68k/start.c
@@ -0,0 +1,10 @@
+/* hp300 4.3 BSD starts at 4, rather than 0, when the start address is 0.
+   Go figure.  */
+asm(".globl __start");
+asm("__start:	.long 0");
+
+#define	_start	__start0
+
+#define	DUMMIES	dummy0
+
+#include <sysdeps/unix/start.c>