summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/microblaze
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-10-04 10:50:48 +1000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-06 22:22:25 +0200
commitcc5499a6a678e4caf1b06f33192de84d5ab88fd5 (patch)
treecfdf913a1e0b0e59863e3ae21e45ac397d6e367e /libc/sysdeps/linux/microblaze
parentc13e46c982133482f32352c5a845978a5f076116 (diff)
microblaze linux has no SDA support
The linker does not set up the Small Data Area symbols, _SDA_BASE_ and _SDA2_BASE_ so don't try to resolve them Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au> Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/microblaze')
-rw-r--r--libc/sysdeps/linux/microblaze/crt0.S4
-rw-r--r--libc/sysdeps/linux/microblaze/crt1.S4
2 files changed, 0 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/microblaze/crt0.S b/libc/sysdeps/linux/microblaze/crt0.S
index 591c3a2f8..6be1e4dfa 100644
--- a/libc/sysdeps/linux/microblaze/crt0.S
+++ b/libc/sysdeps/linux/microblaze/crt0.S
@@ -31,10 +31,6 @@ C_ENTRY(_start):
add r3, r3, r3
add r7, r6, r3 /* add to argv to get offset */
- /* Load SDAs */
- la r2, r0, C_SYMBOL_NAME(_SDA_BASE_)
- la r13, r0, C_SYMBOL_NAME(_SDA2_BASE_)
-
/* tail-call uclibc's startup routine */
brid C_SYMBOL_NAME(__uClibc_main)
nop
diff --git a/libc/sysdeps/linux/microblaze/crt1.S b/libc/sysdeps/linux/microblaze/crt1.S
index e9564cfba..7bf8f64c1 100644
--- a/libc/sysdeps/linux/microblaze/crt1.S
+++ b/libc/sysdeps/linux/microblaze/crt1.S
@@ -24,10 +24,6 @@
.align 4
C_SYMBOL_NAME(_start):
- /* Load SDAs */
- la r2, r0, C_SYMBOL_NAME(_SDA2_BASE_) /* in the original source r2 was SDA, and r13 was SDA2, no idea why */
- la r13, r0, C_SYMBOL_NAME(_SDA_BASE_)
-
/*
Preparing arguments for uClibc's startup routine.
The routine has 6 arguments, so 5 of them are placed