[rtems commit] build: Fix i386/pc386 link of SMP start file

Sebastian Huber sebh at rtems.org
Tue Sep 15 13:14:53 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Sep 15 15:06:48 2020 +0200

build: Fix i386/pc386 link of SMP start file

Update #3818.

---

 spec/build/bsps/i386/pc386/objsmpstart.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/build/bsps/i386/pc386/objsmpstart.yml b/spec/build/bsps/i386/pc386/objsmpstart.yml
index 2c56d74..0b4a550 100644
--- a/spec/build/bsps/i386/pc386/objsmpstart.yml
+++ b/spec/build/bsps/i386/pc386/objsmpstart.yml
@@ -12,7 +12,7 @@ do-build: |
   startAP_exe = startAP + ".exe"
   ldflags = "-N -Ttext 0x70000 -e app_processor_start -nostdlib"
   bld(
-      rule="${LD} " + ldflags + " -o ${TGT} -r ${SRC}",
+      rule="${LD} " + ldflags + " -o ${TGT} ${SRC}",
       source=startAP_o,
       target=startAP_exe,
   )



More information about the vc mailing list