[PATCH] Make ldexpF generic.
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Mon Sep 19 20:03:00 GMT 2016
On 09/16/2016 06:12 PM, Joseph Myers wrote:
> On Wed, 14 Sep 2016, Paul E. Murphy wrote:
>
>> Attached is an updated patch. The only substantial change is adding
>> an extra weak alias for to2 for the new macro when building on a
>> NO_LONG_DOUBLE machine. It has been verified on multiple platforms
>> as described in the amended log.
>
> OK.
>
One more fix to this patch. The dependency on the object
directory shouldn't be a dependency. Likewise, as noted
by Andreas, a dependency on Makefile should exist for
incremental builds.
diff --git a/math/Makefile b/math/Makefile
index 0c59616..367f73e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -279,7 +279,8 @@ generated += $(addsuffix .c,$(call type-foreach,$(gen-all-calls))) \
gen-libm-templates.stmp
# Create wrappers in the math build directory.
-$(objpfx)gen-libm-templates.stmp: $(objpfx)
+$(objpfx)gen-libm-templates.stmp: Makefile
+ $(make-target-directory)
for gcall in $(gen-all-calls); do \
func=$${gcall%F*}$${gcall#*F}; \
for type in $(foreach t,$(types),$(t)__$(type-$(t)-suffix)); do \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-ldexpF-generic.patch
Type: text/x-patch
Size: 13829 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160919/bd218677/attachment.bin>
More information about the Libc-alpha
mailing list