TARGET_ABICALLS.
testsuite/
* gcc.dg/torture/mips-sdata-1.c: Restrict to mips*-*-elf*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79060
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-03-07 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/mips.c (mips_in_small_data_p): Return false if
+ TARGET_ABICALLS.
+
2004-03-06 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push
if (TREE_CODE (decl) == STRING_CST || TREE_CODE (decl) == FUNCTION_DECL)
return false;
+ /* We don't yet generate small-data references for -mabicalls. See related
+ -G handling in override_options. */
+ if (TARGET_ABICALLS)
+ return false;
+
if (TREE_CODE (decl) == VAR_DECL && DECL_SECTION_NAME (decl) != 0)
{
const char *name;
+2004-03-07 Richard Sandiford <rsandifo@redhat.com>
+
+ * gcc.dg/torture/mips-sdata-1.c: Restrict to mips*-*-elf*.
+
2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040306-1.c: New test.
/* Check that sdata-accesses are applied regardless of size or ABI. */
/* { dg-options -mexplicit-relocs } */
-/* { dg-do compile { target mips*-*-* } } */
+/* { dg-do compile { target mips*-*-elf* } } */
struct s { int x[4]; };
struct s my_struct __attribute__((__section__(".sdata")));