summaryrefslogtreecommitdiff
path: root/gcc/config/ptx4.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1997-04-30 18:13:30 +0000
committerJason Merrill <merrill@gnu.org>1997-04-30 18:13:30 +0000
commitad4ff31086d8e338ebd7b30725145f6ad57d63ae (patch)
tree08953da2d888b7041436e28ef4a8fa401e61163b /gcc/config/ptx4.h
parenta4b3b54a70b9c9cccd9b715ec896e25bfc48131f (diff)
downloadgcc-ad4ff31086d8e338ebd7b30725145f6ad57d63ae.tar.gz
x
From-SVN: r13994
Diffstat (limited to 'gcc/config/ptx4.h')
-rw-r--r--gcc/config/ptx4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/ptx4.h b/gcc/config/ptx4.h
index 7bda47c9235..80b7b165d0c 100644
--- a/gcc/config/ptx4.h
+++ b/gcc/config/ptx4.h
@@ -541,10 +541,10 @@ dtors_section () \
We make the section read-only and executable for a function decl,
read-only for a const data decl, and writable for a non-const data decl. */
-#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
+#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC) \
fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", NAME, \
(DECL) && TREE_CODE (DECL) == FUNCTION_DECL ? "ax" : \
- (DECL) && TREE_READONLY (DECL) ? "a" : "aw")
+ (DECL) && DECL_READONLY_SECTION (DECL, RELOC) ? "a" : "aw")
/* A C statement (sans semicolon) to output an element in the table of