This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: GCC 2.95.2 M68360 (CPU32+) support


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


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