Merge branch 'fix/keep-got-sections-for-riscv' into 'master'

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

See merge request espressif/esp-idf!32969
This commit is contained in:
Alexey Lapshin 2024-09-06 19:21:06 +08:00
commit c605620073
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -439,3 +439,7 @@
- -
re: "the current mclk multiple cannot perform integer division" 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." 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."