| To: | Ralf Baechle <ralf@oss.sgi.com> |
|---|---|
| Subject: | binutils bug workaround |
| From: | Vivien Chappelier <vivien.chappelier@enst-bretagne.fr> |
| Date: | Thu, 3 Jan 2002 22:44:30 +0100 (CET) |
| Cc: | linux-mips@oss.sgi.com |
| Sender: | owner-linux-mips@oss.sgi.com |
Hi,
There is a binutils bug (as) which produces bad addresses when
getting the address of a struct member for initializing the same struct,
and when there is data or static functions declared before:
int test = 0xdeadbeef;
struct {
int dummy;
void *ptr;
} bug =
{
ptr: &bug.ptr
};
will produce bad value for bug.ptr.
This patch move the declaration of kswapd_wait as a workaround to
this compiler bug. This probably affects all mips64 kernels.
Vivien Chappelier.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | l2 cache support for the O2, Vivien Chappelier |
|---|---|
| Next by Date: | Re: aic7xxx (O2 scsi) DMA coherency, Alan Cox |
| Previous by Thread: | l2 cache support for the O2, Vivien Chappelier |
| Next by Thread: | Re: binutils bug workaround, H . J . Lu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |