summaryrefslogtreecommitdiff
path: root/libffi/src/powerpc/asm.h
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 21:07:21 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 21:07:21 +0000
commit8bf7bfd1617132ccc5418f75a804ea2f9adfb799 (patch)
treec39a128c72847b9cb1b67c543db378552c49e23d /libffi/src/powerpc/asm.h
parentb399661d68019d17de70486576fd439f9f67cdd4 (diff)
downloadgcc-8bf7bfd1617132ccc5418f75a804ea2f9adfb799.tar.gz
004-09-02 Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/aix.S: Remove whitespaces. * src/powerpc/aix_closure.S: Likewise. * src/powerpc/asm.h: Likewise. * src/powerpc/ffi.c: Likewise. * src/powerpc/ffitarget.h: Likewise. * src/powerpc/linux64.S: Likewise. * src/powerpc/linux64_closure.S: Likewise. * src/powerpc/ppc_closure.S: Likewise. * src/powerpc/sysv.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/powerpc/asm.h')
-rw-r--r--libffi/src/powerpc/asm.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/libffi/src/powerpc/asm.h b/libffi/src/powerpc/asm.h
index 2ccdc020f58..e86e6b09147 100644
--- a/libffi/src/powerpc/asm.h
+++ b/libffi/src/powerpc/asm.h
@@ -1,9 +1,7 @@
/* -----------------------------------------------------------------------
asm.h - Copyright (c) 1998 Geoffrey Keating
-
- PowerPC Assembly glue.
- $Id: asm.h,v 1.1.1.1 1998/11/29 16:48:16 green Exp $
+ PowerPC Assembly glue.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -50,12 +48,12 @@
#ifdef PIC
#define CALL_MCOUNT \
.pushsection; \
- .section ".data"; \
+ .section ".data"; \
.align ALIGNARG(2); \
0:.long 0; \
.previous; \
mflr %r0; \
- stw %r0,4(%r1); \
+ stw %r0,4(%r1); \
bl _GLOBAL_OFFSET_TABLE_@local-4; \
mflr %r11; \
lwz %r0,0b@got(%r11); \
@@ -67,8 +65,8 @@
0:.long 0; \
.previous; \
mflr %r0; \
- lis %r11,0b@ha; \
- stw %r0,4(%r1); \
+ lis %r11,0b@ha; \
+ stw %r0,4(%r1); \
addi %r0,%r11,0b@l; \
bl JUMPTARGET(_mcount);
#endif /* PIC */
@@ -125,4 +123,3 @@
/* Local labels stripped out by the linker. */
#define L(x) .L##x
-