Commit eb1cb30d by Richard Kenner

(ASM_OUTPUT_SECTION_NAME): New define.

From-SVN: r11479
parent fe4fcb3e
......@@ -94,6 +94,14 @@ Boston, MA 02111-1307, USA. */
#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\""
......
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