This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc4.3.2 68k build produce wrong code movel in libgcc build


Hello 

here is assembler output.the problem happen when build libgcc.all compile
work ok until here.

attached is full libgcc/config.log. the assembler i use from binutil 2.14.

cygdrive/e/temp/ccVPegMe.s: Assembler messages:
/cygdrive/e/temp/ccVPegMe.s:102: Error: parse error -- statement `movel
a0@(,d0:l:4),d0' ignored
configure:2823: $? = 1
configure: failed program was: 

Does somebody know what defines could be wrong in additional 68k target
files when gcc produce
such bad code ?
A
main ()
{
}

program is compile correct.so i think something with argument or parameter
processing is wrong.

the files for amigaos are not complete in GGC.Last build gcc for amiga
was gcc 3.4.0.
I use now the old files(attached) and want build new gcc.old amigaos files
have a
unoffical extension for regparms.
But this i deactivate later for build and problem is
same.regparms is not need in future i think , because only in small
function regparm give speedup and optimizer can do inline.also problem of
the regparms code is, that need core changes.

I want get gcc without gcc core changes working for amiga os and regparms
are not need.

so i move all code and defines that i think is not need in #ifdef
REGPARMS_68K but error
is same.

I attach code snippets and additional files that the amigaos build need.
maybe somebody can tell me whats worng with the amoga header files.

amiga os is a target that use a.out.

in gcc-4.3.2/gcc/config.gcc

you can see the files additonal need.

m68k-*-amigaos*)
    tmake_file=m68k/t-amigaos
    tm_file="${tm_file} m68k/amigaos.h"
    tm_p_file="${tm_p_file} m68k/amigaos-protos.h"
    tm_defines="TARGET_AMIGAOS TARGET_DEFAULT=0" # 68040
    extra_objs=amigaos.o
    gnu_ld=yes
    ;;

during libgcc build compile break because of asembler error with 

*** Configuration m68k-unknown-amigaos notsupportert.

please help

Regards

Attachment: config.log
Description: Text document

Attachment: amigaos-protos.h
Description: Text document

Attachment: amigaos.c
Description: Text document

Attachment: amigaos.h
Description: Text document

Attachment: t-amigaos
Description: Text document

Attachment: x-amigaos
Description: Text document

Attachment: xm-amigaos.h
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]