diff options
author | Roland McGrath <roland@gnu.org> | 2002-04-08 07:06:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-04-08 07:06:46 +0000 |
commit | 4dd357db6a802ad986a17049bcd7a6ffcfef0936 (patch) | |
tree | 9ab90a11b21935510e25e5302fa531e45a7857f9 /sysdeps | |
parent | 83aad43285c19b1ecd1db18385a38721ab5e6f5f (diff) | |
download | glibc-4dd357db6a802ad986a17049bcd7a6ffcfef0936.tar glibc-4dd357db6a802ad986a17049bcd7a6ffcfef0936.tar.gz glibc-4dd357db6a802ad986a17049bcd7a6ffcfef0936.tar.bz2 glibc-4dd357db6a802ad986a17049bcd7a6ffcfef0936.zip |
2002-04-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>.
(ALIGN, at, AT, fp): New macros.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/alpha/sysdep.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sysdeps/mach/alpha/sysdep.h b/sysdeps/mach/alpha/sysdep.h index 9e7ace0eed..ddd98d666a 100644 --- a/sysdeps/mach/alpha/sysdep.h +++ b/sysdeps/mach/alpha/sysdep.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -34,8 +34,17 @@ asm volatile ("mov %0,$30; jmp $31, (%1); ldgp $29, 0(%1)" \ : : "r" (__sp), "r" (__fn)); }) -#define ENTRY(name) LEAF(name, ***loser no arg count***) - #define STACK_GROWTH_DOWN +#define RETURN_TO(sp, pc, retval) \ + asm volatile ("mov %0,$30; jmp $31, (%1); mov %2,$0" \ + : : "r" (sp), "r" (pc), "r" ((long int) (retval))); + +#define ALIGN 3 #include <sysdeps/mach/sysdep.h> + +#include <mach/alpha/asm.h> +#undef at +#define at 28 +#define AT $28 +#define fp s6 |