diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-16 16:25:15 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-16 16:25:15 +0000 |
commit | c37ac57fd91c4a9659e87a854e22c0ce7db69e81 (patch) | |
tree | 4cbf527719e8f48d29608ed6130151eb950d140d /gcc/c-pragma.h | |
parent | 4ee2237c34546239f686b751a9f3259bea82269a (diff) | |
download | gcc-c37ac57fd91c4a9659e87a854e22c0ce7db69e81.tar.gz |
gcc:
* c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
gcc/testsuite:
* gcc.dg/asm-names.c (ymain): Make it weak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69459 138bc75d-0d04-0410-961f-82ee72b054a4
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 |