From c3e92877a95d86163826fe1b5ad9a943a4989542 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 16 Jan 2003 22:37:54 +0000 Subject: 2003-01-16 Joel Sherrill * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h: Update to be in sync with what constants are defined in each file in the shared versions in libc/include. * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to autoconf can link programs. * libc/include/machine/types.h: Explicitly specify signed on intXX_t types to ensure they are signed. --- newlib/libc/sys/rtems/crt0.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'newlib/libc/sys/rtems/crt0.c') diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c index e5f67c006..99b91feea 100644 --- a/newlib/libc/sys/rtems/crt0.c +++ b/newlib/libc/sys/rtems/crt0.c @@ -41,6 +41,8 @@ memset() {} int __FIXUP_START__; int __FIXUP_END__; int __EXCEPT_START__; int __EXCEPT_END__; int __init; int __fini; + int __CTOR_LIST__; int __CTOR_END__; + int __DTOR_LIST__; int __DTOR_END__; #endif /* The SH expects certain symbols to be defined in the linker script. */ @@ -61,6 +63,10 @@ int __EH_FRAME_BEGIN__; asm ( "\$global\$:"); */ + asm (".text"); + asm (".global"); + asm (".EXPORT $$dyncall,ENTRY"); + asm ("$$dyncall:"); int atexit(void (*function)(void)) { return 0; } #endif -- cgit v1.2.3