diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-03-01 05:18:57 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2006-03-01 16:18:57 +1100 |
commit | ec09c26e3a5bbfe7536746c99e826417b2bf4bfe (patch) | |
tree | 940fc4477acda4933ffa4da5c6704f104091a15a /gcc | |
parent | 0eafb3ece622ac104ac19aac4a509abf9aacd101 (diff) | |
download | gcc-ec09c26e3a5bbfe7536746c99e826417b2bf4bfe.zip gcc-ec09c26e3a5bbfe7536746c99e826417b2bf4bfe.tar.gz gcc-ec09c26e3a5bbfe7536746c99e826417b2bf4bfe.tar.bz2 |
config.gcc: Add t-dfprules to $tmake_file for powerpc-*-linux* and powerpc64-*-linux*...
* config.gcc: Add t-dfprules to $tmake_file for powerpc-*-linux*
and powerpc64-*-linux* configurations.
* config/t-dfprules: New file.
From-SVN: r111596
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/t-dfprules | 11 |
3 files changed, 17 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d84296..ee23ce8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2006-03-01 Ben Elliston <bje@au.ibm.com> + * config.gcc: Add t-dfprules to $tmake_file for powerpc-*-linux* + and powerpc64-*-linux* configurations. + * config/t-dfprules: New file. + * mklibgcc.in: Add logic to handle $DFP_ENABLE and $DFP_CFLAGS. Compile dfp-bit.c from the source directory using -DWIDTH and $DFP_CFLAGS to control the compilation of that file, rather than diff --git a/gcc/config.gcc b/gcc/config.gcc index 70f9bae..9aea7ce 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1636,7 +1636,7 @@ powerpc64-*-linux*) tm_file="rs6000/secureplt.h ${tm_file}" fi extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt" - tmake_file="rs6000/t-fprules ${tmake_file} rs6000/t-ppccomm rs6000/t-linux64" + tmake_file="t-dfprules rs6000/t-fprules ${tmake_file} rs6000/t-ppccomm rs6000/t-linux64" ;; powerpc64-*-gnu*) tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux64.h rs6000/gnu.h" @@ -1734,7 +1734,7 @@ powerpc-*-linux*spe*) powerpc-*-linux*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" extra_options="${extra_options} rs6000/sysv4.opt" - tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" + tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" case ${enable_targets}:${cpu_is_64bit} in *powerpc64* | all:* | *:yes) if test x$cpu_is_64bit = xyes; then diff --git a/gcc/config/t-dfprules b/gcc/config/t-dfprules new file mode 100644 index 0000000..779838e --- /dev/null +++ b/gcc/config/t-dfprules @@ -0,0 +1,11 @@ +# Use DFP_ENABLE to build decimal floating point support routines for +# all decimal floating point types (32-bit, 64-bit and 128-bit). We +# use `true' for clarity, but any value will do. +# +DFP_ENABLE = true + +# DFP_CFLAGS can be used to pass target-specific CFLAGS when compiling +# dfp-bit.c. This is useful for overriding the definition of CMPtype +# and other macros. +# +# DFP_CFLAGS = -DFOO=bar |