Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 4 Feb 2013 23:49:59 +0100
From: magnum <john.magnum@...hmail.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: OSX 32-bit assembler warnings.

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.

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.