diff options
author | Alan Modra <amodra@bigpond.net.au> | 2006-03-20 07:56:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2006-03-20 18:26:35 +1030 |
commit | e0bf274ff52a11b471bb3f2d462d6a59adb9f4cc (patch) | |
tree | 317d975617a0841013ecaeeb5561af8c7ae10f30 /gcc | |
parent | 6d394a5c8c6a907a4b506e5002282f481cad136d (diff) | |
download | gcc-e0bf274ff52a11b471bb3f2d462d6a59adb9f4cc.zip gcc-e0bf274ff52a11b471bb3f2d462d6a59adb9f4cc.tar.gz gcc-e0bf274ff52a11b471bb3f2d462d6a59adb9f4cc.tar.bz2 |
rs6000.c (rs6000_handle_option): Use TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.
* config/rs6000/rs6000.c (rs6000_handle_option): Use
TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.
From-SVN: r112223
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97bf8f0..68487e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-20 Alan Modra <amodra@bigpond.net.au> + + * config/rs6000/rs6000.c (rs6000_handle_option): Use + TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too. + 2006-03-19 David Edelsohn <edelsohn@gnu.org> * genpreds.c (write_tm_preds_h): Add semicolon and newline at diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index babd076..889f2b0 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -1753,18 +1753,18 @@ rs6000_handle_option (size_t code, const char *arg, int value) case OPT_mrelocatable: if (value == 1) { - target_flags |= MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC; - target_flags_explicit |= MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC; + target_flags |= MASK_MINIMAL_TOC; + target_flags_explicit |= MASK_MINIMAL_TOC; + TARGET_NO_FP_IN_TOC = 1; } break; case OPT_mrelocatable_lib: if (value == 1) { - target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC - | MASK_NO_FP_IN_TOC; - target_flags_explicit |= MASK_RELOCATABLE | MASK_MINIMAL_TOC - | MASK_NO_FP_IN_TOC; + target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC; + target_flags_explicit |= MASK_RELOCATABLE | MASK_MINIMAL_TOC; + TARGET_NO_FP_IN_TOC = 1; } else { |