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