M68K: turn #warnings into comments in public headers

The warnings made those headers and those including them not detectable
by libiberty's configure because of the way it checked for them.

This fixes the gcc build.
This commit is contained in:
François Revol 2016-07-20 18:27:21 +02:00
parent d704be3579
commit 47a20cd6d1
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@
#define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4))
typedef int __jmp_buf[_SETJMP_BUF_SZ];
#warning M68K: fix jmpbuf size
/* TODO: #warning M68K: fix jmpbuf size */
#endif /* _ARCH_SETJMP_H_ */

View File

@ -17,7 +17,7 @@ struct vregs
d0, d1, d2, d3, d4, d5, d6, d7,
a0, a1, a2, a3, a4, a5, a6, a7;
unchar ccr;
#warning M68K: fix floats in vregs, add missing stuff.
/* TODO: #warning M68K: fix floats in vregs, add missing stuff. */
double f0, /* fp scratch */
f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13; /* fp volatile regs */
};