Skip to content

Commit ab8c035

Browse files
tagunilkartben
authored andcommitted
scripts: build: gen_app_partitions: enquote archive name wildcards
Some linkers (e.g. the ARC MWDT one) don't recognize wildcards in file names if they are not enclosed in quotes. Looks like the quotes have no negative effect on the GNU ld linker, so just do it unconditionally. Signed-off-by: Ilya Tagunov <[email protected]>
1 parent aff8a03 commit ab8c035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build/gen_app_partitions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"""
5959

6060
library_data_template = """
61-
*{0}:*(.data .data.* .sdata .sdata.*)
61+
\"*{0}:*\"(.data .data.* .sdata .sdata.*)
6262
"""
6363

6464
bss_template = """
@@ -67,7 +67,7 @@
6767
"""
6868

6969
library_bss_template = """
70-
*{0}:*(.bss .bss.* .sbss .sbss.* COMMON COMMON.*)
70+
\"*{0}:*\"(.bss .bss.* .sbss .sbss.* COMMON COMMON.*)
7171
"""
7272

7373
footer_template = """

0 commit comments

Comments
 (0)