Commit 6be160ff by Jim Wilson

(HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not

SET_ASM_OP when defining it.

From-SVN: r6665
parent 609380f6
...@@ -21,11 +21,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -21,11 +21,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#include "tree.h" #include "tree.h"
#include "function.h" #include "function.h"
#include "defaults.h"
#ifdef HANDLE_SYSV_PRAGMA #ifdef HANDLE_SYSV_PRAGMA
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */ /* Support #pragma weak by default if WEAK_ASM_OP and ASM_OUTPUT_DEF
#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP) && defined (SET_ASM_OP) are defined. */
#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP) && defined (ASM_OUTPUT_DEF)
#define HANDLE_PRAGMA_WEAK 1 #define HANDLE_PRAGMA_WEAK 1
#endif #endif
......
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