summaryrefslogtreecommitdiff
path: root/gcc/config/psos.h
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-04-30 18:13:30 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-04-30 18:13:30 +0000
commit9b6402f5b307410a8dacddae4dc980bfac24afc7 (patch)
tree08953da2d888b7041436e28ef4a8fa401e61163b /gcc/config/psos.h
parent865ff07f1e5e1190dbdb1b1a15a30e0665c0e7ce (diff)
downloadgcc-9b6402f5b307410a8dacddae4dc980bfac24afc7.tar.gz
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13994 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/psos.h')
-rw-r--r--gcc/config/psos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/psos.h b/gcc/config/psos.h
index 0299a35d8ec..d4043002a1c 100644
--- a/gcc/config/psos.h
+++ b/gcc/config/psos.h
@@ -87,10 +87,10 @@ while (0)
/* Switch into a generic section. */
-#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")
/* Define the pseudo-ops used to switch to the .ctors and .dtors