esp-idf/components/esp32
Ivan Grokhotkov af7b21851e freertos: fix TLS run-time address calculation
Since dd849ffc, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.

Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.

Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-05-10 11:18:09 +08:00
..
include deep_sleep: on S2 disable the brown out detector before deep sleeping 2021-02-25 14:58:50 +08:00
ld freertos: fix TLS run-time address calculation 2021-05-10 11:18:09 +08:00
test CI: disable performance check for PSRAM config 2021-03-22 11:39:49 +08:00
cache_err_int.c esp32s2: IRAM/DRAM memory protection 2020-04-21 15:10:58 +02:00
cache_sram_mmu.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
clk.c TWAI: Add ESP32-S2 support 2020-07-30 22:09:39 +08:00
CMakeLists.txt esp_ipc: Move to new component 2020-05-18 16:51:45 +08:00
component.mk Revert "C++: add provisions for optional RTTI support" 2019-10-31 10:12:16 +07:00
cpu_start.c spi_flash: add config option to override flash size in bootloader header 2021-02-22 23:18:17 +08:00
crosscore_int.c Add Task Watchdog backtrace printing 2020-04-27 18:11:29 +00:00
dport_access.c freertos: Increase minimum task stack size when stack smashing checker is enabled 2021-03-19 12:19:58 +08:00
esp_clk_internal.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_himem.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
hw_random.c move esp32 chip specific includes to esp32/xxx.h 2019-03-18 17:14:05 +08:00
intr_alloc.c intr_alloc: fix the issue intr_enable/disable cannot be used in ISR in 2019-12-23 10:23:00 +08:00
Kconfig Merge branch 'docs/update_rtc_clock_source_description_in_api_references_backport_v4.2' into 'release/v4.2' 2020-12-08 10:47:42 +08:00
linker.lf esp32, esp32s2: move panic handling code to new component 2020-03-10 19:56:24 +08:00
Makefile.projbuild Add fixes for gcc8 psram fix improvement 2020-03-27 20:04:47 +07:00
pm_esp32.c esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
pm_trace.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
project_include.cmake Add fixes for gcc8 psram fix improvement 2020-03-27 20:04:47 +07:00
sdkconfig.rename feat(psram): config SPI psram pins based on efuse value 2019-05-28 21:25:16 +08:00
sleep_modes.c fix: RTC_FAST_MEM always power on if used for heap 2021-03-24 11:52:55 +08:00
spiram_psram.c esp32: Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden 2020-07-24 21:45:31 +08:00
spiram_psram.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
spiram.c feat(psram): support 16Mbit PSRAM for esp32 2020-07-24 21:19:45 +08:00
system_api_esp32.c driver(uart): fix uart module reset issue (release V4.2) 2021-03-24 04:10:39 +00:00