summaryrefslogtreecommitdiff
path: root/kc/component.ld
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-20 23:50:43 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-20 23:50:43 +0000
commit6002ec7d841d91d85cc55733c539594c97fc2e30 (patch)
tree951daac374219fcf6d49af9195383443e8f468f0 /kc/component.ld
parent0625188d3e925136645f2a99f6280dbf689dc0e2 (diff)
moving files around
Diffstat (limited to 'kc/component.ld')
-rw-r--r--kc/component.ld75
1 files changed, 0 insertions, 75 deletions
diff --git a/kc/component.ld b/kc/component.ld
deleted file mode 100644
index dc158f3..0000000
--- a/kc/component.ld
+++ /dev/null
@@ -1,75 +0,0 @@
-ENTRY(kc_entry)
-
-SECTIONS
-{
- PROVIDE_HIDDEN(kc_image_base = .);
-
- . = sizeof_headers;
-
- .rel :
- {
- *(.rel)
- *(.rel.*)
- }
-
- .rela :
- {
- *(.rel)
- *(.rela.*)
- }
-
- .hash :
- {
- *(.hash)
- }
-
- .dynsym :
- {
- *(.dynsym)
- }
-
- .dynstr :
- {
- *(.dynstr)
- }
-
- .text : ALIGN(4K)
- {
- PROVIDE(kc_text_begin = .);
- *(.text.start)
- *(.text)
- . = ALIGN(4K);
- PROVIDE(kc_text_end = .);
- } =0xcc
-
- .dynamic : ALIGN(4K)
- {
- *(.dynamic)
- }
-
- .data :
- {
- PROVIDE(kc_data_begin = .);
- *(.rodata)
- *(.data)
- }
-
- .data.rel :
- {
- *(.data.rel)
- *(.data.rel.*)
- }
-
- .bss :
- {
- *(.bss)
- PROVIDE(kc_data_end = .);
- }
-
- /DISCARD/ :
- {
- *(.eh_frame)
- *(.comment)
- }
-}
-