summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-21 13:32:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-24 12:49:42 +0100
commit0fe0718b7230a7b58eb120b40110579d950ada91 (patch)
tree6a4a4d8924e747d9953299d3b057d868680a89b0 /c/src/lib/libbsp/powerpc/virtex
parentbsp/leon3: Add bsp_reset() for SMP configuration (diff)
downloadrtems-0fe0718b7230a7b58eb120b40110579d950ada91.tar.bz2
bsps/powerpc: Use System V small-data area
The 32-bit ABIs for thread-local storage (TLS) and EABI read-only small-data area have a conflicting register (r2) usage. Use the System V small-data instead (here r2 is system reserved).
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex')
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg b/c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg
index 96aa7cc558..8af407292b 100644
--- a/c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg
+++ b/c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg
@@ -10,7 +10,7 @@ RTEMS_CPU_MODEL=ppc405
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata -fno-common
+CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata=sysv -fno-common
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS