[SH][PATCH] SH Kernel compatibility
Andrew Stubbs
ams@codesourcery.com
Mon Feb 2 17:02:00 GMT 2009
Mike Frysinger wrote:
> the other changes are correct (Gentoo has had pretty much the same patch since
> glibc-2.5), but i think this is part is wrong. fix your kernel headers
> instead.
> -mike
I'm using unmodified Linux 2.6.29-rc2 headers. A quick grep shows that
the SH headers are not unusual in defining these macros.
I think the problem is that I have added an include of asm/ptrace.h in
sys/procfs.h (to get struct pt_regs).
This updated patch undefs the values at the point they are included.
Hopefully this is a better solution?
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-kernel-update.patch
Type: text/x-diff
Size: 2001 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090202/029f70db/attachment.bin>
More information about the Libc-alpha
mailing list