GCC 2.95.2 M68360 (CPU32+) support

Eurico Inocencio emi@cdftel.pt
Sun Apr 1 00:00:00 GMT 2001


Hi

>How much work is it to adjust the machine description for m68k?
>I take a short look at that. But it was too complicated.

I had a similar problem with packed structures used to access 360
hardware registers. Take a look at gcc/config/m68k/m68k.h:

/* Set this nonzero if move instructions will actually fail to work
    when given unaligned data.  */
#define STRICT_ALIGNMENT 1

Defining this symbol as zero solved my problem

Cheers
Eurico


-----------------------------------------------------------------------
  Eurico Mendes Inocencio          CDFtel, 
Lda
  Ph. No:  +351.22.3389843         Rua Goncalo Cristovao, 347 - Sala 205
  FAX No:  +351.22.3389845         4000-270 PORTO
  E-mail:  mailto:emi@cdftel.pt    Portugal
-----------------------------------------------------------------------


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list