diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-03-18 19:20:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-03-18 19:20:55 +0000 |
commit | 64f8ae44ccb651e550fe5d7369feda6b3f21fcb6 (patch) | |
tree | afd706051b15ea39a81e286f4c6642cd4dcb9510 /c/src/lib/libbsp/powerpc/shared/vectors/vectors.h | |
parent | 2003-03-18 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-64f8ae44ccb651e550fe5d7369feda6b3f21fcb6.tar.bz2 |
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
This patch makes RTEMS/powerpc/shared EABI compliant.
* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
zero_bss() should clear not only bss but sbss and sbss2
also (this is probably a bugfix, as sbss/sbss2 are
probably used even if -msdata=eabi is not specified).
* start/rtems_crti.S: New file which must
be linked immediately after ecrti.o. rtems_crti.o contains
a code snippet who lets __init() return immediately. Also,
a new entry point '_init' to the C++ Ctors is generated
for use by the RTEMS Thread_Handler.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/vectors/vectors.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/vectors/vectors.h b/c/src/lib/libbsp/powerpc/shared/vectors/vectors.h index 15eb7b6bfa..4d0d34d8e5 100644 --- a/c/src/lib/libbsp/powerpc/shared/vectors/vectors.h +++ b/c/src/lib/libbsp/powerpc/shared/vectors/vectors.h @@ -75,7 +75,11 @@ */ extern void default_exception_vector_code_prolog(); -extern int default_exception_vector_code_prolog_size; +/* This symbol is generated by the linker; prevent it from + * being accessed in one of the short data areas by declaring + * it as an array + */ +extern int default_exception_vector_code_prolog_size[]; /* codemove is like memmove, but it also gets the cache line size * as 4th parameter to synchronize them. If this last parameter is |