diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b6be8a9fa16..a162f10b1fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 18 16:04:12 2000 Jim Wilson + + * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if + flag_pic and RELOC. + 2000-04-18 Zack Weinberg * cccp.c, cexp.y, cexp.c, cccp.1: Removed. diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h index 6e5efdb89d6..95f73a34847 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 (); \ }