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/reg_win/window.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libcpu/sparc/reg_win/window.S') diff --git a/c/src/lib/libcpu/sparc/reg_win/window.S b/c/src/lib/libcpu/sparc/reg_win/window.S index f57fbe18a8..b8745593f5 100644 --- a/c/src/lib/libcpu/sparc/reg_win/window.S +++ b/c/src/lib/libcpu/sparc/reg_win/window.S @@ -23,7 +23,7 @@ #include - .seg "text" + .section ".text" /* * Window overflow trap handler. * -- cgit v1.2.3