From: David Edelsohn Date: Fri, 6 Jun 2008 01:52:50 +0000 (+0000) Subject: xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not always place FP constants in the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bf2f78acceebc97378cd1a7106c1ae3f41c75de;p=gcc.git xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not always place FP constants in the TOC for TARGET_POWERPC64. * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not always place FP constants in the TOC for TARGET_POWERPC64. * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Same. From-SVN: r136423 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cb7ec5d3d7..687bc5e9fdd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-06-05 David Edelsohn + + * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not + always place FP constants in the TOC for TARGET_POWERPC64. + * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Same. + 2008-06-05 Joseph Myers * config.gcc (powerpc-*-linux*spe*): Use t-dfprules. diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index e83e0e9697a..f9221f3ad32 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -477,8 +477,7 @@ extern int dot_symbols; && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode)) \ || (GET_CODE (X) == CONST_DOUBLE \ && ((TARGET_64BIT \ - && (TARGET_POWERPC64 \ - || TARGET_MINIMAL_TOC \ + && (TARGET_MINIMAL_TOC \ || (SCALAR_FLOAT_MODE_P (GET_MODE (X)) \ && ! TARGET_NO_FP_IN_TOC))) \ || (!TARGET_64BIT \ diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index c4bceca833c..3cf6e4b13ab 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -83,8 +83,7 @@ || (GET_CODE (X) == CONST_INT \ && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode)) \ || (GET_CODE (X) == CONST_DOUBLE \ - && (TARGET_POWERPC64 \ - || TARGET_MINIMAL_TOC \ + && (TARGET_MINIMAL_TOC \ || (SCALAR_FLOAT_MODE_P (GET_MODE (X)) \ && ! TARGET_NO_FP_IN_TOC)))))