Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/crtn.S')
-rw-r--r--libgloss/spu/crtn.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/spu/crtn.S b/libgloss/spu/crtn.S
index 8812f1f3e..ef4edfcf6 100644
--- a/libgloss/spu/crtn.S
+++ b/libgloss/spu/crtn.S
@@ -53,4 +53,12 @@
FUNC_END
+ # To ensure nothing is linked at address 0, provide a dummy
+ # .interrupt section. This is in crtn.S to make sure any
+ # user-provided real .interrupt section will get linked
+ # in front of this dummy.
+ .section ".interrupt","ax"
+ .align 2
+ heq $0,$0
+
# end of crtn.S