diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2009-11-02 10:42:56 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2009-11-02 10:42:56 +0000 |
commit | 5d84e6862562eb14fe489c297864e660ace12418 (patch) | |
tree | bbe3828bd4da0eec12a91c788e13051d00a4e7cd /powerpc/Asmgen.v | |
parent | 3ccc93675292bf9a44ac0d7111d3f44981e1f56d (diff) | |
download | compcert-5d84e6862562eb14fe489c297864e660ace12418.tar.gz compcert-5d84e6862562eb14fe489c297864e660ace12418.zip |
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
Diffstat (limited to 'powerpc/Asmgen.v')
-rw-r--r-- | powerpc/Asmgen.v | 2 |
1 files changed, 1 insertions, 1 deletions
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 |