summaryrefslogtreecommitdiff
path: root/applications/link.ld
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-05-18 21:53:38 -0400
committerBenji Dial <benji@benjidial.net>2024-05-18 21:53:38 -0400
commitb1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 (patch)
tree5009d4415ba13e4baa37f3d0271852528130fd3b /applications/link.ld
parenta8a80d326de9550b2a25b1255a2093ab43219ede (diff)
downloadhilbert-os-b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24.tar.gz
reorganization, cross compiler
Diffstat (limited to 'applications/link.ld')
-rw-r--r--applications/link.ld38
1 files changed, 0 insertions, 38 deletions
diff --git a/applications/link.ld b/applications/link.ld
deleted file mode 100644
index f8c09a2..0000000
--- a/applications/link.ld
+++ /dev/null
@@ -1,38 +0,0 @@
-OUTPUT_FORMAT(elf64-x86-64)
-OUTPUT_ARCH(i386:x86-64)
-
-ENTRY(_entry)
-
-PHDRS {
- rx PT_LOAD FLAGS(5);
- ro PT_LOAD FLAGS(4);
- rw PT_LOAD FLAGS(6);
-}
-
-SECTIONS {
-
- /* see also ../documentation/memory.txt */
- . = 0x200000;
-
- .text : {
- *(.text .text.*)
- } : rx
-
- . = ALIGN(4096);
-
- .rodata : {
- *(.rodata .rodata.*)
- } : ro
-
- . = ALIGN(4096);
-
- .data : {
- *(.data .data.*)
- } : rw
-
- .bss : {
- *(.bss .bss.*)
- *(COMMON)
- } : rw
-
-}