From 863968599c6a555efe580f9a354ecec24dd00159 Mon Sep 17 00:00:00 2001 From: Jacob Hansen Date: Fri, 28 Oct 2016 16:05:56 +0200 Subject: 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 --- c/src/lib/libcpu/sparc/syscall/syscall.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libcpu/sparc/syscall') 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 #include "syscall.h" - .seg "text" + .section ".text" /* * system call - halt * -- cgit v1.2.3