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. 6 tf-compats = getf2.c letf2.c eqtf2.c 7 tf-functions := $(addprefix $(srcdir)/soft-fp/, $(tf-compats)) 8 LIB2ADD := $(filter-out $(tf-functions), $(LIB2ADD)) 9 LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(tf-compats)) 10 11 # Replace _divtc3, _multc3 and _powitf2. 12 libgcc2-tf-functions = _divtc3 _multc3 _powitf2 13 LIB2FUNCS_EXCLUDE += $(libgcc2-tf-functions) 14 libgcc2-tf-compats = $(addsuffix .c, $(libgcc2-tf-functions)) 15 LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(libgcc2-tf-compats)) 16