pa.c (pa_som_asm_init_sections): Don't force all constant data into data section...
commit9cc7debee91270a91ce6e9ad65740b8e35743c61
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 18 Jul 2019 00:06:41 +0000 (18 00:06 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 18 Jul 2019 00:06:41 +0000 (18 00:06 +0000)
tree15c3d64671a9aa19ab72f42c31bb87380d40228b
parentcaffb6e56c2914e64e65f3c336b770c178f265a3
pa.c (pa_som_asm_init_sections): Don't force all constant data into data section when generating PIC code.

* config/pa/pa.c (pa_som_asm_init_sections): Don't force all constant
data into data section when generating PIC code.
(pa_select_section): Use pa_reloc_rw_mask() to qualify relocs.
(pa_reloc_rw_mask): Return 3 when generating PIC code and when
generating code for SOM targets earlier than HP-UX 11.  Otherwise,
return 2 for SOM and 0 for other targets.

From-SVN: r273557
gcc/ChangeLog
gcc/config/pa/pa.c