From 3485245e16bc7d4052b488e6971ff024d3e5413b Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 14 Jul 2003 20:36:28 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05801cd8f50..76e3fc11303 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-14 Richard Sandiford + + * config/mips/mips.c (mips_in_small_data_p): Don't handle + TARGET_MIPS16 specially. + 2003-07-14 Richard Sandiford * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 037e88707b3..bb52f5ccd91 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); -- 2.30.2