summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgloss/aarch64/crt0.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S
index ed4dafcb1..cbff11a49 100644
--- a/libgloss/aarch64/crt0.S
+++ b/libgloss/aarch64/crt0.S
@@ -144,8 +144,10 @@
sub x2, x2, x0 /* Third arg: length of block */
bl FUNCTION (memset)
+#ifdef ARM_RDI_MONITOR
/* Need to set up standard file handles */
bl FUNCTION (initialise_monitor_handles)
+#endif
/* .init and .fini sections are used to create constructors
and destructors. Here we call the _init function and arrange