source: rtems/c/src/lib/libbsp/sparc/erc32/make/custom/erc32.cfg @ 24a6943

4.115
Last change on this file since 24a6943 was 24a6943, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 24, 2013 at 11:37:17 PM

sparc all BSPs: Use function and data sections

This reduces the size of the RTEMS tests on average about 45%.

  • Property mode set to 100644
File size: 482 bytes
Line 
1#
2#  Config file for the European Space Agency ERC32
3#  a V7 SPARC processor derived from the Cypress 601/602 set.
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=sparc
8RTEMS_CPU_MODEL=erc32
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12CPU_CFLAGS = -mcpu=cypress
13
14# optimize flag: typically -O2
15CFLAGS_OPTIMIZE_V = -O2 -g
16CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
17
18LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.