mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 22:37:26 +08:00
* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
From-SVN: r51193
This commit is contained in:
parent
9181f8db39
commit
44d57e3602
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* gcc.dg/cpp/extratokens2.c: New file.
|
||||
|
@ -6,7 +6,7 @@
|
||||
function. However, some platforms use all bits to encode a
|
||||
function pointer. Such platforms use the lowest bit of the delta,
|
||||
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_DELTA(delta, virt) (((delta) << 1) + !!(virt))
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user