[PATCH 00/29] Simplify bsp_specs

Joel Sherrill joel at rtems.org
Tue Dec 19 00:00:56 UTC 2017


Hi

This patch series simplifies bsp_specs files by moving
ENTRY and STARTUP to the linker script.  It also eliminated
BSP unique additions to bsp_specs. These are documented in
the git log in case someone complains.

I did not touch the m68k yet and I ***NEED*** help to do
this cleanup to the PowerPC.  

After this pass of cleanup is complete, we have to figure
out how to deal with crti/n/begin/end. I think our GCC
configuration breaks the implicit rules for us. So it may
take tinkering with GCC. But we are VERY close to eliminating
bsp_specs.

I did limited testing. Mostly "did it build" since I have access
to only a handful of BSPs. I would appreciate any testing that gets
done.

Thanks.

Joel Sherrill (29):
  sparc/*/bsp_specs, shared/linkcmds: Simplify bsp_specs
  csb360: Simplify bsp_specs
  mcf5206elite: Simplify bsp_specs
  mvme167: Simplify bsp_specs
  gdbv850sim: Simplify bsp_specs
  epiphany: Simplify bsp_specs
  pc386: Simplify bsp_specs
  lm32_evr: Simplify bsp_specs
  milkymist: Simplify bsp_specs
  moxiesim: Simplify bsp_specs
  m32cbsp: Simplify bsp_specs
  generic_or1k: Simplify bsp_specs
  nios2_iss: Simplify bsp_specs
  bf537Stamp: Simplify bsp_specs
  eZKit533: Simplify bsp_specs
  TLL6527M: Simplify bsp_specs
  riscv_generic: Simplify bsp_specs
  ARM BSPs: Simplify bsp_specs
  sparc64 BSPs: Simplify bsp_specs
  csb350: Simplify bsp_specs
  hurricane: Simplifies bsp_specs
  jmr3904: Simplify bsp_specs
  malta: Simplify bsp_specs
  rbtx4925: Simplify bsp_specs
  rbtx4938: Simplify bsp_specs
  shsim: Simplify bsp_specs
  gensh1: Simplify bsp_specs
  gensh2: Simplify bsp_specs
  gensh4: Simplify bsp_specs

 c/src/lib/libbsp/arm/altera-cyclone-v/bsp_specs    |   6 +-
 c/src/lib/libbsp/arm/atsam/bsp_specs               |   6 +-
 c/src/lib/libbsp/arm/beagle/bsp_specs              |   6 +-
 c/src/lib/libbsp/arm/csb336/bsp_specs              |   6 +-
 c/src/lib/libbsp/arm/csb337/bsp_specs              |   6 +-
 c/src/lib/libbsp/arm/edb7312/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/gdbarmsim/bsp_specs           |   6 +-
 c/src/lib/libbsp/arm/gumstix/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/imx/bsp_specs                 |   6 +-
 c/src/lib/libbsp/arm/lm3s69xx/bsp_specs            |   6 +-
 c/src/lib/libbsp/arm/lpc176x/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/lpc24xx/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/lpc32xx/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/raspberrypi/bsp_specs         |   6 +-
 c/src/lib/libbsp/arm/realview-pbx-a9/bsp_specs     |   6 +-
 c/src/lib/libbsp/arm/rtl22xx/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/shared/startup/linkcmds.base  |   1 +
 c/src/lib/libbsp/arm/smdk2410/bsp_specs            |   6 +-
 c/src/lib/libbsp/arm/stm32f4/bsp_specs             |   6 +-
 c/src/lib/libbsp/arm/tms570/bsp_specs              |   6 +-
 c/src/lib/libbsp/arm/xilinx-zynq/bsp_specs         |   6 +-
 c/src/lib/libbsp/bfin/TLL6527M/bsp_specs           |   6 +-
 c/src/lib/libbsp/bfin/TLL6527M/startup/linkcmds    |   1 +
 c/src/lib/libbsp/bfin/bf537Stamp/bsp_specs         |   6 +-
 c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds  |   1 +
 c/src/lib/libbsp/bfin/eZKit533/bsp_specs           |   6 +-
 c/src/lib/libbsp/bfin/eZKit533/startup/linkcmds    |   1 +
 c/src/lib/libbsp/epiphany/epiphany_sim/bsp_specs   |   6 +-
 .../libbsp/epiphany/epiphany_sim/startup/linkcmds  |   1 +
 c/src/lib/libbsp/i386/pc386/Makefile.am            |   2 +-
 c/src/lib/libbsp/i386/pc386/bsp_specs              |   6 +-
 c/src/lib/libbsp/i386/pc386/startup/linkcmds       |   3 +-
 c/src/lib/libbsp/lm32/lm32_evr/bsp_specs           |   6 +-
 c/src/lib/libbsp/lm32/lm32_evr/startup/linkcmds    |   3 +-
 c/src/lib/libbsp/lm32/milkymist/bsp_specs          |   6 +-
 c/src/lib/libbsp/lm32/milkymist/startup/linkcmds   |   3 +-
 c/src/lib/libbsp/m32c/m32cbsp/bsp_specs            |   6 +-
 c/src/lib/libbsp/m32c/m32cbsp/startup/linkcmds     |   1 +
 c/src/lib/libbsp/m68k/csb360/bsp_specs             |  10 +-
 c/src/lib/libbsp/m68k/mcf5206elite/bsp_specs       |  10 +-
 c/src/lib/libbsp/m68k/mvme167/bsp_specs            |   7 -
 c/src/lib/libbsp/mips/csb350/bsp_specs             |   6 +-
 c/src/lib/libbsp/mips/csb350/startup/linkcmds      |   2 +
 c/src/lib/libbsp/mips/hurricane/bsp_specs          |   6 +-
 c/src/lib/libbsp/mips/hurricane/startup/linkcmds   |   3 +
 c/src/lib/libbsp/mips/jmr3904/bsp_specs            |   6 +-
 c/src/lib/libbsp/mips/jmr3904/startup/linkcmds     |   3 +
 c/src/lib/libbsp/mips/malta/bsp_specs              |   6 +-
 c/src/lib/libbsp/mips/malta/startup/linkcmds       |   3 +
 c/src/lib/libbsp/mips/rbtx4925/bsp_specs           |   6 +-
 c/src/lib/libbsp/mips/rbtx4925/startup/linkcmds    |   3 +
 c/src/lib/libbsp/mips/rbtx4938/bsp_specs           |   6 +-
 c/src/lib/libbsp/mips/rbtx4938/startup/linkcmds    |   3 +
 c/src/lib/libbsp/moxie/moxiesim/bsp_specs          |   6 +-
 c/src/lib/libbsp/moxie/moxiesim/startup/linkcmds   |   1 +
 c/src/lib/libbsp/nios2/nios2_iss/bsp_specs         |   6 +-
 c/src/lib/libbsp/nios2/nios2_iss/startup/linkcmds  |   3 +-
 c/src/lib/libbsp/or1k/generic_or1k/bsp_specs       |   6 +-
 c/src/lib/libbsp/or1k/shared/startup/linkcmds.base |   1 +
 c/src/lib/libbsp/riscv/riscv_generic/bsp_specs     |   6 +-
 .../libbsp/riscv/riscv_generic/startup/linkcmds    |   1 +
 c/src/lib/libbsp/sh/gensh1/bsp_specs               |   6 +-
 c/src/lib/libbsp/sh/gensh1/startup/linkcmds        |   1 +
 c/src/lib/libbsp/sh/gensh2/bsp_specs               |   6 +-
 c/src/lib/libbsp/sh/gensh2/startup/linkcmds        |   1 +
 c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram    |   2 +-
 c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom    |   2 +-
 c/src/lib/libbsp/sh/gensh4/bsp_specs               |   6 +-
 c/src/lib/libbsp/sh/gensh4/startup/linkcmds        |   2 +
 c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom    |   2 +
 .../lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram  |   2 +
 c/src/lib/libbsp/sh/shsim/Makefile.am              |   1 -
 c/src/lib/libbsp/sh/shsim/bsp_specs                |   6 +-
 c/src/lib/libbsp/sh/shsim/preinstall.am            |   4 -
 c/src/lib/libbsp/sh/shsim/startup/linkcmds         |   1 +
 c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim     | 232 ---------------------
 c/src/lib/libbsp/sparc/erc32/bsp_specs             |   2 +-
 c/src/lib/libbsp/sparc/leon2/bsp_specs             |   2 +-
 c/src/lib/libbsp/sparc/leon3/bsp_specs             |   2 +-
 .../lib/libbsp/sparc/shared/startup/linkcmds.base  |   2 +
 c/src/lib/libbsp/sparc64/niagara/bsp_specs         |   6 +-
 c/src/lib/libbsp/sparc64/shared/startup/linkcmds   |   3 +-
 c/src/lib/libbsp/sparc64/usiii/bsp_specs           |   6 +-
 c/src/lib/libbsp/v850/gdbv850sim/bsp_specs         |  10 +-
 c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds  |   1 +
 85 files changed, 101 insertions(+), 502 deletions(-)
 delete mode 100644 c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim

-- 
1.8.3.1



More information about the devel mailing list