123456789101112131415161718192021222324252627 |
- $OpenBSD: patch-libgcc_config_t-hardfp,v 1.1 2015/09/11 08:07:44 pascal Exp $
- --- libgcc/config/t-hardfp.orig Fri Aug 28 12:33:13 2015
- +++ libgcc/config/t-hardfp Fri Aug 28 12:33:30 2015
- @@ -51,11 +51,11 @@ hardfp_func_list += $(foreach pair, $(hardfp_truncatio
- $(subst M,$(pair),truncM2))
-
- # Regexp for matching a floating-point mode.
- -hardfp_mode_regexp := $(shell echo $(hardfp_float_modes) | sed 's/ /\\|/g')
- +hardfp_mode_regexp := $(shell echo $(hardfp_float_modes) | gsed 's/ /\\|/g')
-
- # Regexp for matching the end of a function name, after the last
- # floating-point mode.
- -hardfp_suffix_regexp := $(shell echo $(hardfp_int_modes) 2 3 | sed 's/ /\\|/g')
- +hardfp_suffix_regexp := $(shell echo $(hardfp_int_modes) 2 3 | gsed 's/ /\\|/g')
-
- # Add -D options to define:
- # FUNC: the function name (e.g. __addsf3)
- @@ -64,7 +64,7 @@ hardfp_suffix_regexp := $(shell echo $(hardfp_int_mode
- # TYPE: the last floating-point mode (e.g. sf)
- hardfp_defines_for = \
- $(shell echo $1 | \
- - sed 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& -DOP_\1\3 -DTYPE=\2/')
- + gsed 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& -DOP_\1\3 -DTYPE=\2/')
-
- hardfp-o = $(patsubst %,%$(objext),$(hardfp_func_list))
- $(hardfp-o): %$(objext): $(srcdir)/config/hardfp.c
|