aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2001-08-13 17:37:17 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2001-08-13 13:37:17 -0400
commit710fdaadeeb456ff1f8fa784dcac7ea8e74d773a (patch)
treef9b8aeaa9f7af54b74928bb430b696a958077c6a /gcc/ginclude
parent3d146acbef811ec6c2d4789e9a1c6e695864d123 (diff)
downloadgcc-710fdaadeeb456ff1f8fa784dcac7ea8e74d773a.zip
gcc-710fdaadeeb456ff1f8fa784dcac7ea8e74d773a.tar.gz
gcc-710fdaadeeb456ff1f8fa784dcac7ea8e74d773a.tar.bz2
eabi.asm: Define 64-bit versions of FPR save/restore routines.
* config/rs6000/eabi.asm: Define 64-bit versions of FPR save/restore routines. * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros. From-SVN: r44862
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/ppc-asm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ginclude/ppc-asm.h b/gcc/ginclude/ppc-asm.h
index af17dfa..6787432 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) \