diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-22 14:01:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-22 14:01:49 +0000 |
commit | 3f432fbd018ee684a4f6e760eff901ea463ccb0b (patch) | |
tree | 5a18ac85ab25e0b6bd3add3f7f974151c2012564 /c/src/lib/libbsp/i386/pc386/start/start.S | |
parent | Fix package name. (diff) | |
download | rtems-3f432fbd018ee684a4f6e760eff901ea463ccb0b.tar.bz2 |
2008-03-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, startup/exit.c: Add BSP_PRESS_KEY_FOR_RESET
configuration option. When this is set to one, a clean exit of an
application will result in the BSP resetting the hardware without
waiting for a human to press a key.
* start/start.S, startup/linkcmds: Replace the linkcmds with a
version very closely based upon the default in binutils 2.18 for
this target. This eliminated weird failures with C++ dtors even
in C applications. We had an extra _ on a symbol used in start.S.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/start/start.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/start/start.S b/c/src/lib/libbsp/i386/pc386/start/start.S index 361f973c2e..5dcfdd9e03 100644 --- a/c/src/lib/libbsp/i386/pc386/start/start.S +++ b/c/src/lib/libbsp/i386/pc386/start/start.S @@ -154,7 +154,7 @@ SYM (_establish_stack): SYM (zero_bss): cld # make direction flag count up movl $ SYM (_end), ecx # find end of .bss - movl $ SYM (_bss_start), edi # edi = beginning of .bss + movl $ SYM (__bss_start), edi # edi = beginning of .bss subl edi, ecx # ecx = size of .bss in bytes shrl ecx # size of .bss in longs shrl ecx |