diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2004-05-02 04:50:04 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2004-05-02 04:50:04 +0000 |
commit | afbe7e61febc8df565418161787af714550c8244 (patch) | |
tree | 7a8dd0f4ee01cac5f1d76b86130270a8902eca92 /gcc/config/frv | |
parent | ca3df643698b0f67b6376a88aa9b4f586d4b9a00 (diff) | |
download | gcc-afbe7e61febc8df565418161787af714550c8244.zip gcc-afbe7e61febc8df565418161787af714550c8244.tar.gz gcc-afbe7e61febc8df565418161787af714550c8244.tar.bz2 |
frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
(CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__
before redefining them.
From-SVN: r81404
Diffstat (limited to 'gcc/config/frv')
-rw-r--r-- | gcc/config/frv/frv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 1e89210..438fbfe 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -109,7 +109,7 @@ %{mmedia} %{mno-media} \ %{mmuladd} %{mno-muladd} \ %{mpack} %{mno-pack} \ - %{mfdpic} \ + %{mno-fdpic:-mnopic} %{mfdpic} \ %{fpic|fpie: -mpic} %{fPIC|fPIE: -mPIC} %{mlibrary-pic}}" /* Another C string constant used much like `LINK_SPEC'. The difference @@ -151,7 +151,7 @@ %{mcpu=tomcat: %(cpp_fr500)} \ %{mcpu=simple: %(cpp_simple)} \ %{!mcpu*: %(cpp_cpu_default)} \ -%{mno-media: -D__FRV_ACC__=0 %{msoft-float: -D__FRV_FPR__=0}} \ +%{mno-media: -U__FRV_ACC__ -D__FRV_ACC__=0 %{msoft-float: -U__FRV_FPR__ -D__FRV_FPR__=0}} \ %{mhard-float: -D__FRV_HARD_FLOAT__} \ %{msoft-float: -U__FRV_HARD_FLOAT__} \ %{mgpr-32: -U__FRV_GPR__ -D__FRV_GPR__=32} \ @@ -203,7 +203,7 @@ -D__FRV_GPR__=32 \ -D__FRV_FPR__=0 \ -D__FRV_ACC__=0 \ -%{mmedia: -D__FRV_ACC__=8} \ +%{mmedia: -U__FRV_ACC__ -D__FRV_ACC__=8} \ %{mhard-float|mmedia: -D__FRV_FPR__=64}" #define MASK_DEFAULT_FRV \ |