Skip to content

Commit fe451a8

Browse files
authored
Fix typo in section list (#8726)
For GCC LD scripts, using commas in a section expression sometimes cause problems.
1 parent 80bf716 commit fe451a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/sdk/ld/eagle.app.v6.common.ld.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ SECTIONS
138138

139139
*(.text.app_entry*) /* The main startup code */
140140

141-
*(.text.gdbstub*, .text.gdb_init) /* Any GDB hooks */
141+
*(.text.gdbstub* .text.gdb_init) /* Any GDB hooks */
142142

143143
/* all functional callers are placed in IRAM (including SPI/IRQ callbacks/etc) here */
144144
*(.text._ZNKSt8functionIF*EE*) /* std::function<any(...)>::operator()() const */
@@ -155,9 +155,9 @@ SECTIONS
155155
LONG(0x00000000);
156156

157157
*(.ver_number)
158-
*.c.o(.literal*, .text*)
159-
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal*, EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
160-
*.cc.o(.literal*, .text*)
158+
*.c.o(.literal* .text*)
159+
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal* EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
160+
*.cc.o(.literal* .text*)
161161
#ifdef VTABLES_IN_FLASH
162162
*(.rodata._ZTV*) /* C++ vtables */
163163
#endif
@@ -220,7 +220,7 @@ SECTIONS
220220
*(.rodata._ZZ*__func__)
221221

222222
/* std::* exception strings, in their own section to allow string coalescing */
223-
*(.irom.exceptiontext, .rodata.exceptiontext)
223+
*(.irom.exceptiontext .rodata.exceptiontext)
224224
*(.rodata.*__exception_what__*) /* G++ seems to throw out templatized section attributes */
225225

226226
/* c++ typeof IDs, etc. */

0 commit comments

Comments
 (0)