[PATCH][SH] Fix setjmp.h for C++

Andrew Stubbs ams@codesourcery.com
Wed Mar 25 19:56:00 GMT 2009


This patch fixes the following glibc tests for SH4:

FAIL: build debug/tst-chk4.o
FAIL: build debug/tst-chk5.o
FAIL: build debug/tst-chk6.o
FAIL: build debug/tst-lfschk4.o
FAIL: build debug/tst-lfschk5.o
FAIL: build debug/tst-lfschk6.o

The problem is that they are compiled with the C++ compiler, and that objects 
to unnamed types.

This patch simply gives the struct a name. It is much the same as (part of) 
this patch for m68k: 
http://sourceware.org/ml/libc-ports/2008-08/msg00005.html

OK?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmp-name.patch
Type: text/x-diff
Size: 858 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090325/71bce720/attachment.bin>


More information about the Libc-alpha mailing list