[PATCH 00/32] Per Function Section Series

Joel Sherrill joel at rtems.org
Fri Mar 11 00:15:04 UTC 2016


This series of patches adds per-function section linking to
every BSP that it didn't obviously break. Obviously breaking
was a significant reduction in the size of the C++ samples.
If C++ was not supported on the target, then checking the
size of other samples. 

There should now be no BSP custom files which do not either
use per-function sections or have them disabled with a pointer
to a ticket.

Joel Sherrill (32):
  arm/lpc24xx (lpc17xx variants): Add per-section compilation and
    linking support.
  atsamv-testsuite.tcfg: new file]
  arm/lpc24xx (lpc24xx variants) Add per-section compilation and linking
    support.
  arm/lpc24xx (lpc40xx variants) Add per-section compilation and linking
    suppo
  arm/lpc32xx: Add per-section compilation and linking suppo
  arm/raspberrypi: Add per-section compilation and linking suppo
  arm/realview_pbx_a9_qemu: Add per-section compilation and linking
    support
  arm/rtl22xx: Add per-section compilation and linking support
  arm/smdk2410: Add per-section compilation and linking support
  arm/stm32f4: Add per-section compilation and linking support
  arm/tms570: Add per-section compilation and linking support
  arm/xilinx_zynq: Add per-section compilation and linking support
  bfin/eZKit533: Add per-section compilation and linking support
  bfin/bf537Stamp: Add per-section compilation and linking support
  bfin/TLL6527M: Add per-section compilation and linking support
  epiphany/epiphany: Add per-section compilation and linking support
  pc386.cfg: Add disabled per-function-sections
  lm32/lm32_evr: Add per-section compilation and linking support
  lm32/lm32_evr: Add per-section compilation and linking support
  m32c/m32csim: Add per-section compilation and linking support
  m32csim.cfg: GCC PR37665 is fixed but there is still a compiler error.
    Use -O0.
  nios2/nios2_iss: Add per-section compilation and linking support
  no_bsp.cfg: Add hints for CFLAGS and LDFLAGS
  or1k/generic_or1k: Add per-section compilation and linking support
  sh/gensh1: Add per-section compilation and linking support
  sh/gensh2: Add per-section compilation and linking support
  sh/gensh4: Add per-section compilation and linking support
  sh/simsh: Add per-section compilation and linking support
  powerpc/motorola_powerpc: Add per-section compilation and linking
    support
  sparc64/niagara: Add per-section compilation and linking support
  sparc64/usiii: Add per-section compilation and linking support
  v850/gdbv850sim: Add per-section compilation and linking support

 c/src/lib/libbsp/arm/atsam/make/custom/atsamv-testsuite.tcfg |  6 ++++++
 c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc17xx.inc         |  4 ++++
 c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc         |  3 +++
 c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc40xx.inc         |  3 +++
 c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx.inc         |  3 +++
 c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.inc |  3 +++
 .../arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg |  3 +++
 c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg         |  3 +++
 c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg       |  4 +++-
 c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg       |  3 +++
 c/src/lib/libbsp/arm/stm32f4/make/custom/stm32f4.cfg         |  3 +++
 c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137.inc     |  7 ++++++-
 c/src/lib/libbsp/arm/xilinx-zynq/make/custom/xilinx_zynq.inc |  3 +++
 c/src/lib/libbsp/bfin/TLL6527M/make/custom/TLL6527M.cfg      |  3 +++
 c/src/lib/libbsp/bfin/bf537Stamp/make/custom/bf537Stamp.cfg  |  3 +++
 c/src/lib/libbsp/bfin/eZKit533/make/custom/eZKit533.cfg      |  3 +++
 .../epiphany/epiphany_sim/make/custom/epiphany_sim.cfg       |  3 +++
 c/src/lib/libbsp/i386/pc386/make/custom/pc386.cfg            |  4 ++++
 c/src/lib/libbsp/lm32/lm32_evr/make/custom/lm32_evr.cfg      |  3 +++
 c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg    |  3 +++
 c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg        | 10 +++++-----
 c/src/lib/libbsp/nios2/nios2_iss/make/custom/nios2_iss.cfg   |  3 +++
 c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg        |  6 +++++-
 .../libbsp/or1k/generic_or1k/make/custom/generic_or1k.cfg    |  3 +++
 .../libbsp/powerpc/motorola_powerpc/make/custom/mcp750.cfg   |  5 ++++-
 .../libbsp/powerpc/motorola_powerpc/make/custom/mtx603e.cfg  |  5 ++++-
 .../libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg |  5 ++++-
 .../libbsp/powerpc/motorola_powerpc/make/custom/mvme2307.cfg |  7 +++++--
 .../motorola_powerpc/make/custom/qemuprep-altivec.cfg        |  5 ++++-
 .../libbsp/powerpc/motorola_powerpc/make/custom/qemuprep.cfg |  5 ++++-
 c/src/lib/libbsp/sh/gensh1/make/custom/gensh1.cfg            |  3 +++
 c/src/lib/libbsp/sh/gensh2/make/custom/gensh2.cfg            |  4 +++-
 c/src/lib/libbsp/sh/gensh4/make/custom/gensh4.cfg            |  5 ++++-
 c/src/lib/libbsp/sh/shsim/make/custom/simsh1.cfg             |  5 ++++-
 c/src/lib/libbsp/sh/shsim/make/custom/simsh2.cfg             |  5 ++++-
 c/src/lib/libbsp/sh/shsim/make/custom/simsh2e.cfg            |  5 ++++-
 c/src/lib/libbsp/sh/shsim/make/custom/simsh4.cfg             |  5 ++++-
 c/src/lib/libbsp/sparc64/niagara/make/custom/niagara.cfg     |  3 +++
 c/src/lib/libbsp/sparc64/usiii/make/custom/usiii.cfg         |  3 +++
 c/src/lib/libbsp/v850/gdbv850sim/make/custom/v850sim.inc     |  3 +++
 c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds            | 12 +++++++++++-
 41 files changed, 155 insertions(+), 22 deletions(-)
 create mode 100644 c/src/lib/libbsp/arm/atsam/make/custom/atsamv-testsuite.tcfg

-- 
1.8.3.1



More information about the devel mailing list