mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
Merge branch 'master' into feature/esp32s2beta_merge
This commit is contained in:
11
components/esp32/ld/esp32.discard-rtti.ld
Normal file
11
components/esp32/ld/esp32.discard-rtti.ld
Normal file
@@ -0,0 +1,11 @@
|
||||
/* This is only included if CONFIG_COMPILER_CXX_RTTI is not set, to
|
||||
* move RTTI sections of libstdc++ to an unused non-loadable memory region.
|
||||
*/
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.rodata.discard-rtti (NOLOAD):
|
||||
{
|
||||
*libstdc++.a:(.rodata._ZTI* .rodata._ZTS*)
|
||||
} > discard_seg
|
||||
}
|
@@ -100,6 +100,11 @@ MEMORY
|
||||
/* external memory ,including data and text */
|
||||
extern_ram_seg(RWX) : org = 0x3F800000,
|
||||
len = 0x400000
|
||||
|
||||
/* This is not a memory range which can really be accessed; we use it as a "bitbucket"
|
||||
where non-loadable sections, which aren't used at run time, can be discarded.
|
||||
*/
|
||||
discard_seg (R) : org = 0x00000000, len = 0x10000000
|
||||
}
|
||||
|
||||
#if defined(CONFIG_ESP32_USE_FIXED_STATIC_RAM_SIZE)
|
||||
|
Reference in New Issue
Block a user