base: beautify BSS stuff in CRT0s

fix #989
This commit is contained in:
Martin Stein 2014-02-06 01:43:21 +01:00 committed by Norman Feske
parent 5a6253eeff
commit 4a61d008be
4 changed files with 8 additions and 29 deletions

View File

@ -52,8 +52,6 @@
/* stack of the temporary initial environment */
.p2align 4
.global _stack_low
_stack_low:
.space 32 * 1024
.global _stack_high
_stack_high:
@ -62,8 +60,3 @@
.global __initial_sp
__initial_sp:
.space 4
/* return value of init_main_thread */
.global init_main_thread_result
init_main_thread_result:
.space 4

View File

@ -21,7 +21,7 @@
using namespace Genode;
extern addr_t init_main_thread_result;
addr_t init_main_thread_result;
extern void init_exception_handling();

View File

@ -55,24 +55,17 @@
/* stack of the temporary initial environment */
.p2align 4
.global _stack_low
_stack_low:
.space 32 * 1024
.global _stack_high
.space 32 * 1024
.global _stack_high
_stack_high:
/* initial value of the ESP, EAX and EDI register */
.global __initial_sp
.global __initial_sp
__initial_sp:
.space 4
.global __initial_ax
.global __initial_ax
__initial_ax:
.space 4
.global __initial_di
.global __initial_di
__initial_di:
.space 4
/* return value of init_main_thread */
.global init_main_thread_result
init_main_thread_result:
.space 4

View File

@ -66,10 +66,8 @@
/* stack of the temporary initial environment */
.p2align 8
.global _stack_low
_stack_low:
.space 32 * 1024
.global _stack_high
.space 32 * 1024
.global _stack_high
_stack_high:
/* initial value of the RSP, RAX and RDI register */
@ -82,8 +80,3 @@
.globl __initial_di
__initial_di:
.space 8
/* return value of init_main_thread */
.globl init_main_thread_result
init_main_thread_result:
.space 8