t-softfp-compat revision 1.1
1# When TFmode was first added to x86-64 in gcc 4.3.0, some TFmode 2# support functions got improper versions by accident. Here we 3# correct the version and provide backward binary compatibility. 4 5# Filter out the following TFmode functions. 6tf-compats = getf2.c letf2.c eqtf2.c 7tf-functions := $(addprefix $(gcc_srcdir)/config/soft-fp/, $(tf-compats)) 8LIB2ADD := $(filter-out $(tf-functions), $(LIB2ADD)) 9LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(tf-compats)) 10 11# Replace _divtc3, _multc3 and _powitf2. 12libgcc2-tf-functions = _divtc3 _multc3 _powitf2 13LIB2FUNCS_EXCLUDE += $(libgcc2-tf-functions) 14libgcc2-tf-compats = $(addsuffix .c, $(libgcc2-tf-functions)) 15LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(libgcc2-tf-compats)) 16