* config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
* config/bfin/bfin.c (bfin_return_in_memory): Update to really match
Visual DSP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102906
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-08-09 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define.
+ * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
+ * config/bfin/bfin.c (bfin_return_in_memory): Update to really match
+ Visual DSP.
+
2005-08-09 James A. Morrison <phython@gcc.gnu.org>
* tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use
int
bfin_return_in_memory (tree type)
{
- int size;
- enum machine_mode mode = TYPE_MODE (type);
-
- if (mode == BLKmode)
- return 1;
- size = int_size_in_bytes (type);
-
- return size > 8;
+ int size = int_size_in_bytes (type);
+ return size > 2 * UNITS_PER_WORD || size == -1;
}
/* Register in which address to store a structure value
#undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "_"
+
+#define NO_IMPLICIT_EXTERN_C
#undef LIB_SPEC
#define LIB_SPEC "%{pthread:-lpthread} -lc"
+
+#define NO_IMPLICIT_EXTERN_C