From 7397211686835737adc0d252a996c8c5b8e72e40 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 8 Oct 2002 13:09:05 +0000 Subject: 2002-10-07 Joel Sherrill * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link dummy programs. --- newlib/libc/sys/rtems/crt0.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'newlib/libc/sys/rtems') diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c index 9895ee6c7..e5f67c006 100644 --- a/newlib/libc/sys/rtems/crt0.c +++ b/newlib/libc/sys/rtems/crt0.c @@ -43,6 +43,12 @@ memset() {} int __init; int __fini; #endif +/* The SH expects certain symbols to be defined in the linker script. */ + +#if defined(__sh__) +int __EH_FRAME_BEGIN__; +#endif + /* The hppa expects this to be defined in the real crt0.s. * Also for some reason, the hppa1.1 does not find atexit() * during the AC_PROG_CC tests. -- cgit v1.2.3