From: Roland McGrath Date: Mon, 8 Apr 2002 07:06:46 +0000 (+0000) Subject: 2002-04-07 Roland McGrath X-Git-Tag: upstream/2.20~3636^2~1717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dd357db6a802ad986a17049bcd7a6ffcfef0936;p=platform%2Fupstream%2Flinaro-glibc.git 2002-04-07 Roland McGrath * sysdeps/mach/alpha/sysdep.h: Include . (ALIGN, at, AT, fp): New macros. --- diff --git a/sysdeps/mach/alpha/sysdep.h b/sysdeps/mach/alpha/sysdep.h index 9e7ace0..ddd98d6 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 + +#include +#undef at +#define at 28 +#define AT $28 +#define fp s6