re PR target/27051 (Compiler generates .sdata when -mno-sdata specified)
PR target/27051 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA. From-SVN: r114390
This commit is contained in:
parent
3118f0d551
commit
1f4a2e84b4
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-06-05 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR target/27051
|
||||
* config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
|
||||
|
||||
2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
|
||||
Victor Kaplansky <victork@il.ibm.com>
|
||||
|
||||
|
|
|
@ -9307,7 +9307,8 @@ ia64_select_rtx_section (enum machine_mode mode, rtx x,
|
|||
unsigned HOST_WIDE_INT align)
|
||||
{
|
||||
if (GET_MODE_SIZE (mode) > 0
|
||||
&& GET_MODE_SIZE (mode) <= ia64_section_threshold)
|
||||
&& GET_MODE_SIZE (mode) <= ia64_section_threshold
|
||||
&& !TARGET_NO_SDATA)
|
||||
return sdata_section;
|
||||
else
|
||||
return default_elf_select_rtx_section (mode, x, align);
|
||||
|
|
Loading…
Add table
Reference in a new issue