mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 06:29:37 +00:00
7109092: Wrong computation results with double at armsflt
Need to link to custom soft-float library with required FP accuracy Reviewed-by: alanb, ohair
This commit is contained in:
parent
c125edce88
commit
ac8579d7f8
@ -65,5 +65,12 @@ ifdef CROSS_COMPILE_ARCH
|
||||
NIO_PLATFORM_CLASSES_ROOT_DIR = $(CLOSED_PLATFORM_SRC)/classes/
|
||||
endif
|
||||
|
||||
# For ARM sflt we need to link to a library with improved FP accuracy
|
||||
# and it must be linked after fdlibm - this places it at the end after libc
|
||||
# -z muldefs avoids linker errors for duplicate symbols.
|
||||
ifeq ($(CROSS_COMPILE_ARCH), arm)
|
||||
EXTRA_LIBS += $(EXT_LIBS_PATH)/sflt_glibc_jdk.a -Xlinker -z -Xlinker muldefs
|
||||
endif
|
||||
|
||||
endif # JAVASE_EMBEDDED
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user