Commit 07da68fd by Jie Zhang Committed by Bernd Schmidt

uclinux.h (NO_IMPLICIT_EXTERN_C): Define.

	* 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.

From-SVN: r102906
parent 1e39a151
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
......
......@@ -1406,14 +1406,8 @@ bfin_pass_by_reference (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,
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
......
......@@ -14,3 +14,5 @@
#undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "_"
#define NO_IMPLICIT_EXTERN_C
......@@ -8,3 +8,5 @@
#undef LIB_SPEC
#define LIB_SPEC "%{pthread:-lpthread} -lc"
#define NO_IMPLICIT_EXTERN_C
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