summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.h
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@superh.com>2003-07-16 16:25:15 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2003-07-16 17:25:15 +0100
commit1e0343ddbb51193f4d15d3e888d05c4104668390 (patch)
tree4cbf527719e8f48d29608ed6130151eb950d140d /gcc/c-pragma.h
parente50344b919416b00a648a1a3e9cfd5b1b3b6125d (diff)
downloadgcc-1e0343ddbb51193f4d15d3e888d05c4104668390.tar.gz
c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
gcc: * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK. gcc/testsuite: * gcc.dg/asm-names.c (ymain): Make it weak. From-SVN: r69459
Diffstat (limited to 'gcc/c-pragma.h')
-rw-r--r--gcc/c-pragma.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h
index b14a0c4738c..cea410b1580 100644
--- a/gcc/c-pragma.h
+++ b/gcc/c-pragma.h
@@ -28,12 +28,9 @@ extern int yydebug;
extern struct cpp_reader* parse_in;
-#ifdef HANDLE_SYSV_PRAGMA
-#if ((defined (ASM_WEAKEN_LABEL) && defined (ASM_OUTPUT_WEAK_ALIAS)) \
- || defined (ASM_WEAKEN_DECL))
#define HANDLE_PRAGMA_WEAK SUPPORTS_WEAK
-#endif
+#ifdef HANDLE_SYSV_PRAGMA
/* We always support #pragma pack for SYSV pragmas. */
#ifndef HANDLE_PRAGMA_PACK
#define HANDLE_PRAGMA_PACK 1