diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg')
-rw-r--r-- | c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg b/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg index 8ff97b3a1a..98e8fd9055 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg @@ -8,12 +8,15 @@ RTEMS_CPU=powerpc RTEMS_CPU_MODEL=mpc750 # This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. +# and (hopefully) optimize for it. # CPU_CFLAGS = -mcpu=750 -Dmpc750 # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections define bsp-post-link $(default-bsp-post-link) |