summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-23 19:54:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-23 19:54:35 +0000
commitd53130befa1cc691535aef5e07ec1c42b3bbbb68 (patch)
tree19289e0497731ac630686dc396cc55e6438252c8
parent*** empty log message *** (diff)
downloadrtems-d53130befa1cc691535aef5e07ec1c42b3bbbb68.tar.bz2
Updated now that the phony crt0.c in newlib defines all odd symbols
that gcc automatically generates references to.
Diffstat (limited to '')
-rw-r--r--aclocal.m438
-rw-r--r--aclocal/prog-cc.m419
-rw-r--r--aclocal/prog-cxx.m419
3 files changed, 4 insertions, 72 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 681ec21d3e..13adf8780f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -121,24 +121,7 @@ AC_DEFUN(RTEMS_PROG_CC_WORKS,
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILER(
-[
-#if defined(__PPC__)
- int __SDATA_START__; int __SDATA2_START__;
- int __GOT_START__; int __GOT_END__;
- int __GOT2_START__; int __GOT2_END__;
- int __SBSS_END__; int __SBSS2_END__;
- int __FIXUP_START__; int __FIXUP_END__;
- int __EXCEPT_START__; int __EXCEPT_END__;
- int __init; int __fini;
-#endif
-#if defined(__hppa__)
- asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
- asm ( ".export \$global\$" );
- asm ( "\$global\$:");
-#endif
- int atexit() { return 0; }
- void *malloc() { return 0; }
- main(){return(0);}],
+[main(){return(0);}],
rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross)
AC_LANG_RESTORE
AC_MSG_RESULT($rtems_cv_prog_cc_works)
@@ -263,24 +246,7 @@ AC_TRY_COMPILER(
if test "$rtems_cv_prog_cxx_works" = "no"; then
dnl now retry with our own version of malloc
AC_TRY_COMPILER(
- [extern "C" void *malloc(); void *malloc() { return (0); }
- extern "C" int atexit(); int atexit() { return 0; }
-#if defined(__PPC__)
- int __SDATA_START__; int __SDATA2_START__;
- int __GOT_START__; int __GOT_END__;
- int __GOT2_START__; int __GOT2_END__;
- int __SBSS_END__; int __SBSS2_END__;
- int __FIXUP_START__; int __FIXUP_END__;
- int __EXCEPT_START__; int __EXCEPT_END__;
- int __init; int __fini;
-#endif
-#if defined(__hppa__)
- asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
- asm ( ".export \$global\$" );
- asm ( "\$global\$:");
-#endif
-
- main(){return(0);}],
+ [ main(){return(0);}],
rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross)
fi
AC_LANG_RESTORE
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
index 76d27a0539..7d8a286ec3 100644
--- a/aclocal/prog-cc.m4
+++ b/aclocal/prog-cc.m4
@@ -63,24 +63,7 @@ AC_DEFUN(RTEMS_PROG_CC_WORKS,
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILER(
-[
-#if defined(__PPC__)
- int __SDATA_START__; int __SDATA2_START__;
- int __GOT_START__; int __GOT_END__;
- int __GOT2_START__; int __GOT2_END__;
- int __SBSS_END__; int __SBSS2_END__;
- int __FIXUP_START__; int __FIXUP_END__;
- int __EXCEPT_START__; int __EXCEPT_END__;
- int __init; int __fini;
-#endif
-#if defined(__hppa__)
- asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
- asm ( ".export \$global\$" );
- asm ( "\$global\$:");
-#endif
- int atexit() { return 0; }
- void *malloc() { return 0; }
- main(){return(0);}],
+[main(){return(0);}],
rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross)
AC_LANG_RESTORE
AC_MSG_RESULT($rtems_cv_prog_cc_works)
diff --git a/aclocal/prog-cxx.m4 b/aclocal/prog-cxx.m4
index a9648ab86a..d8469962bf 100644
--- a/aclocal/prog-cxx.m4
+++ b/aclocal/prog-cxx.m4
@@ -61,24 +61,7 @@ AC_TRY_COMPILER(
if test "$rtems_cv_prog_cxx_works" = "no"; then
dnl now retry with our own version of malloc
AC_TRY_COMPILER(
- [extern "C" void *malloc(); void *malloc() { return (0); }
- extern "C" int atexit(); int atexit() { return 0; }
-#if defined(__PPC__)
- int __SDATA_START__; int __SDATA2_START__;
- int __GOT_START__; int __GOT_END__;
- int __GOT2_START__; int __GOT2_END__;
- int __SBSS_END__; int __SBSS2_END__;
- int __FIXUP_START__; int __FIXUP_END__;
- int __EXCEPT_START__; int __EXCEPT_END__;
- int __init; int __fini;
-#endif
-#if defined(__hppa__)
- asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
- asm ( ".export \$global\$" );
- asm ( "\$global\$:");
-#endif
-
- main(){return(0);}],
+ [ main(){return(0);}],
rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross)
fi
AC_LANG_RESTORE