1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Fix typo in section list (#8726)

For GCC LD scripts, using commas in a section expression
sometimes cause problems.
This commit is contained in:
M Hightower 2022-11-23 12:33:56 -08:00 committed by GitHub
parent 80bf716625
commit fe451a814f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ SECTIONS
*(.text.app_entry*) /* The main startup code */
*(.text.gdbstub*, .text.gdb_init) /* Any GDB hooks */
*(.text.gdbstub* .text.gdb_init) /* Any GDB hooks */
/* all functional callers are placed in IRAM (including SPI/IRQ callbacks/etc) here */
*(.text._ZNKSt8functionIF*EE*) /* std::function<any(...)>::operator()() const */
@ -155,9 +155,9 @@ SECTIONS
LONG(0x00000000);
*(.ver_number)
*.c.o(.literal*, .text*)
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal*, EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
*.cc.o(.literal*, .text*)
*.c.o(.literal* .text*)
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal* EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
*.cc.o(.literal* .text*)
#ifdef VTABLES_IN_FLASH
*(.rodata._ZTV*) /* C++ vtables */
#endif
@ -220,7 +220,7 @@ SECTIONS
*(.rodata._ZZ*__func__)
/* std::* exception strings, in their own section to allow string coalescing */
*(.irom.exceptiontext, .rodata.exceptiontext)
*(.irom.exceptiontext .rodata.exceptiontext)
*(.rodata.*__exception_what__*) /* G++ seems to throw out templatized section attributes */
/* c++ typeof IDs, etc. */