From 28f8744e02d0767fa7e8786fa1cd1f0e73b37d26 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Tue, 13 Nov 2001 03:31:14 +0000 Subject: [PATCH] Add __stack_base__ --- newlib/ChangeLog | 4 ++++ newlib/libc/sys/arm/crt0.S | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 83479c749..6dd6a91a7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2001-11-12 Anthony Green + + * libc/sys/arm/crt0.S (__stack_base__): New symbol. + 2001-11-13 Hans-Peter Nilsson * libc/sys/mmixware/*: Correct spacing in all source files. diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S index 11ce83c0c..149dfc9e6 100644 --- a/newlib/libc/sys/arm/crt0.S +++ b/newlib/libc/sys/arm/crt0.S @@ -243,9 +243,10 @@ change_back: /* Workspace for Angel calls. */ .data /* Data returned by monitor SWI. */ +.global __stack_base__ HeapBase: .word 0 HeapLimit: .word 0 -StackBase: .word 0 +__stack_base__: .word 0 StackLimit: .word 0 CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */ #endif