diff options
author | Richard Burton <richard.burton@arm.com> | 2023-11-13 15:21:11 +0000 |
---|---|---|
committer | Richard <richard.burton@arm.com> | 2023-11-13 15:30:39 +0000 |
commit | 4865c4fc171d6b0eb6e2b470f123ff81e45a34f8 (patch) | |
tree | a5dc36d8d843331bc7d14abff10d2a34627498e1 /scripts/cmake/platforms/simple_platform/simple_platform_release.ld | |
parent | 392a51e62e254bbf128b833996c7f77cbc7d3fc2 (diff) | |
download | ml-embedded-evaluation-kit-4865c4fc171d6b0eb6e2b470f123ff81e45a34f8.tar.gz |
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 <richard.burton@arm.com>
Change-Id: I8b0d66ce83287f2bc027cfc36a1f378c97755481
Diffstat (limited to 'scripts/cmake/platforms/simple_platform/simple_platform_release.ld')
-rw-r--r-- | scripts/cmake/platforms/simple_platform/simple_platform_release.ld | 13 |
1 files changed, 3 insertions, 10 deletions
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*) |