* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41993 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.h

index 748847f..745094d 100644 (file)
@@ -1,5 +1,9 @@
 2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
 
+       * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
+
+2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
+
        * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
        * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
 
index 61082c3..4dc8c2b 100644 (file)
@@ -707,6 +707,11 @@ extern int arm_is_6_or_7;
 
 #define FUNCTION_BOUNDARY  32
 
+/* The lowest bit is used to indicate Thumb-mode functions, so the
+   vbit must go into the delta field of pointers to member
+   functions.  */
+#define TARGET_PTRMEMFUNC_VBIT_LOCATION ptrmemfunc_vbit_in_delta
+
 #define EMPTY_FIELD_BOUNDARY  32
 
 #define BIGGEST_ALIGNMENT  32