summaryrefslogtreecommitdiff
path: root/libgcc/config/s390/morestack.S
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/s390/morestack.S')
-rw-r--r--libgcc/config/s390/morestack.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/config/s390/morestack.S b/libgcc/config/s390/morestack.S
index 80349fd869c..d873de90d12 100644
--- a/libgcc/config/s390/morestack.S
+++ b/libgcc/config/s390/morestack.S
@@ -28,6 +28,8 @@
# also cover signal frame size.
#define BACKOFF 0x1000
+#include <auto-host.h>
+
# The __morestack function.
.global __morestack
@@ -594,7 +596,11 @@ __morestack_make_guard:
# Make __stack_split_initialize a high priority constructor.
+#if HAVE_INITFINI_ARRAY_SUPPORT
+ .section .init_array.00000,"aw",@progbits
+#else
.section .ctors.65535,"aw",@progbits
+#endif
#ifndef __LP64__
.align 4