commit | 0da8a88c62181c8e6d3cddead762befbc0e9b45a | [log] [tgz] |
---|---|---|
author | H. Peter Anvin (Intel) <hpa@zytor.com> | Mon Jul 06 10:15:11 2020 -0700 |
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | Mon Jul 06 10:19:38 2020 -0700 |
tree | 811fb90c4ef08207d57e1f98c28ad8cd8baf3491 | |
parent | ecb9b773f2280c636fc37fd03ea1f622915d09ce [diff] |
clang: add -ftrivial-auto-var-init=zero The clang behavior is sometimes really weird, and extremely hard to debug, when uninitialized variables are used even if the value cancels out in an expression. It also depends on optimization level, etc. -ftrivial-auto-var-init=zero makes the behavior predictable. Unfortunately it also needs a really weird "enable" option, and it issues a warning about an unused command line option on link, which may get promoted to error, so silence the warning before doing anything else. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Many many developers all over the net respect NASM for what it is: a widespread (thus netwide), portable (thus netwide!), very flexible and mature assembler tool with support for many output formats (thus netwide!!).
Now we have good news for you: NASM is licensed under the "simplified" (2-clause) BSD license. This means its development is open to even wider society of programmers wishing to improve their lovely assembler.
Visit our nasm.us website for more details.
With best regards, the NASM crew.