Commit 44d57e36 by Alexandre Oliva Committed by Alexandre Oliva

* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.

From-SVN: r51193
parent 9181f8db
2002-03-22 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
2002-03-22 Phil Edwards <pme@gcc.gnu.org> 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/extratokens2.c: New file. * gcc.dg/cpp/extratokens2.c: New file.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
function. However, some platforms use all bits to encode a function. However, some platforms use all bits to encode a
function pointer. Such platforms use the lowest bit of the delta, function pointer. Such platforms use the lowest bit of the delta,
that is shifted left by one bit. */ that is shifted left by one bit. */
#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ #if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__
#define ADJUST_PTRFN(func, virt) ((void (*)())(func)) #define ADJUST_PTRFN(func, virt) ((void (*)())(func))
#define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt)) #define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt))
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment