Commit da9f42b1 by Richard Stallman

(handle_pragma_weak): Test HANDLE_PRAGMA_WEAK

and WEAK_ASM_OP and SET_ASM_OP.

From-SVN: r5438
parent c53e9440
......@@ -3619,6 +3619,9 @@ output_constructor (exp, size)
#ifdef HANDLE_SYSV_PRAGMA
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */
#if defined (HANDLE_PRAGMA_WEAK) || (defined (WEAK_ASM_OP) && defined (SET_ASM_OP))
/* Output asm to handle ``#pragma weak'' */
void
handle_pragma_weak (what, asm_out_file, name, value)
......@@ -3657,4 +3660,6 @@ handle_pragma_weak (what, asm_out_file, name, value)
warning ("malformed `#pragma weak'");
}
#endif /* HANDLE_PRAGMA_WEAK or (WEAK_ASM_OP and SET_ASM_OP) */
#endif /* HANDLE_SYSV_PRAGMA */
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