You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.4 KiB
61 lines
2.4 KiB
# SPDX-License-Identifier: Apache-2.0 |
|
# The contents of this file is based on include/zephyr/linker/debug-sections.ld |
|
# Please keep in sync |
|
|
|
# Following sections are obtained via 'ld --verbose' |
|
|
|
# Stabs debugging sections. |
|
zephyr_linker_section(NAME .stab ADDRESS 0) |
|
zephyr_linker_section(NAME .stabstr ADDRESS 0) |
|
zephyr_linker_section(NAME .stab.excl ADDRESS 0) |
|
zephyr_linker_section(NAME .stab.exclstr ADDRESS 0) |
|
zephyr_linker_section(NAME .stab.index ADDRESS 0) |
|
zephyr_linker_section(NAME .stab.indexstr ADDRESS 0) |
|
zephyr_linker_section(NAME .gnu.build.attributes ADDRESS 0) |
|
zephyr_linker_section(NAME .comment ADDRESS 0) |
|
|
|
# DWARF debug sections. |
|
# Symbols in the DWARF debugging sections are relative to the beginning |
|
# of the section so we begin them at 0. |
|
# DWARF 1 */ |
|
zephyr_linker_section(NAME .debug ADDRESS 0) |
|
zephyr_linker_section(NAME .line ADDRESS 0) |
|
|
|
# GNU DWARF 1 extensions |
|
zephyr_linker_section(NAME .debug_srcinfo ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_sfnames ADDRESS 0) |
|
|
|
# DWARF 1.1 and DWARF 2 |
|
zephyr_linker_section(NAME .debug_aranges ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_pubnames ADDRESS 0) |
|
|
|
# DWARF 2 |
|
zephyr_linker_section(NAME .debug_info ADDRESS 0) |
|
zephyr_linker_section_configure(SECTION .debug_info INPUT ".gnu.linkonce.wi.*") |
|
zephyr_linker_section(NAME .debug_abbrev ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_line ADDRESS 0) |
|
zephyr_linker_section_configure(SECTION .debug_line INPUT ".debug_line_end") |
|
zephyr_linker_section(NAME .debug_frame ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_str ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_loc ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_macinfo ADDRESS 0) |
|
|
|
# SGI/MIPS DWARF 2 extensions |
|
zephyr_linker_section(NAME .debug_weaknames ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_funcnames ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_typenames ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_varnames ADDRESS 0) |
|
|
|
# DWARF 3 |
|
zephyr_linker_section(NAME .debug_pubtypes ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_ranges ADDRESS 0) |
|
|
|
# DWARF 5 |
|
zephyr_linker_section(NAME .debug_addr ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_line_str ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_loclists ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_macro ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_names ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_rnglists ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_str_offsets ADDRESS 0) |
|
zephyr_linker_section(NAME .debug_sup ADDRESS 0)
|
|
|