diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2003-07-16 16:25:15 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2003-07-16 17:25:15 +0100 |
commit | 1e0343ddbb51193f4d15d3e888d05c4104668390 (patch) | |
tree | 4cbf527719e8f48d29608ed6130151eb950d140d /gcc/c-pragma.h | |
parent | e50344b919416b00a648a1a3e9cfd5b1b3b6125d (diff) | |
download | gcc-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.h | 5 |
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 |