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 M68k cross compilier generates odd address labels.


Try a
    .ALIGN 2
or 
    .EVEN

at the end of the asm () code.

cheers,

Ian

-----Original Message-----
From: Crawford, Jim {AVL~Roswell} [mailto:JIM.CRAWFORD@ROCHE.COM]
Sent: Wednesday, March 07, 2001 6:30 PM
To: 'crossgcc@sourceware.cygnus.com'
Subject: GCC M68k cross compilier generates odd address labels.


Sirs, 
using gcc m68k cross compilier v 2.95.2 19911024 
on    Linux v 2.2.16 
with attached source code from the efi332 project: 
I get 2 warnings: 
WARNING: text label 'cHandler' aligned to odd boundry 
WARNING: text label 'instalHandler' aligned to odd boundry 
I haven't found the method of resolving these errors. The same code
compilied under the Ashware windows M68k cross compilier does not produce
these warnings.
Do you know of a fix for (or the right way to compile) these warnings? 
Sincerely, 
Jim Crawford. 
  

------
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]