#define ASM_OUTPUT_ALIGNED_BSS(FILE, NAME, SIZE, ALIGN) \
asm_output_aligned_bss ((FILE), (NAME), (SIZE), (ALIGN))
+/* Support generic sections */
+
+#undef ASM_OUTPUT_SECTION_NAME
+#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
+ fprintf((FILE), ".section\t%s,\"%c\"\n", (NAME), \
+ TREE_CODE (DECL) == FUNCTION_DECL || \
+ TREE_READONLY (DECL) ? 'x' : 'd')
+
/* Support the ctors and dtors sections for g++. */
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\""