Lines Matching refs:file
126 print("/* AUTO-GENERATED by gen_symtab.py, do not edit! */", file=wf)
127 print("", file=wf)
128 print("#include <zephyr/linker/sections.h>", file=wf)
129 print("#include <zephyr/debug/symtab.h>", file=wf)
130 print("", file=wf)
132 …const struct z_symtab_entry __symtab_entry z_symtab_entries[{len(symtab_list) + 1}] = {{", file=wf)
135 f"\t/* ADDR: {hex(entry.addr)} SIZE: {hex(entry.size)} */", file=wf)
137 f"\t[{i}] = {{.offset = {hex(entry.offset)}, .name = \"{entry.name}\"}},", file=wf)
144 print("\t/* dummy entry */", file=wf)
146 f"\t[{len(symtab_list)}] = {{.offset = {dummy_offset}, .name = \"?\"}},", file=wf)
147 print(f"}};\n", file=wf)
149 print(f"const struct symtab_info __symtab_info z_symtab = {{", file=wf)
150 print(f"\t.first_addr = {hex(first_addr)},", file=wf)
151 print(f"\t.length = {len(symtab_list)},", file=wf)
152 print(f"\t.entries = z_symtab_entries,", file=wf)
153 print(f"}};\n", file=wf)