From 4bdbe4285077041985c2d1f4f772860c7c1bc00c Mon Sep 17 00:00:00 2001 From: Bora Sahin Date: Tue, 6 Oct 2009 18:34:18 +0300 Subject: [PATCH] Linker script is removed from the bare container template. This is unnecessary because it is autogenerated. (cherry picked from commit 36e3982b5c769090df00964651f4127ed7c34bd8) --- conts/bare_src/include/linker.lds | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 conts/bare_src/include/linker.lds diff --git a/conts/bare_src/include/linker.lds b/conts/bare_src/include/linker.lds deleted file mode 100644 index abb38b5..0000000 --- a/conts/bare_src/include/linker.lds +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Example working linker script for this container. - * - * Copyright (C) 2009 B Labs Ltd. - */ - -vma_start = 0x0; -lma_start = 0x1000000; -offset = vma_start - lma_start; - -ENTRY(_start) - -SECTIONS -{ - . = vma_start; - .text : AT (ADDR(.text) - offset) { - /* - * NOTE: - * crt0.S must be in .text.head. This is necessary because - * the kernel does not know any _start address, it assumes - * the start address of pager region as the start address. - */ - *(.text.head) *(.text) - } - .rodata : AT (ADDR(.rodata) - offset) { *(.rodata) } - .rodata1 : AT (ADDR(.rodata1) - offset) { *(.rodata1) } - - . = ALIGN(4K); - .data : AT (ADDR(.data) - offset) { *(.data) } - .bss : AT (ADDR(.bss) - offset) { *(.bss) } - . += 0x1000; - . = ALIGN(8); - __stack = .; -}