summaryrefslogtreecommitdiff
path: root/lib/component.ld
diff options
context:
space:
mode:
Diffstat (limited to 'lib/component.ld')
-rw-r--r--lib/component.ld75
1 files changed, 0 insertions, 75 deletions
diff --git a/lib/component.ld b/lib/component.ld
deleted file mode 100644
index 3a48ae8..0000000
--- a/lib/component.ld
+++ /dev/null
@@ -1,75 +0,0 @@
-ENTRY(kc_entry)
-
-SECTIONS
-{
- PROVIDE(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)
- }
-}
-