summaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-28 14:14:47 +0000
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-28 14:14:47 +0000
commit7d271ed52478fceb49379493ecfde376956f3ffe (patch)
tree86e8687d6fe4efcfd9a9b458cb2feab3c021b4d1 /gcc/config/elfos.h
parentd874b7239eb6e5059674755c7730978314e1f82d (diff)
downloadgcc-7d271ed52478fceb49379493ecfde376956f3ffe.tar.gz
* config/elfos.h: Revert my patch from 2005-02-25 since it broke
building libjava and caused PR regression/20228. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 6e41bb26936..9eed0d13fe3 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -212,15 +212,7 @@ Boston, MA 02111-1307, USA. */
fprintf ((FILE), "%s\n", ASM_SECTION_START_OP)
#endif
-/* Don't use weak for entities with vague linkage when HAVE_GAS_COMDAT_GROUP
- is true. */
-#define MAKE_DECL_ONE_ONLY(DECL) \
- do \
- { \
- if (!HAVE_GAS_COMDAT_GROUP) \
- DECL_WEAK(DECL) = 1; \
- } \
- while (0)
+#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
/* Switch into a generic section. */
#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section