From: <jt...@us...> - 2007-05-06 15:59:18
|
Revision: 263 http://ro-oslib.svn.sourceforge.net/ro-oslib/?rev=263&view=rev Author: jtytgat Date: 2007-05-06 08:58:04 -0700 (Sun, 06 May 2007) Log Message: ----------- Renamed Bool/Int to ConvToBool/ConvToInt as they were not valid gas macro names. Modified Paths: -------------- branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr Modified: branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr =================================================================== --- branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr 2007-05-06 15:56:23 UTC (rev 262) +++ branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr 2007-05-06 15:58:04 UTC (rev 263) @@ -94,13 +94,17 @@ .endm @ r1 = BOOL (r2) - .macro Bool r1, r2 + @ 'Bool' is not a valid macro name for gas so there we renamed it to + @ 'ConvToBool'. + .macro ConvToBool r1, r2 MOVS \r1, \r2 @ Assuming False == 0 MOVNE \r1, #True .endm @ r1 = INT (r2) - .macro Int r1, r2 + @ 'Int' is not a valid macro name for gas so there we renamed it to + @ 'ConvToBool'. + .macro ConvToInt r1, r2 SUB \r1, \r2, #"0" CMP \r1, #9 SUBHI \r1, \r2, #"a" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |