diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2001-01-23 14:29:30 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-01-23 14:29:30 -0800 |
commit | eff01bb615f99284e9f67ca2ed08823944a9936e (patch) | |
tree | 5537b15d3e62ab8dbfc2b337aa92aa67ae85ca63 /gcc/varasm.c | |
parent | 7c01b2b5a879958a3a59d758e046e6cd2ec36e63 (diff) | |
download | gcc-eff01bb615f99284e9f67ca2ed08823944a9936e.zip gcc-eff01bb615f99284e9f67ca2ed08823944a9936e.tar.gz gcc-eff01bb615f99284e9f67ca2ed08823944a9936e.tar.bz2 |
varasm.c (UNIQUE_SECTION): Move default implementation ...
* varasm.c (UNIQUE_SECTION): Move default implementation ...
* defaults.h: ... here.
From-SVN: r39213
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 0cdf138..99c8da6 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -326,30 +326,6 @@ named_section (decl, name, reloc) } } -#ifdef ASM_OUTPUT_SECTION_NAME -#ifndef UNIQUE_SECTION -#define UNIQUE_SECTION(DECL,RELOC) \ -do { \ - int len; \ - const char *name; \ - char *string; \ - \ - name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \ - /* Strip off any encoding in name. */ \ - STRIP_NAME_ENCODING (name, name); \ - \ - len = strlen (name) + 1; \ - string = alloca (len + 1); \ - sprintf (string, ".%s", name); \ - \ - DECL_SECTION_NAME (DECL) = build_string (len, string); \ -} while (0) -#endif -#ifndef UNIQUE_SECTION_P -#define UNIQUE_SECTION_P(DECL) 0 -#endif -#endif - #ifdef BSS_SECTION_ASM_OP /* Tell the assembler to switch to the bss section. */ |