Changeset d53130b in rtems for aclocal.m4


Ignore:
Timestamp:
Mar 23, 1998, 7:54:35 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r01518357 rd53130b  
    122122AC_LANG_C
    123123AC_TRY_COMPILER(
    124 [
    125 #if defined(__PPC__)
    126   int __SDATA_START__;  int __SDATA2_START__;
    127   int __GOT_START__;    int __GOT_END__;
    128   int __GOT2_START__;   int __GOT2_END__;
    129   int __SBSS_END__;     int __SBSS2_END__;
    130   int __FIXUP_START__;  int __FIXUP_END__;
    131   int __EXCEPT_START__; int __EXCEPT_END__;
    132   int __init;           int __fini;
    133 #endif
    134 #if defined(__hppa__)
    135   asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
    136   asm ( ".export \$global\$" );
    137   asm ( "\$global\$:");
    138 #endif
    139  int atexit() { return 0; }
    140  void *malloc() { return 0; }
    141  main(){return(0);}],
     124[main(){return(0);}],
    142125rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross)
    143126AC_LANG_RESTORE
     
    264247  dnl now retry with our own version of malloc
    265248  AC_TRY_COMPILER(
    266     [extern "C" void *malloc(); void *malloc() { return (0); }
    267      extern "C" int atexit();   int atexit() { return 0; }
    268 #if defined(__PPC__)
    269   int __SDATA_START__;  int __SDATA2_START__;
    270   int __GOT_START__;    int __GOT_END__;
    271   int __GOT2_START__;   int __GOT2_END__;
    272   int __SBSS_END__;     int __SBSS2_END__;
    273   int __FIXUP_START__;  int __FIXUP_END__;
    274   int __EXCEPT_START__; int __EXCEPT_END__;
    275   int __init;           int __fini;
    276 #endif
    277 #if defined(__hppa__)
    278   asm ( ".subspa \$GLOBAL\$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40");
    279   asm ( ".export \$global\$" );
    280   asm ( "\$global\$:");
    281 #endif
    282 
    283      main(){return(0);}],
     249    [ main(){return(0);}],
    284250    rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross)
    285251fi
Note: See TracChangeset for help on using the changeset viewer.