aboutsummaryrefslogtreecommitdiff
path: root/conf/link-amd64.ld
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
committerIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
commit236963e7563be3e3f8220dac7bb4af446928e194 (patch)
treee521ea226db0345bbb3679fffe09d96254b7dc73 /conf/link-amd64.ld
parent214eadc62b5578f76c98a38a28f8b3d80ac4d6ad (diff)
Clean out for expt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'conf/link-amd64.ld')
-rw-r--r--conf/link-amd64.ld47
1 files changed, 0 insertions, 47 deletions
diff --git a/conf/link-amd64.ld b/conf/link-amd64.ld
deleted file mode 100644
index f2daff7..0000000
--- a/conf/link-amd64.ld
+++ /dev/null
@@ -1,47 +0,0 @@
-OUTPUT_FORMAT(elf64-x86-64)
-OUTPUT_ARCH(i386:x86-64)
-ENTRY(main)
-
-PHDRS
-{
- text PT_LOAD FLAGS((1 << 0) | (1 << 2)) ; /* Execute + Read */
- rodata PT_LOAD FLAGS((1 << 2)) ; /* Read only */
- data PT_LOAD FLAGS((1 << 1) | (1 << 2)) ; /* Write + Read */
-}
-
-SECTIONS
-{
- . = 0xFFFFFFFF80000000;
-
- .text : {
- *(.text .text.*)
- } :text
-
- . += CONSTANT(MAXPAGESIZE);
-
- .rodata : {
- *(.rodata .rodata.*)
- } :rodata
-
- .drivers : {
- __drivers_init_start = .;
- *(.drivers .drivers)
- __drivers_init_end = .;
- } :rodata
-
- . += CONSTANT(MAXPAGESIZE);
-
- .data : {
- *(.data .data.*)
- } :data
-
- .bss : {
- *(COMMON)
- *(.bss .bss.*)
- } :data
-
- /DISCARD/ : {
- *(.eh_frame)
- *(.note .note.*)
- }
-}