summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-10-14 09:53:47 +0000
committerraj <raj@FreeBSD.org>2008-10-14 09:53:47 +0000
commit556a6465983a877b5787e9b340efce702299dc65 (patch)
treebfb0713e7b6a4a9b669a1eb4f771e6fbd0372124 /lib/libc/arm
parent2092894d9cbda3fd0a120d7eafce6ed9411ad35a (diff)
downloadFreeBSD-src-556a6465983a877b5787e9b340efce702299dc65.zip
FreeBSD-src-556a6465983a877b5787e9b340efce702299dc65.tar.gz
Let libstand(3) build on ARM.
This is a pre-requisite for loader(8) + U-Boot support library on this arch.
Diffstat (limited to 'lib/libc/arm')
-rw-r--r--lib/libc/arm/gen/_setjmp.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/arm/gen/_setjmp.S b/lib/libc/arm/gen/_setjmp.S
index b938405..1cd370c 100644
--- a/lib/libc/arm/gen/_setjmp.S
+++ b/lib/libc/arm/gen/_setjmp.S
@@ -101,6 +101,10 @@ ENTRY(_longjmp)
/* validation failed, die die die. */
botch:
+#if !defined(_STANDALONE)
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
bl PIC_SYM(_C_LABEL(abort), PLT)
b . - 8 /* Cannot get here */
+#else
+ b .
+#endif
OpenPOWER on IntegriCloud