8202210: jlink uses little-endian for big-endian cross-compilation targets
Reviewed-by: ihse, alanb, stuefe
--- a/make/Images.gmk Wed Apr 25 13:54:11 2018 +0200
+++ b/make/Images.gmk Wed Apr 25 14:53:35 2018 +0200
@@ -117,7 +117,7 @@
JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(IMAGES_OUTPUTDIR)/jmods \
- --endian $(OPENJDK_BUILD_CPU_ENDIAN) \
+ --endian $(OPENJDK_TARGET_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
--dedup-legal-notices=error-if-not-same-content \