diff options
author | Jacob Hansen <jacob.hansen@gaisler.com> | 2016-10-28 16:05:56 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2017-05-14 12:32:00 +0200 |
commit | 863968599c6a555efe580f9a354ecec24dd00159 (patch) | |
tree | edb3c7801dca9b84f43cc91cf7c0d2c482e9fb65 /c/src/lib/libcpu/sparc/syscall/syscall.S | |
parent | leon, grtc: SMP support by using spin-locks (diff) | |
download | rtems-863968599c6a555efe580f9a354ecec24dd00159.tar.bz2 |
sparc: Adjust assembly to improve compability with LLVM
- All references of %0 changed to %g0
- 'call label,0' changed to 'call label'. According to the sparc
specification call does not take any registers
- '.seg "text"' changed to '.section ".text"'
- the synonym stub is replaced with stb
- the synonym stuh is replaced with sth
Diffstat (limited to 'c/src/lib/libcpu/sparc/syscall/syscall.S')
-rw-r--r-- | c/src/lib/libcpu/sparc/syscall/syscall.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sparc/syscall/syscall.S b/c/src/lib/libcpu/sparc/syscall/syscall.S index d00aa03876..d5e1f43403 100644 --- a/c/src/lib/libcpu/sparc/syscall/syscall.S +++ b/c/src/lib/libcpu/sparc/syscall/syscall.S @@ -19,7 +19,7 @@ #include <rtems/asm.h> #include "syscall.h" - .seg "text" + .section ".text" /* * system call - halt * |