summaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-14 16:54:04 +0000
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-14 16:54:04 +0000
commitd128e442763cdc3c314b5dacda52b70527eef214 (patch)
tree6781d6d3b496e12f2bc608ef1cd5ba6df4ed55e1 /gcc/config/elfos.h
parent0391fec091950e7d2cbeb16958da9f7c3f9107d2 (diff)
downloadgcc-d128e442763cdc3c314b5dacda52b70527eef214.tar.gz
* Revert patch from 2005-04-13.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98143 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