summaryrefslogtreecommitdiff
path: root/gcc/config/vms/vms.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-12-21 09:44:27 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2011-12-21 09:44:27 +0000
commit916e8d27947d5f0590d31bb1c5529e82dc2136e9 (patch)
tree93c9158835058ddb90e9d29550850560a8a0716e /gcc/config/vms/vms.h
parentb200cc3fccb049b5335c3e9310b4ab7cf4b0075c (diff)
downloadgcc-916e8d27947d5f0590d31bb1c5529e82dc2136e9.tar.gz
vms-protos.h (vms_function_section): New prototype.
2011-12-21 Tristan Gingold <gingold@adacore.com> * config/vms/vms-protos.h (vms_function_section): New prototype. * config/vms/vms.c (vms_function_section): New function. * config/vms/vms.h (TARGET_ASM_FUNCTION_SECTION): Define. From-SVN: r182571
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