summaryrefslogtreecommitdiff
path: root/gcc/config/vms/vms.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/vms/vms.h')
-rw-r--r--gcc/config/vms/vms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/vms/vms.h b/gcc/config/vms/vms.h
index 62e8636cae4..ab8f6e0dc4e 100644
--- a/gcc/config/vms/vms.h
+++ b/gcc/config/vms/vms.h
@@ -61,3 +61,7 @@ extern void vms_c_register_includes (const char *, const char *, int);
#define SIZE_TYPE "unsigned int"
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int"
+
+/* VMS doesn't support other sections than .text for code. */
+
+#define TARGET_ASM_FUNCTION_SECTION vms_function_section