summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb
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/mpc55xxevb
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/mpc55xxevb')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
index fa469fad23..6a2c329af8 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx.inc
@@ -16,7 +16,7 @@ RTEMS_CPU_MODEL = mpc55xx
CPU_CFLAGS_FLOAT?=-msoft-float
# FIXME
-CPU_CFLAGS = -mcpu=8540 -meabi -msdata -fno-common $(CPU_CFLAGS_FLOAT) \
+CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \
-D__ppc_generic -mstrict-align
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions