diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-07-14 20:36:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-07-14 20:36:28 +0000 |
commit | 3485245e16bc7d4052b488e6971ff024d3e5413b (patch) | |
tree | ec10171dd9af925ddd4d6ca001acd922678b4935 /gcc | |
parent | 6d0b50a4c8b4078d221e83ecba286271623dc6b8 (diff) | |
download | gcc-3485245e16bc7d4052b488e6971ff024d3e5413b.zip gcc-3485245e16bc7d4052b488e6971ff024d3e5413b.tar.gz gcc-3485245e16bc7d4052b488e6971ff024d3e5413b.tar.bz2 |
mips.c (mips_in_small_data_p): Don't handle TARGET_MIPS16 specially.
* config/mips/mips.c (mips_in_small_data_p): Don't handle
TARGET_MIPS16 specially.
From-SVN: r69356
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05801cd..76e3fc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-07-14 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.c (mips_in_small_data_p): Don't handle + TARGET_MIPS16 specially. + +2003-07-14 Richard Sandiford <rsandifo@redhat.com> + * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use mips_output_aligned_bss. * config/mips/linux.h: Likewise. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 037e887..bb52f5c 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -7924,16 +7924,6 @@ mips_in_small_data_p (decl) && (!DECL_INITIAL (decl) || TREE_CONSTANT (DECL_INITIAL (decl)))) return false; } - else if (TARGET_MIPS16) - { - /* Alhough it seems strange to have separate rules for -mips16, - this behaviour is long-standing. */ - if (TREE_PUBLIC (decl) - && (DECL_COMMON (decl) - || DECL_ONE_ONLY (decl) - || DECL_WEAK (decl))) - return false; - } size = int_size_in_bytes (TREE_TYPE (decl)); return (size > 0 && size <= mips_section_threshold); |