summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx
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/mbx8xx
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/mbx8xx')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc
index 922d95dc95..f041d03437 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.inc
@@ -41,7 +41,7 @@ RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE)
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL) \
- -meabi -msdata -fno-common
+ -meabi -msdata=sysv -fno-common
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions