[gcc r12-3670] libgcc, X86: Exclude rules for libgcc2 __{div, mul}hc3.
Iain D Sandoe
iains@gcc.gnu.org
Sun Sep 19 18:38:19 GMT 2021
https://gcc.gnu.org/g:1297a40fb331467c9ac841dee1c30b6716655517
commit r12-3670-g1297a40fb331467c9ac841dee1c30b6716655517
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sat Sep 18 19:55:19 2021 +0100
libgcc, X86: Exclude rules for libgcc2 __{div,mul}hc3.
We want to override the libgcc2 generic version of these functions
for X86. First exclude the original and the add in the replacements.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/ChangeLog:
* config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
and __mulhc3.
Diff:
---
libgcc/config/i386/t-softfp | 1 +
1 file changed, 1 insertion(+)
diff --git a/libgcc/config/i386/t-softfp b/libgcc/config/i386/t-softfp
index 7620cc0cec5..fe2ad8a3c08 100644
--- a/libgcc/config/i386/t-softfp
+++ b/libgcc/config/i386/t-softfp
@@ -2,6 +2,7 @@ LIB2ADD += $(srcdir)/config/i386/sfp-exceptions.c
# Replace _divhc3 and _mulhc3.
libgcc2-hf-functions = _divhc3 _mulhc3
+LIB2FUNCS_EXCLUDE += $(libgcc2-hf-functions)
libgcc2-hf-extras = $(addsuffix .c, $(libgcc2-hf-functions))
LIB2ADD += $(addprefix $(srcdir)/config/i386/, $(libgcc2-hf-extras))
More information about the Gcc-cvs
mailing list