about summary refs log tree commit diff
path: root/sysdeps/mach/alpha/sysdep.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-04-24 18:17:16 +0000
committerRoland McGrath <roland@gnu.org>2002-04-24 18:17:16 +0000
commit39bbac1e95d6d1c4004ac4c34525c891307b651b (patch)
tree57dff8e09f22b0e5d3ff60986f60ce0833ef3492 /sysdeps/mach/alpha/sysdep.h
parent5edf59cf936359225f9ccef8c64382e4ba38a994 (diff)
downloadglibc-39bbac1e95d6d1c4004ac4c34525c891307b651b.tar.gz
glibc-39bbac1e95d6d1c4004ac4c34525c891307b651b.tar.xz
glibc-39bbac1e95d6d1c4004ac4c34525c891307b651b.zip
* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;
	use END macro instead of our own .end directive.
	Use `callsys' insn mnemonic instead of `call_pal'.

	* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.

	* sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New
	macro; we need this for Hurd.

	Log entry was missing for 2002/03/24 commit of rev 1.8,
	goes with 2002-03-17 changes.
	* sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc]
	(sysdep_routines): Append ioperm here.
	(sysdep_headers): Append sys/io.h here.
Diffstat (limited to 'sysdeps/mach/alpha/sysdep.h')
-rw-r--r--sysdeps/mach/alpha/sysdep.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/alpha/sysdep.h b/sysdeps/mach/alpha/sysdep.h
index ddd98d666a..84e21c8d5d 100644
--- a/sysdeps/mach/alpha/sysdep.h
+++ b/sysdeps/mach/alpha/sysdep.h
@@ -43,6 +43,15 @@
 #define ALIGN 3
 #include <sysdeps/mach/sysdep.h>
 
+/* Alpha needs the .ent and .frame magic that the generic version lacks.  */
+#undef ENTRY
+#define ENTRY(name)				\
+  .globl name;					\
+  .align 3;					\
+  .ent name, 0;					\
+  name##:					\
+  .frame sp, 0, ra
+
 #include <mach/alpha/asm.h>
 #undef	at
 #define at	28