aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/ia64/sysv4.h')
-rw-r--r--gcc/config/ia64/sysv4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h
index 6e5efdb..95f73a3 100644
--- a/gcc/config/ia64/sysv4.h
+++ b/gcc/config/ia64/sysv4.h
@@ -206,6 +206,10 @@ do { \
else \
data_section (); \
} \
+ /* This could be a CONSTRUCTOR containing ADDR_EXPR of a VAR_DECL, \
+ in which case we can't put it in a shared library rodata. */ \
+ else if (flag_pic && (RELOC)) \
+ data_section (); \
else \
const_section (); \
}