15 lines
688 B
Diff
15 lines
688 B
Diff
diff -u -r ../gc-8.0.2/os_dep.c ./os_dep.c
|
|
--- ../gc-8.0.2/os_dep.c 2018-12-23 21:28:41.000000000 +0000
|
|
+++ ./os_dep.c 2019-01-20 19:58:07.823582155 +0000
|
|
@@ -436,7 +436,9 @@
|
|
|
|
# if (defined(LINUX) || defined(HURD)) && !defined(IGNORE_PROG_DATA_START)
|
|
/* Try the easy approaches first: */
|
|
-# ifdef HOST_ANDROID
|
|
+# ifdef HOST_ANDROID_DISABLED_TERMUX
|
|
+ /* This workaround for gold linker when only aarch64 is using it in
|
|
+ Termux breaks other arches - apply it to aarch64 only. */
|
|
/* Workaround for "gold" (default) linker (as of Android NDK r10e). */
|
|
if ((word)__data_start < (word)_etext
|
|
&& (word)_etext < (word)__dso_handle) {
|