aboutsummaryrefslogtreecommitdiff
path: root/include/apos
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos')
-rw-r--r--include/apos/link.lds.h8
-rw-r--r--include/apos/main.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/include/apos/link.lds.h b/include/apos/link.lds.h
deleted file mode 100644
index ddb1f65..0000000
--- a/include/apos/link.lds.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef APOS_LINK_LDS_H
-#define APOS_LINK_LDS_H
-
-#ifndef PM_KERN
-#define PM_KERN 0
-#endif
-
-#endif /* APOS_LINK_LDS_H */
diff --git a/include/apos/main.h b/include/apos/main.h
index 5292df7..15fff73 100644
--- a/include/apos/main.h
+++ b/include/apos/main.h
@@ -3,6 +3,6 @@
#include <apos/attrs.h>
-#define __main __section(".text.start") __noinline
+#define __main __section(".kernel.start") __noinline
#endif /* APOS_MAIN_H */