From 4865c4fc171d6b0eb6e2b470f123ff81e45a34f8 Mon Sep 17 00:00:00 2001 From: Richard Burton Date: Mon, 13 Nov 2023 15:21:11 +0000 Subject: Modifications to linker scripts * Change reference to all ops resolver * Added our own 'all ops resolver' * Move Labels objects out of BRAM for simple_platform * Minor fixes to documentation Signed-off-by: Richard Burton Change-Id: I8b0d66ce83287f2bc027cfc36a1f378c97755481 --- .../platforms/simple_platform/simple_platform_release.ld | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'scripts/cmake/platforms/simple_platform/simple_platform_release.ld') diff --git a/scripts/cmake/platforms/simple_platform/simple_platform_release.ld b/scripts/cmake/platforms/simple_platform/simple_platform_release.ld index 492f6da..46b9636 100644 --- a/scripts/cmake/platforms/simple_platform/simple_platform_release.ld +++ b/scripts/cmake/platforms/simple_platform/simple_platform_release.ld @@ -71,8 +71,7 @@ SECTIONS * This code is instead placed on BRAM. See comment in the BRAM * section for details. */ - *(EXCLUDE_FILE(*all_ops_resolver.o - *hal.c.obj + *(EXCLUDE_FILE(*hal.c.obj *_allocator.o *flatbuffer*.o *lcd*.obj @@ -188,6 +187,8 @@ SECTIONS /* labels */ *(labels) . = ALIGN (16); + *Labels*.obj (*.rodata*) + . = ALIGN (16); /* activation buffers a.k.a tensor arena when memory mode dedicated sram */ *(activation_buf_dram) . = ALIGN (16); @@ -226,14 +227,6 @@ SECTIONS *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); - /** - * Place the all ops resolver code data here. This accounts - * for ~4k worth of saving on the ITCM load region. It is - * only designed to be included (by default) for the inference - * runner use case. - **/ - *all_ops_resolver.o (*.text*) - . = ALIGN(4); *hal.c.obj (*.text*) . = ALIGN(4); *_allocator.o (*.text*) -- cgit v1.2.1