summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc8260ads
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/mpc8260ads
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/mpc8260ads')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg b/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
index d316ab6dde..dbee576555 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
@@ -13,7 +13,7 @@ RTEMS_CPU_MODEL=mpc8260
#
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
- -meabi -msdata -fno-common
+ -meabi -msdata=sysv -fno-common
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions