diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 17:37:17 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 17:37:17 +0000 |
commit | 2fc2610430fcc752b082faed50eeb38f93fbbb52 (patch) | |
tree | f9b8aeaa9f7af54b74928bb430b696a958077c6a /gcc/ginclude | |
parent | 499cb93cf6486c913ec5f9b3e732124222dd1d6e (diff) | |
download | gcc-2fc2610430fcc752b082faed50eeb38f93fbbb52.tar.gz |
* config/rs6000/eabi.asm: Define 64-bit versions of FPR
save/restore routines.
* ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/ppc-asm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ginclude/ppc-asm.h b/gcc/ginclude/ppc-asm.h index af17dfa8f5e..678743245f3 100644 --- a/gcc/ginclude/ppc-asm.h +++ b/gcc/ginclude/ppc-asm.h @@ -156,6 +156,24 @@ GLUE(..,name): GLUE(.L,name): \ .size GLUE(..,name),GLUE(.L,name)-GLUE(..,name) +#elif defined (__powerpc64__) +#define FUNC_NAME(name) GLUE(.,name) +#define FUNC_START(name) \ + .section ".opd","aw"; \ +name: \ + .quad GLUE(.,name); \ + .quad .TOC.@tocbase; \ + .quad 0; \ + .previous; \ + .type GLUE(.,name),@function; \ + .globl name; \ + .globl GLUE(.,name); \ +GLUE(.,name): + +#define FUNC_END(name) \ +GLUE(.L,name): \ + .size GLUE(.,name),GLUE(.L,name)-GLUE(.,name) + #else #define FUNC_NAME(name) GLUE(__USER_LABEL_PREFIX__,name) #define FUNC_START(name) \ |