Commit 12403335 by Neil Booth Committed by Neil Booth

defaults.h (UNIQUE_SECTION): Remove.

	* defaults.h (UNIQUE_SECTION): Remove.
	* system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.

From-SVN: r53573
parent 1f8c3c5b
2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
* defaults.h (UNIQUE_SECTION): Remove.
* system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
2002-05-17 Richard Henderson <rth@redhat.com>
* expr.c (init_expr_once): Don't use start/end_sequence.
......
......@@ -238,28 +238,6 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
#endif
#endif
/* If we have no definition for UNIQUE_SECTION, but do have the
ability to generate arbitrary sections, construct something
reasonable. */
#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
/* By default, we generate a label at the beginning and end of the
text section, and compute the size of the text section by
subtracting the two. However, on some platforms that doesn't
......
......@@ -595,7 +595,7 @@ typedef char _Bool;
MERGE_MACHINE_TYPE_ATTRIBUTES MERGE_MACHINE_DECL_ATTRIBUTES \
MD_INIT_BUILTINS MD_EXPAND_BUILTIN ASM_OUTPUT_CONSTRUCTOR \
ASM_OUTPUT_DESTRUCTOR SIGNED_CHAR_SPEC MAX_CHAR_TYPE_SIZE \
WCHAR_UNSIGNED
WCHAR_UNSIGNED UNIQUE_SECTION SELECT_SECTION
/* And other obsolete target macros, or macros that used to be in target
headers and were not used, and may be obsolete or may never have
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment