Commit 3485245e by Richard Sandiford Committed by Richard Sandiford

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
parent 6d0b50a4
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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment