summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-19 18:38:30 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-19 18:38:30 +0000
commitc5a1dccda45eaf8952ed4decfc88424ced909136 (patch)
tree51f05cf6a7dfc39943362ff3fa5633b158128477 /gcc
parent167b550bfc882bd2fd23b33ca65ad2a6be197771 (diff)
downloadgcc-c5a1dccda45eaf8952ed4decfc88424ced909136.tar.gz
* system.h (ASM_MAKE_LABEL_LINKONCE): Poison.
* varasm.c (globalize_decl): Remove ASM_MAKE_LABEL_LINKONCE ifdef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/system.h3
-rw-r--r--gcc/varasm.c3
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7f8ac0e9622..e536c404f9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-19 Steve Ellcey <sje@cup.hp.com>
+
+ * system.h (ASM_MAKE_LABEL_LINKONCE): Poison.
+ * varasm.c (globalize_decl): Remove ASM_MAKE_LABEL_LINKONCE ifdef.
+
2007-01-19 Tomas Bily <tbily@suse.cz>
* cgraphunit.c (cgraph_finalize_function): Updating of pid
diff --git a/gcc/system.h b/gcc/system.h
index 4d191e7009d..7a3c489e1d4 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -736,7 +736,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
EXTRA_SECTIONS EXTRA_SECTION_FUNCTIONS READONLY_DATA_SECTION \
TARGET_ASM_EXCEPTION_SECTION TARGET_ASM_EH_FRAME_SECTION \
SMALL_ARG_MAX ASM_OUTPUT_SHARED_BSS ASM_OUTPUT_SHARED_COMMON \
- ASM_OUTPUT_SHARED_LOCAL UNALIGNED_WORD_ASM_OP
+ ASM_OUTPUT_SHARED_LOCAL UNALIGNED_WORD_ASM_OP \
+ ASM_MAKE_LABEL_LINKONCE
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
diff --git a/gcc/varasm.c b/gcc/varasm.c
index ff1ee6e0577..0cb8f86eadc 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4775,9 +4775,6 @@ globalize_decl (tree decl)
return;
}
-#elif defined(ASM_MAKE_LABEL_LINKONCE)
- if (DECL_ONE_ONLY (decl))
- ASM_MAKE_LABEL_LINKONCE (asm_out_file, name);
#endif
targetm.asm_out.globalize_label (asm_out_file, name);