aboutsummaryrefslogtreecommitdiff
path: root/include/apos/link.lds.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-08-19 22:58:57 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-08-19 22:58:57 +0300
commit1175179058fa809c57d724cd2043c67edc511695 (patch)
treefd01aba45ff6e4c676bac5c369b8f4983163c800 /include/apos/link.lds.h
parent565724db3b73ee67fa996dab511dc52df586cee1 (diff)
downloadkmi-1175179058fa809c57d724cd2043c67edc511695.tar.gz
kmi-1175179058fa809c57d724cd2043c67edc511695.zip
New build system (WIP)
Diffstat (limited to 'include/apos/link.lds.h')
-rw-r--r--include/apos/link.lds.h43
1 files changed, 3 insertions, 40 deletions
diff --git a/include/apos/link.lds.h b/include/apos/link.lds.h
index aa9f2e2..ddb1f65 100644
--- a/include/apos/link.lds.h
+++ b/include/apos/link.lds.h
@@ -1,45 +1,8 @@
#ifndef APOS_LINK_LDS_H
#define APOS_LINK_LDS_H
-#define DWARF_DEBUG \
- /* DWARF 1 */ \
- .debug 0 : { *(.debug) } \
- .line 0 : { *(.line) } \
- /* GNU DWARF 1 extensions */ \
- .debug_srcinfo 0 : { *(.debug_srcinfo) } \
- .debug_sfnames 0 : { *(.debug_sfnames) } \
- /* DWARF 1.1 and DWARF 2 */ \
- .debug_aranges 0 : { *(.debug_aranges) } \
- .debug_pubnames 0 : { *(.debug_pubnames) } \
- /* DWARF 2 */ \
- .debug_info 0 : { *(.debug_info \
- .gnu.linkonce.wi.*) } \
- .debug_abbrev 0 : { *(.debug_abbrev) } \
- .debug_line 0 : { *(.debug_line) } \
- .debug_frame 0 : { *(.debug_frame) } \
- .debug_str 0 : { *(.debug_str) } \
- .debug_loc 0 : { *(.debug_loc) } \
- .debug_macinfo 0 : { *(.debug_macinfo) } \
- .debug_pubtypes 0 : { *(.debug_pubtypes) } \
- /* DWARF 3 */ \
- .debug_ranges 0 : { *(.debug_ranges) } \
- /* SGI/MIPS DWARF 2 extensions */ \
- .debug_weaknames 0 : { *(.debug_weaknames) } \
- .debug_funcnames 0 : { *(.debug_funcnames) } \
- .debug_typenames 0 : { *(.debug_typenames) } \
- .debug_varnames 0 : { *(.debug_varnames) } \
- /* GNU DWARF 2 extensions */ \
- .debug_gnu_pubnames 0 : { *(.debug_gnu_pubnames) } \
- .debug_gnu_pubtypes 0 : { *(.debug_gnu_pubtypes) } \
- /* DWARF 4 */ \
- .debug_types 0 : { *(.debug_types) } \
- /* DWARF 5 */ \
- .debug_addr 0 : { *(.debug_addr) } \
- .debug_line_str 0 : { *(.debug_line_str) } \
- .debug_loclists 0 : { *(.debug_loclists) } \
- .debug_macro 0 : { *(.debug_macro) } \
- .debug_names 0 : { *(.debug_names) } \
- .debug_rnglists 0 : { *(.debug_rnglists) } \
- .debug_str_offsets 0 : { *(.debug_str_offsets) }
+#ifndef PM_KERN
+#define PM_KERN 0
+#endif
#endif /* APOS_LINK_LDS_H */