1# Content of this file originates from include/zephyr/linker/debug-sections.ld
2# Following sections are obtained via 'ld --verbose'
3
4# Stabs debugging sections.
5zephyr_linker_section(NAME  .stab ADDRESS 0)
6zephyr_linker_section(NAME  .stabstr ADDRESS 0)
7zephyr_linker_section(NAME  .stab.excl ADDRESS 0)
8zephyr_linker_section(NAME  .stab.exclstr ADDRESS 0)
9zephyr_linker_section(NAME  .stab.index ADDRESS 0)
10zephyr_linker_section(NAME  .stab.indexstr ADDRESS 0)
11zephyr_linker_section(NAME  .gnu.build.attributes ADDRESS 0)
12zephyr_linker_section(NAME  .comment ADDRESS 0)
13
14# DWARF debug sections.
15# Symbols in the DWARF debugging sections are relative to the beginning
16# of the section so we begin them at 0.
17# DWARF 1 */
18zephyr_linker_section(NAME  .debug ADDRESS 0)
19zephyr_linker_section(NAME  .line ADDRESS 0)
20
21# GNU DWARF 1 extensions
22zephyr_linker_section(NAME  .debug_srcinfo ADDRESS 0)
23zephyr_linker_section(NAME  .debug_sfnames ADDRESS 0)
24
25# DWARF 1.1 and DWARF 2
26zephyr_linker_section(NAME  .debug_aranges ADDRESS 0)
27zephyr_linker_section(NAME  .debug_pubnames ADDRESS 0)
28
29# DWARF 2
30zephyr_linker_section(NAME  .debug_info ADDRESS 0)
31zephyr_linker_section_configure(SECTION .debug_info INPUT ".gnu.linkonce.wi.*")
32zephyr_linker_section(NAME  .debug_abbrev ADDRESS 0)
33zephyr_linker_section(NAME  .debug_line ADDRESS 0)
34zephyr_linker_section_configure(SECTION .debug_line INPUT ".debug_line_end")
35zephyr_linker_section(NAME  .debug_frame ADDRESS 0)
36zephyr_linker_section(NAME  .debug_str ADDRESS 0)
37zephyr_linker_section(NAME  .debug_loc ADDRESS 0)
38zephyr_linker_section(NAME  .debug_macinfo ADDRESS 0)
39
40# SGI/MIPS DWARF 2 extensions
41zephyr_linker_section(NAME  .debug_weaknames ADDRESS 0)
42zephyr_linker_section(NAME  .debug_funcnames ADDRESS 0)
43zephyr_linker_section(NAME  .debug_typenames ADDRESS 0)
44zephyr_linker_section(NAME  .debug_varnames ADDRESS 0)
45
46# DWARF 3
47zephyr_linker_section(NAME  .debug_pubtypes ADDRESS 0)
48zephyr_linker_section(NAME  .debug_ranges ADDRESS 0)
49
50# DWARF 5
51zephyr_linker_section(NAME  .debug_addr ADDRESS 0)
52zephyr_linker_section(NAME  .debug_line_str ADDRESS 0)
53zephyr_linker_section(NAME  .debug_loclists ADDRESS 0)
54zephyr_linker_section(NAME  .debug_macro ADDRESS 0)
55zephyr_linker_section(NAME  .debug_names ADDRESS 0)
56zephyr_linker_section(NAME  .debug_rnglists ADDRESS 0)
57zephyr_linker_section(NAME  .debug_str_offsets ADDRESS 0)
58zephyr_linker_section(NAME  .debug_sup ADDRESS 0)
59