]>
Commit | Line | Data |
---|---|---|
cb23daba | 1 | --- gc-7.0/configure.ac.orig 2008-01-28 13:43:25.000000000 +0000 |
2 | +++ gc-7.0/configure.ac 2008-01-28 13:44:30.000000000 +0000 | |
3 | @@ -392,6 +392,9 @@ | |
4 | dnl This is now redundant, but it is also important for incremental GC | |
5 | dnl performance under Irix. | |
6 | ;; | |
7 | + sparc*-*-linux*) | |
8 | + machdep="mach_dep.lo sparc_mach_dep.lo" | |
9 | + ;; | |
10 | sparc-*-netbsd*) | |
11 | machdep="mach_dep.lo sparc_netbsd_mach_dep.lo" | |
12 | ;; | |
cc356a92 | 13 | --- gc-7.0/mach_dep.c.orig 2008-01-30 14:46:14.000000000 +0000 |
14 | +++ gc-7.0/mach_dep.c 2008-01-30 14:48:51.000000000 +0000 | |
15 | @@ -174,7 +174,7 @@ | |
16 | ||
17 | # if defined(HAVE_PUSH_REGS) | |
18 | GC_push_regs(); | |
19 | -# elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) | |
20 | +# elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && !(defined(SPARC) && !defined(__arch64__)) | |
21 | /* Older versions of Darwin seem to lack getcontext(). */ | |
22 | /* ARM Linux often doesn't support a real getcontext(). */ | |
23 | ucontext_t ctxt; |