mirror of
https://github.com/espressif/esp-idf
synced 2025-04-09 00:00:18 -04:00
1. Closes https://github.com/espressif/esp-idf/issues/10427 2. add two linker script to unify linker script symbols for BT libraries 3. The memory release functions have also been simplified
37 lines
754 B
Plaintext
37 lines
754 B
Plaintext
[sections:bt_bss]
|
|
entries:
|
|
.bss+
|
|
|
|
[sections:bt_common]
|
|
entries:
|
|
COMMON
|
|
|
|
[scheme:bt_start_end]
|
|
entries:
|
|
bt_bss -> dram0_bss
|
|
bt_common -> dram0_bss
|
|
data -> dram0_data
|
|
|
|
[scheme:bt_extram_bss]
|
|
entries:
|
|
bt_bss -> extern_ram
|
|
bt_common -> extern_ram
|
|
data -> dram0_data
|
|
|
|
# For the following fragments, order matters for
|
|
# 'ALIGN(4) ALIGN(4, post) SURROUND(sym)', which generates:
|
|
#
|
|
# . = ALIGN(4)
|
|
# _sym_start
|
|
# ...
|
|
# . = ALIGN(4)
|
|
# _sym_end
|
|
|
|
[mapping:bt]
|
|
archive: libbt.a
|
|
entries:
|
|
* (bt_start_end);
|
|
bt_bss -> dram0_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_bss),
|
|
bt_common -> dram0_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_common),
|
|
data -> dram0_data ALIGN(4) ALIGN(4, post) SURROUND(bt_data)
|