From: Alan Modra Date: Mon, 20 Mar 2006 07:56:35 +0000 (+0000) Subject: rs6000.c (rs6000_handle_option): Use TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SY... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0bf274ff52a11b471bb3f2d462d6a59adb9f4cc;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97bf8f09b63..68487e94a4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-20 Alan Modra + + * 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 * 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 babd0760f3b..889f2b085c8 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 {