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
This commit is contained in:
Richard Sandiford 2003-07-14 20:36:28 +00:00 committed by Richard Sandiford
parent 6d0b50a4c8
commit 3485245e16
2 changed files with 5 additions and 10 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);