esp-idf/components
Ivan Grokhotkov 0535195983 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-04-21 13:45:21 +02:00
..
app_trace TWAI: FIFO overrun handling and errata workarounds 2021-03-30 14:17:31 +08:00
app_update Merge branch 'bugfix/partition_table_depends_esptoolpy' into 'master' 2021-03-31 01:30:33 +00:00
asio Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
bootloader cmake partition_table: Check binaries fit in partition spaces at build time 2021-04-16 16:40:47 +10:00
bootloader_support bootloader_support: fix min. revision error print for < C3-ECO3 revisions 2021-04-20 14:22:14 +05:30
bt Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master' 2021-04-20 14:48:11 +00:00
cbor tinycbor: update to latest upstream commit-id 2021-04-20 03:59:44 +00:00
cmock Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
coap coap: Fixed NULL checks for dymanic memory allocation in coap_mbedtls.c 2021-03-02 22:34:19 +05:30
console console: fix linenoiseProbe never timing out 2021-01-15 09:22:04 +01:00
cxx esp32: move stack check test 2021-03-31 19:13:03 +08:00
driver timer: add IRAM_ATTR to spinlock give/take API 2021-04-15 09:50:06 +08:00
efuse efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c 2021-03-24 11:28:45 +00:00
esp32 freertos: fix TLS run-time address calculation 2021-04-21 13:45:21 +02:00
esp32c3 freertos: fix TLS run-time address calculation 2021-04-21 13:45:21 +02:00
esp32s2 freertos: fix TLS run-time address calculation 2021-04-21 13:45:21 +02:00
esp32s3 freertos: fix TLS run-time address calculation 2021-04-21 13:45:21 +02:00
esp_adc_cal [cxx]: fixed extern "C" declarations 2021-03-08 14:11:33 +08:00
esp_common esp32: move toolchain check 2021-03-31 19:17:33 +08:00
esp_eth esp_eth: apply generic error check macros 2021-04-13 10:54:33 +08:00
esp_event Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug" 2021-04-08 13:33:28 +10:00
esp_gdbstub gdbstub: C3 - protection for UART register region 2021-01-11 17:09:42 +08:00
esp_hid esp_hid: add missing static qualifier 2021-03-23 17:38:56 +05:30
esp_http_client esp_http_client: Make http_utils_get_string_between and http_utils_str_starts_with case insensitive 2021-04-09 06:03:02 +00:00
esp_http_server esp_http_server: Fix transport_ctx not getting freed 2021-04-07 05:25:39 +00:00
esp_https_ota esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set 2021-04-20 20:06:41 +05:30
esp_https_server Fixed ssl_ctx not being freed at the time of error. 2020-11-25 13:47:38 +05:30
esp_hw_support Merge branch 'feature/support_esp32s3_beta3_wifi' into 'master' 2021-04-16 03:09:19 +00:00
esp_ipc core system: Fix warnings in compilation when assertions are disabled 2021-03-03 10:26:57 +11:00
esp_local_ctrl style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
esp_netif esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component 2021-04-01 17:10:50 +08:00
esp_pm Merge branch 'bugfix/fix_some_pm_issue' into 'master' 2021-04-13 03:42:46 +00:00
esp_ringbuf Merge branch 'feature/move_ringbuf_funcs_into_flash' into 'master' 2021-01-20 07:32:39 +08:00
esp_rom esp_wifi: support esp32s3 beta3 wifi 2021-04-16 00:38:20 +08:00
esp_serial_slave_link esp_serial_slave_link: Add essl_spi definitions for esp32c3 2020-12-24 13:40:01 +11:00
esp_system panic: handlers can now be placed in flash 2021-04-15 11:58:46 +08:00
esp_timer ci: enable previously disabled unit tests 2021-03-29 18:36:41 +08:00
esp_websocket_client components: Remove repeated keep alive function by ssl layer function 2021-03-10 02:19:29 +00:00
esp_wifi wifi/ftm: Move FTM report logging into application and some bugfixes 2021-04-20 03:44:51 +00:00
esp-tls esp-tls: Fix setsockopt for TCP_KEEPIDLE 2021-04-06 15:37:16 +08:00
espcoredump coredump: core dump data check can now be parametrized 2021-04-19 13:05:32 +08:00
esptool_py cmake partition_table: Check binaries fit in partition spaces at build time 2021-04-16 16:40:47 +10:00
expat cmock: added cmock as component 2020-09-02 16:38:37 +08:00
fatfs Merge branch 'bugfix/remove_HSPI_macro_on_c3' into 'master' 2021-04-08 09:33:18 +00:00
freemodbus freemodbuss: fix event processing after merge 2021-03-15 09:45:49 +01:00
freertos freertos: fix TLS run-time address calculation 2021-04-21 13:45:21 +02:00
hal panic: handlers can now be placed in flash 2021-04-15 11:58:46 +08:00
heap core system: Fix warnings in compilation when assertions are disabled 2021-03-03 10:26:57 +11:00
idf_test AES/SHA: use GDMA driver instead of LL 2021-01-19 11:02:51 +08:00
jsmn Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
json cJSON: update to v1.7.14 release 2021-01-06 17:21:53 +05:30
libsodium libsodium: Update library to v1.0.18 2021-04-06 11:23:50 +05:30
log log: update copyright year 2021-04-18 23:53:48 +02:00
lwip lwip: Fix LWIP_DEBUG define which is always defined 2021-04-12 14:41:46 +00:00
mbedtls mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS 2021-04-14 06:42:13 +00:00
mdns mdns: Fixed the ip header TTL to be correctly set to 255 2021-04-12 13:24:19 +00:00
mqtt esp-mqtt: Remove __FILE__ macro from error logs 2021-03-03 10:26:57 +11:00
newlib esp32: move system libs 2021-03-31 19:17:33 +08:00
nghttp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
nvs_flash [nvs] add nvs page host test to CI 2021-04-20 14:40:16 +08:00
openssl docs: Update OpenSSL API documents 2021-03-18 10:42:29 +04:00
openthread openthread: add radio api for Thread 1.2 to work 2021-04-08 17:49:16 +08:00
partition_table partition_table: Add a "single factory app (large)" option for 1.5MB app size 2021-04-16 16:40:47 +10:00
perfmon esp32c3: Disable components that are not yet supported 2020-12-31 09:27:38 +11:00
protobuf-c core system: Fix warnings in compilation when assertions are disabled 2021-03-03 10:26:57 +11:00
protocomm Add secure connection for just works in provisioning app for bluedroid 2021-04-01 09:29:03 +00:00
pthread freertos: test: Add stress test for thread local storage 2021-04-20 14:46:49 +10:00
riscv xtensa: simplify build script 2021-02-26 19:45:48 +08:00
sdmmc Fix minor documentation issue 2020-12-25 15:46:36 +08:00
soc Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master' 2021-04-15 23:56:39 +00:00
spi_flash [nvs] add nvs page host test to CI 2021-04-20 14:40:16 +08:00
spiffs esp32: move esp_clk functions 2021-03-31 19:17:33 +08:00
tcp_transport tcp_transport: Add option to enable crt_bundle for SSL connection 2021-04-07 05:31:21 +00:00
tcpip_adapter components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components 2021-02-23 18:26:03 +08:00
tinyusb tinyusb: add 'extern C' bit to tusb_console.h 2021-03-23 17:36:34 +05:30
touch_element Merge branch 'bugfix/touch_element_callback_para' into 'master' 2021-03-05 02:28:04 +00:00
ulp Merge branch 'bugfix/fix_co-cpu_riscv_ulp_ld_for_esp32s2' into 'master' 2021-04-19 07:49:58 +00:00
unity spi_flash: mocking should be possible now 2020-12-14 18:53:14 +08:00
usb Add USB HCD 2021-02-26 23:13:42 +08:00
vfs vfs: fix build & ci errors 2021-04-15 15:19:00 +08:00
wear_levelling esp32: move esp_clk functions 2021-03-31 19:17:33 +08:00
wifi_provisioning provisioning: Fix WiFi credentials not saved to NVS due to wifi_prov_mgr_start_provisioning change the WiFi storage to RAM 2021-03-30 11:15:05 +00:00
wpa_supplicant wpa_supplicant: Prevent reinstallation of an already in-use group key 2021-04-19 04:17:20 +00:00
xtensa esp32: move toolchain check 2021-03-31 19:17:33 +08:00