Joern Rennecke <[email protected]> writes:
> Index: libgcc/config.host
> ===================================================================
> --- libgcc/config.host (revision 180924)
> +++ libgcc/config.host (working copy)
> @@ -433,6 +433,10 @@
> cris-*-linux* | crisv32-*-linux*)
> tmake_file="$tmake_file cris/t-cris t-fdpbit cris/t-linux"
> ;;
> +epiphany-*-elf*)
> + tmake_file="epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf"
> + extra_parts="crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o
> crtbegin.o crtend.o crtn.o"
> + ;;
No need for crtbegin.o and crtend.o, just add to the *-*-elf extra_parts
instead.
> Index: gcc/testsuite/gcc.dg/weak/typeof-2.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/weak/typeof-2.c (revision 180924)
> +++ gcc/testsuite/gcc.dg/weak/typeof-2.c (working copy)
> @@ -5,6 +5,9 @@
> /* { dg-require-weak "" } */
> /* { dg-require-alias "" } */
> /* { dg-options "-O2" } */
> +/* Using -mshort-calls avoids loading the function addresses in
> + registers and thus getting the counts wrong. */
> +/* { dg-options "-O2 -mshort-calls" { target epiphany-*-* } } */
You should consider using dg-additional-options here, rather than
repeating the dg-options default (and in several other tests).
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University