oops - remove extranseous SAYMBOL_REF_FLAG usage from -mlong-calls patch
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2000 22:45:00 +0000 (22:45 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2000 22:45:00 +0000 (22:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31938 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/arm/arm.h

index 1a27a74..0a08a5a 100644 (file)
@@ -1453,14 +1453,6 @@ CUMULATIVE_ARGS;
    When generating pic allow anything.  */
 #define LEGITIMATE_CONSTANT_P(X)       (flag_pic || ! label_mentioned_p (X))
 
-/* If we are referencing a function that is static or is known to be 
-   in this file, make the SYMBOL_REF special.  We can use this to indicate
-   that we can do direct call to that function.  */
-#define ARM_MARK_NEARBY_FUNCTION(decl)                                 \
-  if (TREE_CODE (decl) == FUNCTION_DECL                                        \
-      && (TREE_ASM_WRITTEN (decl) || ! TREE_PUBLIC (decl)))             \
-    SYMBOL_REF_FLAG (XEXP (DECL_RTL (decl), 0)) = 1;                    \
-
 /* Symbols in the text segment can be accessed without indirecting via the
    constant pool; it may take an extra binary operation, but this is still
    faster than indirecting via memory.  Don't do this when not optimizing,
@@ -1478,13 +1470,6 @@ CUMULATIVE_ARGS;
                  ? TREE_CST_RTL (decl) : DECL_RTL (decl));             \
       SYMBOL_REF_FLAG (XEXP (rtl, 0)) = 1;                             \
     }                                                                  \
-                                                                       \
-  ARM_MARK_NEARBY_FUNCTION (decl)                                      \
-}
-#else
-#define ENCODE_SECTION_INFO(decl)                                      \
-{                                                                      \
-  ARM_MARK_NEARBY_FUNCTION (decl)                                      \
 }
 #endif