|
Message-ID: <ce49a793d3f37d72b9e04f6187249e4d@smtp.hushmail.com> Date: Tue, 5 Feb 2013 01:06:47 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: OSX 32-bit assembler warnings. On 4 Feb, 2013, at 23:49 , magnum <john.magnum@...hmail.com> wrote: > I made some 32-bit builds on OSX just to test the legacy MMX/SSE builds out (and some bugs were indeed found and fixed). > > Due to my habit of always supplying -s to make, I saw these warnings: > md4-mmx.S:280:Alignment too large: 15. assumed. > md4-mmx.S:314:Alignment too large: 15. assumed. > md5-mmx.S:48:Alignment too large: 15. assumed. > > That made me laugh, just like the guy in the first google hit: > http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-January/028881.html > > Do I understand right that it will it align to 32K? That's a lot but I presume it will work fine. And the build does work fine. > > If we said .balign instead, would some other assemblers not understand it? Or perhaps we could/should use some #ifdef stuff? I see now there is some DO_ALIGN stuff in x86.S but I can't say I understand it. Does it depend on defines in arch.h? OSX does not have it's own. I see now the macosx build targets sets -DALIGN_LOG. So I presume I can nick the ALIGN_FIX macros from x86.S and all should be good. magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.