feat(esp_system): drop .got* sections and add hint

Closes https://github.com/espressif/esp-idf/issues/14296
This commit is contained in:
Alexey Lapshin 2024-08-21 11:51:41 +07:00
parent 1d8f1a584c
commit 73987108cd
2 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,7 @@
* And so forth...
*/
*(.rela.*)
*(.got .got.plt) /* TODO: GCC-382 */
#if !(CONFIG_COMPILER_CXX_EXCEPTIONS || CONFIG_ESP_SYSTEM_USE_EH_FRAME)
*(.eh_frame_hdr)
*(.eh_frame)

View File

@ -439,3 +439,7 @@
-
re: "the current mclk multiple cannot perform integer division"
hint: "Please adjust the mclk multiple to get the accurate sample rate.\nFor example, if you're using 24-bit slot width or enabled 3 slots, then the mclk multiple should be a multiple of 3, otherwise the sample rate will be inaccurate."
-
re: "discarded output section: .*\\.got"
hint: "Some objects being linked were compiled with the \"-fpic\"/\"-fpie\" options. These options may be suitable for \"linux\" builds, but must not be applied for esp32XX targets."