[rtems commit] build: Use common objects item for get memory

Sebastian Huber sebh at rtems.org
Tue Nov 30 08:32:02 UTC 2021


Module:    rtems
Branch:    master
Commit:    2de3a6e82c853edb8ab35317034748f6c25c04c7
Changeset: http://git.rtems.org/rtems/commit/?id=2de3a6e82c853edb8ab35317034748f6c25c04c7

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov 29 08:35:43 2021 +0100

build: Use common objects item for get memory

---

 spec/build/bsps/aarch64/a53/grp.yml                      |  2 ++
 spec/build/bsps/aarch64/a53/obj.yml                      |  1 -
 spec/build/bsps/aarch64/a72/grp.yml                      |  2 ++
 spec/build/bsps/aarch64/a72/obj.yml                      |  1 -
 spec/build/bsps/aarch64/xilinx-versal/grp.yml            |  2 ++
 spec/build/bsps/aarch64/xilinx-versal/obj.yml            |  1 -
 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml            |  2 ++
 spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml            |  1 -
 spec/build/bsps/arm/atsam/bspatsam.yml                   |  3 ++-
 spec/build/bsps/arm/beagle/grp.yml                       |  2 ++
 spec/build/bsps/arm/beagle/obj.yml                       |  1 -
 spec/build/bsps/arm/csb336/bspcsb336.yml                 |  3 ++-
 spec/build/bsps/arm/csb337/grp.yml                       |  2 ++
 spec/build/bsps/arm/csb337/obj.yml                       |  1 -
 spec/build/bsps/arm/edb7312/bspedb7312.yml               |  3 ++-
 spec/build/bsps/arm/fvp/grp.yml                          |  2 ++
 spec/build/bsps/arm/fvp/obj.yml                          |  1 -
 spec/build/bsps/arm/gumstix/bspgumstix.yml               |  3 ++-
 spec/build/bsps/arm/imxrt/bspimxrt.yml                   |  3 ++-
 spec/build/bsps/arm/lm3s69xx/grp.yml                     |  2 ++
 spec/build/bsps/arm/lm3s69xx/obj.yml                     |  1 -
 spec/build/bsps/arm/lpc176x/grp.yml                      |  2 ++
 spec/build/bsps/arm/lpc176x/obj.yml                      |  1 -
 spec/build/bsps/arm/lpc24xx/grp.yml                      |  2 ++
 spec/build/bsps/arm/lpc24xx/obj.yml                      |  1 -
 spec/build/bsps/arm/lpc32xx/grp.yml                      |  2 ++
 spec/build/bsps/arm/lpc32xx/obj.yml                      |  1 -
 spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml |  3 ++-
 spec/build/bsps/arm/rtl22xx/grp.yml                      |  2 ++
 spec/build/bsps/arm/rtl22xx/obj.yml                      |  1 -
 spec/build/bsps/arm/smdk2410/bspsmdk2410.yml             |  3 ++-
 spec/build/bsps/arm/stm32f4/grp.yml                      |  2 ++
 spec/build/bsps/arm/stm32f4/obj.yml                      |  1 -
 spec/build/bsps/arm/stm32h7/grp.yml                      |  2 ++
 spec/build/bsps/arm/stm32h7/obj.yml                      |  1 -
 spec/build/bsps/arm/tms570/grp.yml                       |  2 ++
 spec/build/bsps/arm/tms570/obj.yml                       |  1 -
 spec/build/bsps/arm/xen/bspxen.yml                       |  3 ++-
 spec/build/bsps/arm/xilinx-zynq/grp.yml                  |  2 ++
 spec/build/bsps/arm/xilinx-zynq/obj.yml                  |  1 -
 spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml    |  3 ++-
 spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml            |  3 ++-
 spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml        |  3 ++-
 spec/build/bsps/bfin/eZKit533/bspezkit533.yml            |  3 ++-
 spec/build/bsps/lm32/lm32_evr/grp.yml                    |  2 ++
 spec/build/bsps/lm32/lm32_evr/obj.yml                    |  1 -
 spec/build/bsps/lm32/milkymist/bspmilkymist.yml          |  3 ++-
 spec/build/bsps/m68k/av5282/bspav5282.yml                |  3 ++-
 spec/build/bsps/m68k/csb360/bspcsb360.yml                |  3 ++-
 spec/build/bsps/m68k/gen68340/bspgen68340.yml            |  3 ++-
 spec/build/bsps/m68k/gen68360/grp.yml                    |  2 ++
 spec/build/bsps/m68k/gen68360/obj.yml                    |  1 -
 spec/build/bsps/m68k/genmcf548x/grp.yml                  |  2 ++
 spec/build/bsps/m68k/genmcf548x/obj.yml                  |  1 -
 spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml    |  3 ++-
 spec/build/bsps/m68k/mcf52235/bspmcf52235.yml            |  3 ++-
 spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml            |  3 ++-
 spec/build/bsps/m68k/mcf5235/bspmcf5235.yml              |  3 ++-
 spec/build/bsps/m68k/mcf5329/bspmcf5329.yml              |  3 ++-
 spec/build/bsps/m68k/mrm332/bspmrm332.yml                |  3 ++-
 spec/build/bsps/m68k/mvme147/bspmvme147.yml              |  3 ++-
 spec/build/bsps/m68k/mvme147s/bspmvme147s.yml            |  3 ++-
 spec/build/bsps/m68k/mvme162/grp.yml                     |  2 ++
 spec/build/bsps/m68k/mvme162/obj.yml                     |  1 -
 spec/build/bsps/m68k/mvme167/bspmvme167.yml              |  3 ++-
 spec/build/bsps/m68k/uC5282/bspuc5282.yml                |  3 ++-
 spec/build/bsps/microblaze/microblaze_fpga/grp.yml       |  2 ++
 spec/build/bsps/microblaze/microblaze_fpga/obj.yml       |  1 -
 spec/build/bsps/mips/csb350/bspcsb350.yml                |  3 ++-
 spec/build/bsps/mips/hurricane/bsphurricane.yml          |  3 ++-
 spec/build/bsps/mips/jmr3904/bspjmr3904.yml              |  3 ++-
 spec/build/bsps/mips/malta/bspmalta.yml                  |  3 ++-
 spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml            |  3 ++-
 spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml            |  3 ++-
 spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml           |  3 ++-
 spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml          |  3 ++-
 spec/build/bsps/objmem.yml                               | 14 ++++++++++++++
 spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml     |  3 ++-
 spec/build/bsps/powerpc/beatnik/bspbeatnik.yml           |  3 ++-
 spec/build/bsps/powerpc/gen5200/grp.yml                  |  2 ++
 spec/build/bsps/powerpc/gen5200/obj.yml                  |  1 -
 spec/build/bsps/powerpc/gen83xx/grp.yml                  |  2 ++
 spec/build/bsps/powerpc/gen83xx/obj.yml                  |  1 -
 spec/build/bsps/powerpc/haleakala/bsphaleakala.yml       |  3 ++-
 spec/build/bsps/powerpc/motorola_powerpc/grp.yml         |  2 ++
 spec/build/bsps/powerpc/motorola_powerpc/obj.yml         |  1 -
 spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml     |  3 ++-
 spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml         |  3 ++-
 spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml         |  3 ++-
 spec/build/bsps/powerpc/objmem.yml                       | 14 ++++++++++++++
 spec/build/bsps/powerpc/psim/bsppsim.yml                 |  3 ++-
 spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml           |  3 ++-
 spec/build/bsps/powerpc/ss555/bspss555.yml               |  3 ++-
 spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml           |  3 ++-
 spec/build/bsps/powerpc/virtex/bspvirtex.yml             |  3 ++-
 spec/build/bsps/powerpc/virtex4/bspvirtex4.yml           |  3 ++-
 spec/build/bsps/powerpc/virtex5/bspvirtex5.yml           |  3 ++-
 spec/build/bsps/riscv/griscv/grp.yml                     |  2 ++
 spec/build/bsps/riscv/griscv/obj.yml                     |  1 -
 spec/build/bsps/riscv/riscv/grp.yml                      |  2 ++
 spec/build/bsps/riscv/riscv/obj.yml                      |  1 -
 spec/build/bsps/sh/gensh1/bspgensh1.yml                  |  3 ++-
 spec/build/bsps/sh/gensh2/bspgensh2.yml                  |  3 ++-
 spec/build/bsps/sh/gensh4/bspgensh4.yml                  |  3 ++-
 spec/build/bsps/sh/shsim/grp.yml                         |  2 ++
 spec/build/bsps/sh/shsim/obj.yml                         |  1 -
 spec/build/bsps/sparc/erc32/bsperc32.yml                 |  3 ++-
 spec/build/bsps/sparc/leon2/grp.yml                      |  2 ++
 spec/build/bsps/sparc/leon2/obj.yml                      |  1 -
 spec/build/bsps/sparc/leon3/grp.yml                      |  2 ++
 spec/build/bsps/sparc/leon3/obj.yml                      |  1 -
 spec/build/bsps/sparc/objmem.yml                         | 14 ++++++++++++++
 spec/build/bsps/sparc64/niagara/bspniagara.yml           |  3 ++-
 spec/build/bsps/sparc64/usiii/bspusiii.yml               |  3 ++-
 spec/build/bsps/v850/gdbv850sim/grp.yml                  |  2 ++
 spec/build/bsps/v850/gdbv850sim/obj.yml                  |  1 -
 spec/build/bsps/x86_64/amd64/bspamd64.yml                |  3 ++-
 117 files changed, 210 insertions(+), 84 deletions(-)

diff --git a/spec/build/bsps/aarch64/a53/grp.yml b/spec/build/bsps/aarch64/a53/grp.yml
index 9853c6d..98ce704 100644
--- a/spec/build/bsps/aarch64/a53/grp.yml
+++ b/spec/build/bsps/aarch64/a53/grp.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
diff --git a/spec/build/bsps/aarch64/a53/obj.yml b/spec/build/bsps/aarch64/a53/obj.yml
index 51d4de8..242631f 100644
--- a/spec/build/bsps/aarch64/a53/obj.yml
+++ b/spec/build/bsps/aarch64/a53/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/a72/grp.yml b/spec/build/bsps/aarch64/a72/grp.yml
index 7544a47..575acf6 100644
--- a/spec/build/bsps/aarch64/a72/grp.yml
+++ b/spec/build/bsps/aarch64/a72/grp.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
diff --git a/spec/build/bsps/aarch64/a72/obj.yml b/spec/build/bsps/aarch64/a72/obj.yml
index ad92559..f797762 100644
--- a/spec/build/bsps/aarch64/a72/obj.yml
+++ b/spec/build/bsps/aarch64/a72/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp.yml b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
index fc2437f..68e350c 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
@@ -44,6 +44,8 @@ links:
 - role: build-dependency
   uid: ../../objdevspixil
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
diff --git a/spec/build/bsps/aarch64/xilinx-versal/obj.yml b/spec/build/bsps/aarch64/xilinx-versal/obj.yml
index 0d32449..d5748ac 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/obj.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/obj.yml
@@ -38,7 +38,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index 9d4fe50..5ff80f3 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -48,6 +48,8 @@ links:
 - role: build-dependency
   uid: ../../objdevspixil
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
index 8a15fe7..6fb0631 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
@@ -34,7 +34,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/atsam/bspatsam.yml b/spec/build/bsps/arm/atsam/bspatsam.yml
index 94a2bb3..c60646f 100644
--- a/spec/build/bsps/arm/atsam/bspatsam.yml
+++ b/spec/build/bsps/arm/atsam/bspatsam.yml
@@ -318,6 +318,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: linkcmds
@@ -403,7 +405,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/beagle/grp.yml b/spec/build/bsps/arm/beagle/grp.yml
index 3452c3e..fdfaed1 100644
--- a/spec/build/bsps/arm/beagle/grp.yml
+++ b/spec/build/bsps/arm/beagle/grp.yml
@@ -38,6 +38,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/beagle/obj.yml b/spec/build/bsps/arm/beagle/obj.yml
index 5ad859a..36ef28d 100644
--- a/spec/build/bsps/arm/beagle/obj.yml
+++ b/spec/build/bsps/arm/beagle/obj.yml
@@ -59,7 +59,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-fdt.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/csb336/bspcsb336.yml b/spec/build/bsps/arm/csb336/bspcsb336.yml
index ac238c8..7eb840d 100644
--- a/spec/build/bsps/arm/csb336/bspcsb336.yml
+++ b/spec/build/bsps/arm/csb336/bspcsb336.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -51,7 +53,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/csb337/grp.yml b/spec/build/bsps/arm/csb337/grp.yml
index b14f747..c6f0820 100644
--- a/spec/build/bsps/arm/csb337/grp.yml
+++ b/spec/build/bsps/arm/csb337/grp.yml
@@ -44,6 +44,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/csb337/obj.yml b/spec/build/bsps/arm/csb337/obj.yml
index 0c4bbfa..06d0657 100644
--- a/spec/build/bsps/arm/csb337/obj.yml
+++ b/spec/build/bsps/arm/csb337/obj.yml
@@ -52,7 +52,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/edb7312/bspedb7312.yml b/spec/build/bsps/arm/edb7312/bspedb7312.yml
index 7587cc9..36ff82e 100644
--- a/spec/build/bsps/arm/edb7312/bspedb7312.yml
+++ b/spec/build/bsps/arm/edb7312/bspedb7312.yml
@@ -35,6 +35,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -55,7 +57,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/fvp/grp.yml b/spec/build/bsps/arm/fvp/grp.yml
index 3759f5e..2fffbe7 100644
--- a/spec/build/bsps/arm/fvp/grp.yml
+++ b/spec/build/bsps/arm/fvp/grp.yml
@@ -22,6 +22,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../optgicspicount
 - role: build-dependency
   uid: ../optgicdist
diff --git a/spec/build/bsps/arm/fvp/obj.yml b/spec/build/bsps/arm/fvp/obj.yml
index 9e5582c..3db46c6 100644
--- a/spec/build/bsps/arm/fvp/obj.yml
+++ b/spec/build/bsps/arm/fvp/obj.yml
@@ -38,7 +38,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/gumstix/bspgumstix.yml b/spec/build/bsps/arm/gumstix/bspgumstix.yml
index 4d0c380..845780c 100644
--- a/spec/build/bsps/arm/gumstix/bspgumstix.yml
+++ b/spec/build/bsps/arm/gumstix/bspgumstix.yml
@@ -36,6 +36,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -59,7 +61,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt.yml b/spec/build/bsps/arm/imxrt/bspimxrt.yml
index 30d690e..8f78369 100644
--- a/spec/build/bsps/arm/imxrt/bspimxrt.yml
+++ b/spec/build/bsps/arm/imxrt/bspimxrt.yml
@@ -157,6 +157,8 @@ links:
 - role: build-dependency
   uid: ../../objdevfsledma
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: linkcmds
@@ -261,7 +263,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lm3s69xx/grp.yml b/spec/build/bsps/arm/lm3s69xx/grp.yml
index 2ab26fe..d1082f3 100644
--- a/spec/build/bsps/arm/lm3s69xx/grp.yml
+++ b/spec/build/bsps/arm/lm3s69xx/grp.yml
@@ -50,6 +50,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/lm3s69xx/obj.yml b/spec/build/bsps/arm/lm3s69xx/obj.yml
index d056b93..79ecd0f 100644
--- a/spec/build/bsps/arm/lm3s69xx/obj.yml
+++ b/spec/build/bsps/arm/lm3s69xx/obj.yml
@@ -49,7 +49,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc176x/grp.yml b/spec/build/bsps/arm/lpc176x/grp.yml
index fba2a13..0be0978 100644
--- a/spec/build/bsps/arm/lpc176x/grp.yml
+++ b/spec/build/bsps/arm/lpc176x/grp.yml
@@ -46,6 +46,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/lpc176x/obj.yml b/spec/build/bsps/arm/lpc176x/obj.yml
index e443604..2e6454d 100644
--- a/spec/build/bsps/arm/lpc176x/obj.yml
+++ b/spec/build/bsps/arm/lpc176x/obj.yml
@@ -74,7 +74,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc24xx/grp.yml b/spec/build/bsps/arm/lpc24xx/grp.yml
index 8f10392..571f6cf 100644
--- a/spec/build/bsps/arm/lpc24xx/grp.yml
+++ b/spec/build/bsps/arm/lpc24xx/grp.yml
@@ -76,6 +76,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/lpc24xx/obj.yml b/spec/build/bsps/arm/lpc24xx/obj.yml
index 3ad44ba..a7c9472 100644
--- a/spec/build/bsps/arm/lpc24xx/obj.yml
+++ b/spec/build/bsps/arm/lpc24xx/obj.yml
@@ -84,7 +84,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc32xx/grp.yml b/spec/build/bsps/arm/lpc32xx/grp.yml
index 0835597..a4136c1 100644
--- a/spec/build/bsps/arm/lpc32xx/grp.yml
+++ b/spec/build/bsps/arm/lpc32xx/grp.yml
@@ -76,6 +76,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/lpc32xx/obj.yml b/spec/build/bsps/arm/lpc32xx/obj.yml
index cafff20..28c9260 100644
--- a/spec/build/bsps/arm/lpc32xx/obj.yml
+++ b/spec/build/bsps/arm/lpc32xx/obj.yml
@@ -63,7 +63,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
index df86f80..46f0236 100644
--- a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
+++ b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
@@ -51,6 +51,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto0
 - role: build-dependency
   uid: ../../bspopts
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/getserialmouseps2.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/rtl22xx/grp.yml b/spec/build/bsps/arm/rtl22xx/grp.yml
index 6df3205..55348ba 100644
--- a/spec/build/bsps/arm/rtl22xx/grp.yml
+++ b/spec/build/bsps/arm/rtl22xx/grp.yml
@@ -22,6 +22,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/rtl22xx/obj.yml b/spec/build/bsps/arm/rtl22xx/obj.yml
index 29b6833..f6bc6fe 100644
--- a/spec/build/bsps/arm/rtl22xx/obj.yml
+++ b/spec/build/bsps/arm/rtl22xx/obj.yml
@@ -36,7 +36,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
index b17d9e3..b2d8b08 100644
--- a/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
+++ b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
@@ -40,6 +40,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -64,7 +66,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/stm32f4/grp.yml b/spec/build/bsps/arm/stm32f4/grp.yml
index ad08ee6..710e467 100644
--- a/spec/build/bsps/arm/stm32f4/grp.yml
+++ b/spec/build/bsps/arm/stm32f4/grp.yml
@@ -54,6 +54,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/stm32f4/obj.yml b/spec/build/bsps/arm/stm32f4/obj.yml
index 803072e..7c54277 100644
--- a/spec/build/bsps/arm/stm32f4/obj.yml
+++ b/spec/build/bsps/arm/stm32f4/obj.yml
@@ -64,7 +64,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index f672899..5e26a3e 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -18,6 +18,8 @@ links:
 - role: build-dependency
   uid: obj
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optenmpualign
 - role: build-dependency
   uid: optenuart4
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index 5bc3eba..1ba7b65 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -335,7 +335,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/tms570/grp.yml b/spec/build/bsps/arm/tms570/grp.yml
index f7b84e2..0529523 100644
--- a/spec/build/bsps/arm/tms570/grp.yml
+++ b/spec/build/bsps/arm/tms570/grp.yml
@@ -42,6 +42,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index 36f99a7..b03e6aa 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -94,7 +94,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/xen/bspxen.yml b/spec/build/bsps/arm/xen/bspxen.yml
index 0de27ab..5917512 100644
--- a/spec/build/bsps/arm/xen/bspxen.yml
+++ b/spec/build/bsps/arm/xen/bspxen.yml
@@ -48,6 +48,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
   uid: ../../optcacheinst
@@ -76,7 +78,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
index 55eab20..9b7254a 100644
--- a/spec/build/bsps/arm/xilinx-zynq/grp.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -62,6 +62,8 @@ links:
 - role: build-dependency
   uid: ../../objdevspixil
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: linkcmds
 - role: build-dependency
   uid: ../../bspopts
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index f896b5a..bc675cd 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -40,7 +40,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
index 0d336cc..baa9ee3 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -74,6 +74,8 @@ links:
 - role: build-dependency
   uid: ../../objdevspixil
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: linkcmds
@@ -98,7 +100,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
index 3c994d0..9d6546c 100644
--- a/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
+++ b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
@@ -45,6 +45,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -55,7 +57,6 @@ source:
 - bsps/bfin/shared/cache/cache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
index 91b451d..8edce12 100644
--- a/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
+++ b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
@@ -38,6 +38,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -48,7 +50,6 @@ source:
 - bsps/bfin/shared/interrupt.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/bfin/eZKit533/bspezkit533.yml b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
index 34d578a..aff9979 100644
--- a/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
+++ b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -49,7 +51,6 @@ source:
 - bsps/bfin/shared/interrupt.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/lm32/lm32_evr/grp.yml b/spec/build/bsps/lm32/lm32_evr/grp.yml
index f6d4762..bf991d4 100644
--- a/spec/build/bsps/lm32/lm32_evr/grp.yml
+++ b/spec/build/bsps/lm32/lm32_evr/grp.yml
@@ -22,6 +22,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/lm32/lm32_evr/obj.yml b/spec/build/bsps/lm32/lm32_evr/obj.yml
index 85c6ba6..ba666c8 100644
--- a/spec/build/bsps/lm32/lm32_evr/obj.yml
+++ b/spec/build/bsps/lm32/lm32_evr/obj.yml
@@ -27,7 +27,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/setvec.c
diff --git a/spec/build/bsps/lm32/milkymist/bspmilkymist.yml b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
index 2157d3a..44380f2 100644
--- a/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
+++ b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -59,7 +61,6 @@ source:
 - bsps/lm32/shared/start/bspstart.c
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/av5282/bspav5282.yml b/spec/build/bsps/m68k/av5282/bspav5282.yml
index f90dc00..30d8970 100644
--- a/spec/build/bsps/m68k/av5282/bspav5282.yml
+++ b/spec/build/bsps/m68k/av5282/bspav5282.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -46,7 +48,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/csb360/bspcsb360.yml b/spec/build/bsps/m68k/csb360/bspcsb360.yml
index 04e77b9..16b1b9a 100644
--- a/spec/build/bsps/m68k/csb360/bspcsb360.yml
+++ b/spec/build/bsps/m68k/csb360/bspcsb360.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -47,7 +49,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/gen68340/bspgen68340.yml b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
index b27fc34..91238a9 100644
--- a/spec/build/bsps/m68k/gen68340/bspgen68340.yml
+++ b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
@@ -37,6 +37,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -53,7 +55,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/gen68360/grp.yml b/spec/build/bsps/m68k/gen68360/grp.yml
index dfde1a6..037c1c4 100644
--- a/spec/build/bsps/m68k/gen68360/grp.yml
+++ b/spec/build/bsps/m68k/gen68360/grp.yml
@@ -28,6 +28,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/m68k/gen68360/obj.yml b/spec/build/bsps/m68k/gen68360/obj.yml
index 3249827..f7228ba 100644
--- a/spec/build/bsps/m68k/gen68360/obj.yml
+++ b/spec/build/bsps/m68k/gen68360/obj.yml
@@ -33,7 +33,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/genmcf548x/grp.yml b/spec/build/bsps/m68k/genmcf548x/grp.yml
index 57bdb23..5409682 100644
--- a/spec/build/bsps/m68k/genmcf548x/grp.yml
+++ b/spec/build/bsps/m68k/genmcf548x/grp.yml
@@ -30,6 +30,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optconsolebaud
 - role: build-dependency
   uid: ../../bspopts
diff --git a/spec/build/bsps/m68k/genmcf548x/obj.yml b/spec/build/bsps/m68k/genmcf548x/obj.yml
index e65e0c8..815f015 100644
--- a/spec/build/bsps/m68k/genmcf548x/obj.yml
+++ b/spec/build/bsps/m68k/genmcf548x/obj.yml
@@ -40,7 +40,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
index 576659d..7926c57 100644
--- a/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
+++ b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
@@ -40,6 +40,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -63,7 +65,6 @@ source:
 - bsps/shared/dev/rtc/rtc-support.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
index e83626f..09c9ab3 100644
--- a/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
+++ b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -50,7 +52,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
index 08369d6..2f9212f 100644
--- a/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
+++ b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -49,7 +51,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
index 428e505..715363d 100644
--- a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
+++ b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
@@ -35,6 +35,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -51,7 +53,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
index c7fe0c2..de1ebc0 100644
--- a/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
+++ b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
@@ -33,6 +33,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -48,7 +50,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mrm332/bspmrm332.yml b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
index 8e28beb..a83fd07 100644
--- a/spec/build/bsps/m68k/mrm332/bspmrm332.yml
+++ b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
@@ -35,6 +35,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optos
 - role: build-dependency
   uid: ../../bspopts
@@ -51,7 +53,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mvme147/bspmvme147.yml b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
index 70632bc..73f8608 100644
--- a/spec/build/bsps/m68k/mvme147/bspmvme147.yml
+++ b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
@@ -33,6 +33,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -48,7 +50,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
index f334142..8585374 100644
--- a/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
+++ b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
@@ -35,6 +35,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -50,7 +52,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme162/grp.yml b/spec/build/bsps/m68k/mvme162/grp.yml
index 0325c5b..74bf1df 100644
--- a/spec/build/bsps/m68k/mvme162/grp.yml
+++ b/spec/build/bsps/m68k/mvme162/grp.yml
@@ -22,6 +22,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/m68k/mvme162/obj.yml b/spec/build/bsps/m68k/mvme162/obj.yml
index 1103ac1..4745160 100644
--- a/spec/build/bsps/m68k/mvme162/obj.yml
+++ b/spec/build/bsps/m68k/mvme162/obj.yml
@@ -34,7 +34,6 @@ source:
 - bsps/m68k/shared/m68kidle.c
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme167/bspmvme167.yml b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
index 5c3638e..db9f7e4 100644
--- a/spec/build/bsps/m68k/mvme167/bspmvme167.yml
+++ b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
@@ -48,6 +48,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -63,7 +65,6 @@ source:
 - bsps/m68k/shared/m68kidle.c
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/uC5282/bspuc5282.yml b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
index 47ddef3..07167ff 100644
--- a/spec/build/bsps/m68k/uC5282/bspuc5282.yml
+++ b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -47,7 +49,6 @@ source:
 - bsps/m68k/uC5282/start/bspstart.c
 - bsps/m68k/uC5282/start/init5282.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/setvec.c
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
index 38cd3e1..991ab04 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
@@ -30,6 +30,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
index beebbf9..a211456 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
@@ -41,7 +41,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/csb350/bspcsb350.yml b/spec/build/bsps/mips/csb350/bspcsb350.yml
index 276433c..0850a2d 100644
--- a/spec/build/bsps/mips/csb350/bspcsb350.yml
+++ b/spec/build/bsps/mips/csb350/bspcsb350.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -51,7 +53,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/hurricane/bsphurricane.yml b/spec/build/bsps/mips/hurricane/bsphurricane.yml
index 4ed5526..f4c89c6 100644
--- a/spec/build/bsps/mips/hurricane/bsphurricane.yml
+++ b/spec/build/bsps/mips/hurricane/bsphurricane.yml
@@ -37,6 +37,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../tstnolibdl
@@ -64,7 +66,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/mips/jmr3904/bspjmr3904.yml b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
index 07547a3..cc4c797 100644
--- a/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
+++ b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../bspopts
@@ -52,7 +54,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/malta/bspmalta.yml b/spec/build/bsps/mips/malta/bspmalta.yml
index 8ff0b7e..a3651cb 100644
--- a/spec/build/bsps/mips/malta/bspmalta.yml
+++ b/spec/build/bsps/mips/malta/bspmalta.yml
@@ -33,6 +33,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto0
 - role: build-dependency
   uid: ../../bspopts
@@ -62,7 +64,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
index b727fa7..cd0f6ee 100644
--- a/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
+++ b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../tstnolibdl
@@ -60,7 +62,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
index 92572fd..63c4e05 100644
--- a/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
+++ b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
@@ -32,6 +32,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../../tstnolibdl
@@ -58,7 +60,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
index 365c3f8..0564995 100644
--- a/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
+++ b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
@@ -30,6 +30,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../optos
 - role: build-dependency
   uid: ../../tstnolibdl
@@ -46,7 +48,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
index 5db9b8e..a353570 100644
--- a/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
+++ b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
@@ -30,6 +30,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto0
 - role: build-dependency
   uid: ../../bspopts
@@ -43,7 +45,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/objmem.yml b/spec/build/bsps/objmem.yml
new file mode 100644
index 0000000..af4d305
--- /dev/null
+++ b/spec/build/bsps/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/start/bspgetworkarea-default.c
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
index 0b2314c..67fa2d5 100644
--- a/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
+++ b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
@@ -29,6 +29,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto0
 - role: build-dependency
   uid: abi
@@ -58,7 +60,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
index df58b6d..cd204eb 100644
--- a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
+++ b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
@@ -54,6 +54,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../objvme
 - role: build-dependency
   uid: ../start
@@ -92,7 +94,6 @@ source:
 - bsps/powerpc/shared/mmu/pte121.c
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_activate.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/probeMemEnd.c
diff --git a/spec/build/bsps/powerpc/gen5200/grp.yml b/spec/build/bsps/powerpc/gen5200/grp.yml
index fc8bbef..b53a79e 100644
--- a/spec/build/bsps/powerpc/gen5200/grp.yml
+++ b/spec/build/bsps/powerpc/gen5200/grp.yml
@@ -56,6 +56,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/powerpc/gen5200/obj.yml b/spec/build/bsps/powerpc/gen5200/obj.yml
index 62ef304..15aa46c 100644
--- a/spec/build/bsps/powerpc/gen5200/obj.yml
+++ b/spec/build/bsps/powerpc/gen5200/obj.yml
@@ -112,7 +112,6 @@ source:
 - bsps/shared/dev/rtc/rtc-support.c
 - bsps/shared/start/bsp-uboot-board-info.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/grp.yml b/spec/build/bsps/powerpc/gen83xx/grp.yml
index eae0c95..ef7fd17 100644
--- a/spec/build/bsps/powerpc/gen83xx/grp.yml
+++ b/spec/build/bsps/powerpc/gen83xx/grp.yml
@@ -58,6 +58,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 type: build
 use-after: []
diff --git a/spec/build/bsps/powerpc/gen83xx/obj.yml b/spec/build/bsps/powerpc/gen83xx/obj.yml
index 2ed9bda..4fa855d 100644
--- a/spec/build/bsps/powerpc/gen83xx/obj.yml
+++ b/spec/build/bsps/powerpc/gen83xx/obj.yml
@@ -56,7 +56,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-uboot-board-info.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
index b45da01..18ff252 100644
--- a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
+++ b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
@@ -49,6 +49,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 source:
 - bsps/powerpc/haleakala/irq/irq.c
@@ -64,7 +66,6 @@ source:
 - bsps/powerpc/shared/irq/ppc-irq-legacy.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/grp.yml b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
index 5e84dae..0d0cddb 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
@@ -42,6 +42,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../objvme
 - role: build-dependency
   uid: ../start
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
index d81ded3..e490e14 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
@@ -50,7 +50,6 @@ source:
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
 - bsps/powerpc/shared/rtc/todcfg.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_activate.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/ppc_idle.c
diff --git a/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
index ec277cd..602556f 100644
--- a/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
+++ b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
@@ -52,6 +52,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../bspopts
 source:
 - bsps/powerpc/mpc8260ads/console/console.c
@@ -70,7 +72,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
index 66fe09a..18c373b 100644
--- a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
+++ b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
@@ -50,6 +50,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../objvme
 - role: build-dependency
   uid: ../motld
@@ -79,7 +81,6 @@ source:
 - bsps/powerpc/shared/pci/generic_clear_hberrs.c
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/sbrk.c
 - bsps/powerpc/shared/start/vpd.c
 - bsps/powerpc/shared/start/zerobss.c
diff --git a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
index bac1cf1..0c7aa74 100644
--- a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
+++ b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
@@ -58,6 +58,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../objvme
 - role: build-dependency
   uid: ../../bspopts
@@ -87,7 +89,6 @@ source:
 - bsps/powerpc/shared/mmu/bat.c
 - bsps/powerpc/shared/mmu/mmuAsm.S
 - bsps/powerpc/shared/mmu/pte121.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/probeMemEnd.c
 - bsps/powerpc/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/objmem.yml b/spec/build/bsps/powerpc/objmem.yml
new file mode 100644
index 0000000..9e5ae75
--- /dev/null
+++ b/spec/build/bsps/powerpc/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/bsppsim.yml b/spec/build/bsps/powerpc/psim/bsppsim.yml
index b71b847..c42590f 100644
--- a/spec/build/bsps/powerpc/psim/bsppsim.yml
+++ b/spec/build/bsps/powerpc/psim/bsppsim.yml
@@ -44,6 +44,8 @@ links:
 - role: build-dependency
   uid: objmpci
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optclkfastidle
 - role: build-dependency
   uid: optsbrk
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
index 14752bf..a1b52c9 100644
--- a/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
+++ b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: abi
 - role: build-dependency
   uid: start
@@ -59,7 +61,6 @@ source:
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/ss555/bspss555.yml b/spec/build/bsps/powerpc/ss555/bspss555.yml
index bc367a6..8a6ed52 100644
--- a/spec/build/bsps/powerpc/ss555/bspss555.yml
+++ b/spec/build/bsps/powerpc/ss555/bspss555.yml
@@ -34,6 +34,8 @@ links:
 - role: build-dependency
   uid: ../obj
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: abi
 - role: build-dependency
   uid: optconminor
@@ -82,7 +84,6 @@ source:
 - bsps/shared/irq/irq-server.c
 - bsps/shared/irq/irq-shell.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
index 39970b6..dc384e7 100644
--- a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
+++ b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
@@ -43,6 +43,8 @@ links:
 - role: build-dependency
   uid: objsmp
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optexcbooke
 - role: build-dependency
   uid: optexcfixdhdlr
@@ -65,7 +67,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/virtex/bspvirtex.yml b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
index cfcc298..16aadab 100644
--- a/spec/build/bsps/powerpc/virtex/bspvirtex.yml
+++ b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
@@ -41,6 +41,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: abi
 - role: build-dependency
   uid: optconirq
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
index 9f8b567..9a46920 100644
--- a/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
+++ b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: abi
 - role: build-dependency
   uid: optppccachedata
@@ -64,7 +66,6 @@ source:
 - bsps/powerpc/virtex4/start/start.S
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
index a0a2314..69ccb36 100644
--- a/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
+++ b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../objexc
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: abi
 - role: build-dependency
   uid: optppccachedata
@@ -65,7 +67,6 @@ source:
 - bsps/powerpc/virtex5/start/start.S
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/riscv/griscv/grp.yml b/spec/build/bsps/riscv/griscv/grp.yml
index 1945d98..4fbfc1a 100644
--- a/spec/build/bsps/riscv/griscv/grp.yml
+++ b/spec/build/bsps/riscv/griscv/grp.yml
@@ -26,6 +26,8 @@ links:
 - role: build-dependency
   uid: objsmp
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optextirqmax
 - role: build-dependency
   uid: ../grp
diff --git a/spec/build/bsps/riscv/griscv/obj.yml b/spec/build/bsps/riscv/griscv/obj.yml
index 5ecb0ed..cb68f87 100644
--- a/spec/build/bsps/riscv/griscv/obj.yml
+++ b/spec/build/bsps/riscv/griscv/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/riscv/riscv/grp.yml b/spec/build/bsps/riscv/riscv/grp.yml
index 77583d3..e61ed24 100644
--- a/spec/build/bsps/riscv/riscv/grp.yml
+++ b/spec/build/bsps/riscv/riscv/grp.yml
@@ -30,6 +30,8 @@ links:
 - role: build-dependency
   uid: objsmp
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optextirqmax
 - role: build-dependency
   uid: ../../optfdtcpyro
diff --git a/spec/build/bsps/riscv/riscv/obj.yml b/spec/build/bsps/riscv/riscv/obj.yml
index 2f1ac80..5e767be 100644
--- a/spec/build/bsps/riscv/riscv/obj.yml
+++ b/spec/build/bsps/riscv/riscv/obj.yml
@@ -36,7 +36,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-fdt.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/sh/gensh1/bspgensh1.yml b/spec/build/bsps/sh/gensh1/bspgensh1.yml
index 9b4305a..321ec19 100644
--- a/spec/build/bsps/sh/gensh1/bspgensh1.yml
+++ b/spec/build/bsps/sh/gensh1/bspgensh1.yml
@@ -35,6 +35,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: abi
@@ -63,7 +65,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/gensh2/bspgensh2.yml b/spec/build/bsps/sh/gensh2/bspgensh2.yml
index 74fa7e2..7135344 100644
--- a/spec/build/bsps/sh/gensh2/bspgensh2.yml
+++ b/spec/build/bsps/sh/gensh2/bspgensh2.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: abi
@@ -71,7 +73,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/gensh4/bspgensh4.yml b/spec/build/bsps/sh/gensh4/bspgensh4.yml
index c29e4c4..0ef0831 100644
--- a/spec/build/bsps/sh/gensh4/bspgensh4.yml
+++ b/spec/build/bsps/sh/gensh4/bspgensh4.yml
@@ -39,6 +39,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: abi
@@ -66,7 +68,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/shsim/grp.yml b/spec/build/bsps/sh/shsim/grp.yml
index 9c73c7c..8503c3a 100644
--- a/spec/build/bsps/sh/shsim/grp.yml
+++ b/spec/build/bsps/sh/shsim/grp.yml
@@ -16,6 +16,8 @@ links:
 - role: build-dependency
   uid: obj
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: optcpuclk
 - role: build-dependency
   uid: optlowinit
diff --git a/spec/build/bsps/sh/shsim/obj.yml b/spec/build/bsps/sh/shsim/obj.yml
index 7b0d48e..16fd97c 100644
--- a/spec/build/bsps/sh/shsim/obj.yml
+++ b/spec/build/bsps/sh/shsim/obj.yml
@@ -35,7 +35,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sparc/erc32/bsperc32.yml b/spec/build/bsps/sparc/erc32/bsperc32.yml
index 455aec1..e028a80 100644
--- a/spec/build/bsps/sparc/erc32/bsperc32.yml
+++ b/spec/build/bsps/sparc/erc32/bsperc32.yml
@@ -28,6 +28,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: abi
@@ -70,5 +72,4 @@ source:
 - bsps/sparc/shared/irq/irq-shared.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
 - bsps/sparc/shared/start/bsp_fatal_halt.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/leon2/grp.yml b/spec/build/bsps/sparc/leon2/grp.yml
index c640d01..cc0f23e 100644
--- a/spec/build/bsps/sparc/leon2/grp.yml
+++ b/spec/build/bsps/sparc/leon2/grp.yml
@@ -16,6 +16,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../grp
 - role: build-dependency
   uid: abi
diff --git a/spec/build/bsps/sparc/leon2/obj.yml b/spec/build/bsps/sparc/leon2/obj.yml
index f1a5e52..dc036ec 100644
--- a/spec/build/bsps/sparc/leon2/obj.yml
+++ b/spec/build/bsps/sparc/leon2/obj.yml
@@ -48,5 +48,4 @@ source:
 - bsps/sparc/shared/irq/irq-shared.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
 - bsps/sparc/shared/start/bsp_fatal_halt.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/leon3/grp.yml b/spec/build/bsps/sparc/leon3/grp.yml
index 670fada..2bb3876 100644
--- a/spec/build/bsps/sparc/leon3/grp.yml
+++ b/spec/build/bsps/sparc/leon3/grp.yml
@@ -16,6 +16,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../objmem
+- role: build-dependency
   uid: ../grp
 - role: build-dependency
   uid: abiclang
diff --git a/spec/build/bsps/sparc/leon3/obj.yml b/spec/build/bsps/sparc/leon3/obj.yml
index 19ce633..69684ca 100644
--- a/spec/build/bsps/sparc/leon3/obj.yml
+++ b/spec/build/bsps/sparc/leon3/obj.yml
@@ -59,5 +59,4 @@ source:
 - bsps/sparc/shared/pci/pci_memreg_sparc_be.c
 - bsps/sparc/shared/pci/pci_memreg_sparc_le.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/objmem.yml b/spec/build/bsps/sparc/objmem.yml
new file mode 100644
index 0000000..8ca61bf
--- /dev/null
+++ b/spec/build/bsps/sparc/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/sparc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/sparc64/niagara/bspniagara.yml b/spec/build/bsps/sparc64/niagara/bspniagara.yml
index 3f60a84..f9d55b5 100644
--- a/spec/build/bsps/sparc64/niagara/bspniagara.yml
+++ b/spec/build/bsps/sparc64/niagara/bspniagara.yml
@@ -27,6 +27,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../grp
@@ -43,7 +45,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-control.c
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/sparc64/usiii/bspusiii.yml b/spec/build/bsps/sparc64/usiii/bspusiii.yml
index 068deaf..c63f33f 100644
--- a/spec/build/bsps/sparc64/usiii/bspusiii.yml
+++ b/spec/build/bsps/sparc64/usiii/bspusiii.yml
@@ -27,6 +27,8 @@ links:
 - role: build-dependency
   uid: ../../objirqdflt
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: ../grp
@@ -46,7 +48,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/v850/gdbv850sim/grp.yml b/spec/build/bsps/v850/gdbv850sim/grp.yml
index 1c31b7a..4d3fa3b 100644
--- a/spec/build/bsps/v850/gdbv850sim/grp.yml
+++ b/spec/build/bsps/v850/gdbv850sim/grp.yml
@@ -16,6 +16,8 @@ links:
 - role: build-dependency
   uid: obj
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: start
 - role: build-dependency
   uid: ../../bspopts
diff --git a/spec/build/bsps/v850/gdbv850sim/obj.yml b/spec/build/bsps/v850/gdbv850sim/obj.yml
index 97650c1..fae94ef 100644
--- a/spec/build/bsps/v850/gdbv850sim/obj.yml
+++ b/spec/build/bsps/v850/gdbv850sim/obj.yml
@@ -27,7 +27,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/x86_64/amd64/bspamd64.yml b/spec/build/bsps/x86_64/amd64/bspamd64.yml
index 199641b..4b720d7 100644
--- a/spec/build/bsps/x86_64/amd64/bspamd64.yml
+++ b/spec/build/bsps/x86_64/amd64/bspamd64.yml
@@ -27,6 +27,8 @@ links:
 - role: build-dependency
   uid: ../../objirq
 - role: build-dependency
+  uid: ../../objmem
+- role: build-dependency
   uid: ../../opto2
 - role: build-dependency
   uid: abi
@@ -44,7 +46,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c



More information about the vc mailing list