1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Move __PRETTY_FUNCTION__ to progmem (#5758)

Match __FUNCTION__ linking, keep C++ function names out of rodata/heap.
This commit is contained in:
Earle F. Philhower, III 2019-02-13 23:28:06 +00:00 committed by GitHub
parent 6c5269a74b
commit c9ce96652f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,6 +140,8 @@ SECTIONS
/* __FUNCTION__ locals */
*(.rodata._ZZ*__FUNCTION__)
*(.rodata._ZZ*__PRETTY_FUNCTION__)
*(.rodata._ZZ*__func__)
/* std::* exception strings, in their own section to allow string coalescing */
*(.irom.exceptiontext)