re PR target/36669 (Wrong versioning for __float128)
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 2 Jul 2008 15:59:19 +0000 (15:59 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 2 Jul 2008 15:59:19 +0000 (08:59 -0700)
commitff473280054c876499089772cea1a5fc56970d64
tree819f63abca489ef0ba829bffcc7e52b44128bb73
parentb12285bdfc30eeefc48555bc6aa4e571248ee14d
re PR target/36669 (Wrong versioning for __float128)

gcc/

2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>

PR target/36669
* config/libgcc-glibc.ver: Add %exclude.
* config/m32r/libgcc-glibc.ver: Likwise.
* config/s390/libgcc-glibc.ver: Likwise.
* config/sh/libgcc-glibc.ver: Likwise.
* config/sparc/libgcc-sparc-glibc.ver: Likwise.

* config/i386/libgcc-glibc.ver: New.

* config/i386/libgcc-x86_64-glibc.ver: Removed.

2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>

* config.gcc: Remove i386/t-fprules-softfp64 soft-fp/t-softfp
from tmake_file from i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*.  Add
i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for
i[34567]86-*-darwin*, x86_64-*-darwin*, i[34567]86-*-linux*,
x86_64-*-linux*.  Add i386/t-linux to tmake_file for
i[34567]86-*-linux*, x86_64-*-linux*.

* libgcc-std.ver: Add empty GCC_4.4.0.

* mkmap-symver.awk: Support multiple versions per symbol.

* config/i386/i386.c (ix86_init_builtins): Always define
__builtin_fabsq and __builtin_copysignq with fallbacks.
(ix86_expand_builtin): Emit normal call for __builtin_fabsq
and __builtin_copysignq if SSE2 isn't available.

* config/i386/linux.h (LIBGCC2_HAS_TF_MODE): Defined.
(LIBGCC2_TF_CEXT): Likwise.
(TF_SIZE): Likwise.

* config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): Defined as 1.

* config/i386/sfp-machine.h: Moved to libgcc.

* config/i386/sfp-machine.h: New.
* config/i386/t-linux: Likwise.

* config/i386/t-darwin: Remove softfp_wrap_start and
softfp_wrap_end.
* config/i386/t-darwin64: Likewise.

* config/i386/t-fprules-softfp64: Renamed to ...
* config/i386/t-fprules-softfp: This.

* config/i386/t-linux64: Remove SHLIB_MAPFILES, softfp_wrap_start
and softfp_wrap_end.

libgcc/

2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>

PR target/36669
* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.

* config/i386/64/_divtc3-compat.c: New.
* config/i386/64/_multc3-compat.c: Likewise.
* config/i386/64/_powitf2-compat.c: Likewise.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/t-fprules-softfp: Likewise.

2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>

* config.host: Add i386/${host_address}/t-fprules-softfp to
tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
i[34567]86-*-linux*, x86_64-*-linux*.

* configure.ac: Set host_address to 64 or 32 for x86.
* configure: Regenerated.

* Makefile.in (config.status): Also depend on
$(srcdir)/config.host.

* config/i386/32/t-fprules-softfp: New.
* config/i386/32/tf-signs.c: Likewise.

* config/i386/64/sfp-machine.h: New. Moved from gcc.

2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
    Uros Bizjak  <ubizjak@gmail.com>

* config/i386/32/sfp-machine.h: New.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r137369
38 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/i386.c
gcc/config/i386/libgcc-glibc.ver [new file with mode: 0644]
gcc/config/i386/libgcc-x86_64-glibc.ver [deleted file]
gcc/config/i386/linux.h
gcc/config/i386/linux64.h
gcc/config/i386/sfp-machine.h
gcc/config/i386/t-darwin
gcc/config/i386/t-darwin64
gcc/config/i386/t-fprules-softfp [new file with mode: 0644]
gcc/config/i386/t-fprules-softfp64 [deleted file]
gcc/config/i386/t-linux [new file with mode: 0644]
gcc/config/i386/t-linux64
gcc/config/libgcc-glibc.ver
gcc/config/m32r/libgcc-glibc.ver
gcc/config/s390/libgcc-glibc.ver
gcc/config/sh/libgcc-glibc.ver
gcc/config/sparc/libgcc-sparc-glibc.ver
gcc/libgcc-std.ver
gcc/mkmap-symver.awk
libgcc/ChangeLog
libgcc/Makefile.in
libgcc/config.host
libgcc/config/i386/32/sfp-machine.h [new file with mode: 0644]
libgcc/config/i386/32/t-fprules-softfp [new file with mode: 0644]
libgcc/config/i386/32/tf-signs.c [new file with mode: 0644]
libgcc/config/i386/64/_divtc3-compat.c [new file with mode: 0644]
libgcc/config/i386/64/_multc3-compat.c [new file with mode: 0644]
libgcc/config/i386/64/_powitf2-compat.c [new file with mode: 0644]
libgcc/config/i386/64/eqtf2.c [new file with mode: 0644]
libgcc/config/i386/64/getf2.c [new file with mode: 0644]
libgcc/config/i386/64/letf2.c [new file with mode: 0644]
libgcc/config/i386/64/sfp-machine.h [new file with mode: 0644]
libgcc/config/i386/64/t-fprules-softfp [new file with mode: 0644]
libgcc/configure
libgcc/configure.ac
libgcc/shared-object.mk