Changeset d53130b in rtems
- Timestamp:
- 03/23/98 19:54:35 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e4829a05
- Parents:
- 01518357
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
r01518357 rd53130b 122 122 AC_LANG_C 123 123 AC_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);}], 142 125 rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross) 143 126 AC_LANG_RESTORE … … 264 247 dnl now retry with our own version of malloc 265 248 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);}], 284 250 rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross) 285 251 fi -
aclocal/prog-cc.m4
r01518357 rd53130b 64 64 AC_LANG_C 65 65 AC_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);}], 84 67 rtems_cv_prog_cc_works, rtems_cv_prog_cc_cross) 85 68 AC_LANG_RESTORE -
aclocal/prog-cxx.m4
r01518357 rd53130b 62 62 dnl now retry with our own version of malloc 63 63 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);}], 82 65 rtems_cv_prog_cxx_works, rtems_cv_prog_cxx_cross) 83 66 fi
Note: See TracChangeset
for help on using the changeset viewer.