[LLVMdev] ambiguity of .align
Edmund Grimley Evans
Edmund.Grimley-Evans at arm.com
Mon Jan 25 09:42:49 PST 2010
I just got this error message from the GNU assembler:
Error: alignment too large: 15 assumed
Which made me laugh at first. The corresponding input line was:
.align 16
Apparently what's going on here is that ".align 16" is ambiguous: on
some architectures it means ".balign 16", and on some it means ".p2align
16", which would mean ".balign 65536" if it were allowed. See:
http://ftp.gnu.org/pub/old-gnu/Manuals/gas-2.9.1/html_node/as_68.html
I'm not sure what the best way is to fix this. If LLVM wants to support
other assemblers presumably an architecture-dependency is required.
Edmund
--
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the llvm-dev
mailing list