Changeset d53130b in rtems for aclocal


Ignore:
Timestamp:
Mar 23, 1998, 7:54:35 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e4829a05
Parents:
01518357
Message:

Updated now that the phony crt0.c in newlib defines all odd symbols
that gcc automatically generates references to.

Location:
aclocal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aclocal/prog-cc.m4

    r01518357 rd53130b  
    6464AC_LANG_C
    6565AC_TRY_COMPILER(
    66 [
    67 #if defined(__PPC__)
    68   int __SDATA_START__;  int __SDATA2_START__;
    69   int __GOT_START__;    int __GOT_END__;
    70   int __GOT2_START__;   int __GOT2_END__;
    71   int __SBSS_END__;     int __SBSS2_END__;
    72   int __FIXUP_START__;  int __FIXUP_END__;
    73   int __EXCEPT_START__; int __EXCEPT_END__;
    74   int __init;           int __fini;
    75 #endif
    76 #if defined(__hppa__)
    77   asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
    78   asm ( ".export \$global\$" );
    79   asm ( "\$global\$:");
    80 #endif
    81  int atexit() { return 0; }
    82  void *malloc() { return 0; }
    83  main(){return(0);}],
     66[main(){return(0);}],
    8467rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross)
    8568AC_LANG_RESTORE
  • aclocal/prog-cxx.m4

    r01518357 rd53130b  
    6262  dnl now retry with our own version of malloc
    6363  AC_TRY_COMPILER(
    64     [extern "C" void *malloc(); void *malloc() { return (0); }
    65      extern "C" int atexit();   int atexit() { return 0; }
    66 #if defined(__PPC__)
    67   int __SDATA_START__;  int __SDATA2_START__;
    68   int __GOT_START__;    int __GOT_END__;
    69   int __GOT2_START__;   int __GOT2_END__;
    70   int __SBSS_END__;     int __SBSS2_END__;
    71   int __FIXUP_START__;  int __FIXUP_END__;
    72   int __EXCEPT_START__; int __EXCEPT_END__;
    73   int __init;           int __fini;
    74 #endif
    75 #if defined(__hppa__)
    76   asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
    77   asm ( ".export \$global\$" );
    78   asm ( "\$global\$:");
    79 #endif
    80 
    81      main(){return(0);}],
     64    [ main(){return(0);}],
    8265    rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross)
    8366fi
Note: See TracChangeset for help on using the changeset viewer.