From c9ce96652f2f8cb9253b6a1465809dd2570d1628 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Wed, 13 Feb 2019 23:28:06 +0000 Subject: [PATCH] Move __PRETTY_FUNCTION__ to progmem (#5758) Match __FUNCTION__ linking, keep C++ function names out of rodata/heap. --- tools/sdk/ld/eagle.app.v6.common.ld.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sdk/ld/eagle.app.v6.common.ld.h b/tools/sdk/ld/eagle.app.v6.common.ld.h index d72a95d30..aa4201221 100644 --- a/tools/sdk/ld/eagle.app.v6.common.ld.h +++ b/tools/sdk/ld/eagle.app.v6.common.ld.h @@ -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)