about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/setjmp/microblaze/setjmp.s3
-rw-r--r--src/signal/microblaze/sigsetjmp.s5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/setjmp/microblaze/setjmp.s b/src/setjmp/microblaze/setjmp.s
index 40afcc0d..605ab20e 100644
--- a/src/setjmp/microblaze/setjmp.s
+++ b/src/setjmp/microblaze/setjmp.s
@@ -1,9 +1,12 @@
+.global ___setjmp
+.hidden ___setjmp
 .global __setjmp
 .global _setjmp
 .global setjmp
 .type __setjmp,@function
 .type _setjmp,@function
 .type setjmp,@function
+___setjmp:
 __setjmp:
 _setjmp:
 setjmp:
diff --git a/src/signal/microblaze/sigsetjmp.s b/src/signal/microblaze/sigsetjmp.s
index 8430c9c4..d1dd24c0 100644
--- a/src/signal/microblaze/sigsetjmp.s
+++ b/src/signal/microblaze/sigsetjmp.s
@@ -4,12 +4,13 @@
 .type __sigsetjmp,@function
 sigsetjmp:
 __sigsetjmp:
-	beqi r6, setjmp@PLT
+.hidden ___setjmp
+	beqi r6, ___setjmp
 
 	swi r15,r5,72
 	swi r19,r5,72+4+8
 
-	brlid r15,setjmp@PLT
+	brlid r15,___setjmp
 	 ori r19,r5,0
 
 	ori r6,r3,0