From 5d84e6862562eb14fe489c297864e660ace12418 Mon Sep 17 00:00:00 2001 From: xleroy Date: Mon, 2 Nov 2009 10:42:56 +0000 Subject: Simplified the treatment of the PowerPC small data area; now more specific to the Diab toolchain. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1165 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- powerpc/Asmgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'powerpc/Asmgen.v') diff --git a/powerpc/Asmgen.v b/powerpc/Asmgen.v index 05381ea1..aebb4834 100644 --- a/powerpc/Asmgen.v +++ b/powerpc/Asmgen.v @@ -396,7 +396,7 @@ Definition transl_load_store mk2 (ireg_of a1) (ireg_of a2) :: k | Aglobal symb ofs, nil => if symbol_is_small_data symb ofs then - mk1 (Csymbol_sda symb ofs) GPR13 :: k + mk1 (Csymbol_sda symb ofs) GPR0 :: k else Paddis GPR12 GPR0 (Csymbol_high symb ofs) :: mk1 (Csymbol_low symb ofs) GPR12 :: k -- cgit