aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-02-22 19:58:37 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-02-22 19:58:37 +0000
commite8dad6f060483d690785ae954f1d9a1e2e60f914 (patch)
tree5dc85086ffd30ae429b1ddd034fac2ff7a54f0b2 /gcc/varasm.c
parent55e35fb7d21f375edad6e594e2846adc0d4426c7 (diff)
downloadgcc-e8dad6f060483d690785ae954f1d9a1e2e60f914.zip
gcc-e8dad6f060483d690785ae954f1d9a1e2e60f914.tar.gz
gcc-e8dad6f060483d690785ae954f1d9a1e2e60f914.tar.bz2
tree.h (variable_section): Delete.
* tree.h (variable_section): Delete. * varasm.c (variable_section): Delete. From-SVN: r111369
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 4c957ba..f07ed39 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -620,19 +620,6 @@ default_no_function_rodata_section (tree decl ATTRIBUTE_UNUSED)
return readonly_data_section;
}
-/* Switch to section for variable DECL. RELOC is the same as the
- argument to SELECT_SECTION. */
-
-void
-variable_section (tree decl, int reloc)
-{
- if (IN_NAMED_SECTION (decl))
- switch_to_section (get_named_section (decl, NULL, reloc));
- else
- switch_to_section (targetm.asm_out.select_section (decl, reloc,
- DECL_ALIGN (decl)));
-}
-
/* Return the section to use for string merging. */
static section *