diff options
author | Steve Ellcey <sje@cup.hp.com> | 2006-06-05 15:13:01 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2006-06-05 15:13:01 +0000 |
commit | 1f4a2e84b4a5121a349b28ad8363b2e269686528 (patch) | |
tree | 71e266983fe171b14163030cc6917672d6ea82ac | |
parent | 3118f0d55139258513a84d0e2138cfb6d7f4772a (diff) | |
download | gcc-1f4a2e84b4a5121a349b28ad8363b2e269686528.zip gcc-1f4a2e84b4a5121a349b28ad8363b2e269686528.tar.gz gcc-1f4a2e84b4a5121a349b28ad8363b2e269686528.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25d4311..099d726 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 6579814..076814e 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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); |