]>
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 | ;; | |
4104214b JB |
13 | --- gc-7.1/mach_dep.c.orig 2007-08-13 23:49:11.000000000 +0200 |
14 | +++ gc-7.1/mach_dep.c 2008-05-28 23:35:02.259767061 +0200 | |
15 | @@ -175,7 +175,7 @@ | |
cc356a92 | 16 | # if defined(HAVE_PUSH_REGS) |
17 | GC_push_regs(); | |
4104214b JB |
18 | # elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && \ |
19 | - !defined(HURD) | |
20 | + !defined(HURD) && !(defined(SPARC) && !defined(__arch64__)) | |
cc356a92 | 21 | /* Older versions of Darwin seem to lack getcontext(). */ |
22 | /* ARM Linux often doesn't support a real getcontext(). */ | |
23 | ucontext_t ctxt; |