From 28baa78877ebda840603774d6a1e3e9da9546a6e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 16 Apr 2008 10:05:57 +0100 Subject: stubdom: sparse application's BSS by linking it separately first, put markers at its beginning and end, and then link with mini-os. That permits to stick a bit more to upstream qemu. Signed-off-by: Samuel Thibault --- extras/mini-os/app.lds | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 extras/mini-os/app.lds (limited to 'extras/mini-os/app.lds') diff --git a/extras/mini-os/app.lds b/extras/mini-os/app.lds new file mode 100644 index 0000000000..4a48cc8d77 --- /dev/null +++ b/extras/mini-os/app.lds @@ -0,0 +1,11 @@ +SECTIONS +{ + .app.bss : { + __app_bss_start = . ; + *(.bss .bss.*) + *(COMMON) + *(.lbss .lbss.*) + *(LARGE_COMMON) + __app_bss_end = . ; + } +} -- cgit v1.2.3