summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-21 08:51:26 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-21 08:51:26 +0000
commite5ce4771220d67c38e87cbefc87f12e83b74c930 (patch)
tree72f15bf4c4b3b9550ccca2ac603f6591b2422f25 /gcc/varasm.c
parent903de8535faba1195c4192a3dc4c33ff329fe337 (diff)
downloadgcc-e5ce4771220d67c38e87cbefc87f12e83b74c930.tar.gz
* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
(ASM_OUTPUT_SHARED_LOCAL): Delete. * doc/invoke.texi (-fshared-data): Delete. * common.opt (fshared-data): Delete. * varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling. (assemble_static_space): Remove #if 0 code. * system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS) (ASM_OUTPUT_SHARED_LOCAL): Poison. * config/cris/cris.h: Remove FIXME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index ed7bbb66190..4c957ba42fd 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1547,30 +1547,6 @@ asm_emit_uninitialised (tree decl, const char *name,
if (destination == asm_dest_bss)
globalize_decl (decl);
- if (flag_shared_data)
- {
- switch (destination)
- {
-#ifdef ASM_OUTPUT_SHARED_BSS
- case asm_dest_bss:
- ASM_OUTPUT_SHARED_BSS (asm_out_file, decl, name, size, rounded);
- return;
-#endif
-#ifdef ASM_OUTPUT_SHARED_COMMON
- case asm_dest_common:
- ASM_OUTPUT_SHARED_COMMON (asm_out_file, name, size, rounded);
- return;
-#endif
-#ifdef ASM_OUTPUT_SHARED_LOCAL
- case asm_dest_local:
- ASM_OUTPUT_SHARED_LOCAL (asm_out_file, name, size, rounded);
- return;
-#endif
- default:
- break;
- }
- }
-
switch (destination)
{
#ifdef ASM_EMIT_BSS
@@ -2104,11 +2080,6 @@ assemble_static_space (unsigned HOST_WIDE_INT size)
const char *namestring;
rtx x;
-#if 0
- if (flag_shared_data)
- switch_to_section (data_section);
-#endif
-
ASM_GENERATE_INTERNAL_LABEL (name, "LF", const_labelno);
++const_labelno;
namestring = ggc_strdup (name);