linker: Remove unused (OPTIONAL) from linker scripts
(OPTIONAL) was a vestiage from the initial import of the Zephyr code base and we dont utilize it with the GNU linker. Additionally, the way (OPTIONAL) gets defined to nothing creates a linker script that lld (from llvm) doesn't like. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
116dd8e527
commit
4da0f8b796
11 changed files with 55 additions and 57 deletions
|
@ -47,7 +47,7 @@ LINKER_SECTION_SEQ = """
|
|||
|
||||
/* Linker section for memory region {2} for {3} section */
|
||||
|
||||
SECTION_PROLOGUE(_{2}_{3}_SECTION_NAME, (OPTIONAL),)
|
||||
SECTION_PROLOGUE(_{2}_{3}_SECTION_NAME,,)
|
||||
{{
|
||||
. = ALIGN(4);
|
||||
{4}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue