+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.
#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
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