summaryrefslogtreecommitdiff
path: root/Mkfiles/owlinux.mak
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-04-21 16:43:20 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-04-21 16:43:20 -0700
commit084b13227e7f5597666391b9cc7dcc9cb91a2657 (patch)
tree5c1fb372a20bf8354780fc898f6b4887d768bdea /Mkfiles/owlinux.mak
parent34543131ca11f7881329e869c695c06184309afe (diff)
downloadnasm-084b13227e7f5597666391b9cc7dcc9cb91a2657.tar.gz
nasm-084b13227e7f5597666391b9cc7dcc9cb91a2657.tar.bz2
nasm-084b13227e7f5597666391b9cc7dcc9cb91a2657.zip
Add generic ilog2 functions
Add ilog2_{32,64}() and alignlog2_{32,64}() ... the latter is intended for alignment statements and return -1 for non-power-of-2 other than 0 (which returns 0). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'Mkfiles/owlinux.mak')
-rw-r--r--Mkfiles/owlinux.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mkfiles/owlinux.mak b/Mkfiles/owlinux.mak
index d6a9af7..3241b28 100644
--- a/Mkfiles/owlinux.mak
+++ b/Mkfiles/owlinux.mak
@@ -71,6 +71,7 @@ NASM = nasm.$(O) nasmlib.$(O) ver.$(O) \
output/outmacho64.$(O) preproc.$(O) quote.$(O) pptok.$(O) \
macros.$(O) listing.$(O) eval.$(O) exprlib.$(O) stdscan.$(O) \
strfunc.$(O) tokhash.$(O) regvals.$(O) regflags.$(O) \
+ ilog2.$(O) \
lib/strlcpy.$(O)
NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) ver.$(O) \
@@ -244,6 +245,7 @@ float.$(O): float.c compiler.h directives.h float.h insnsi.h nasm.h \
nasmlib.h opflags.h pptok.h preproc.h regs.h
hashtbl.$(O): hashtbl.c compiler.h directives.h hashtbl.h insnsi.h nasm.h \
nasmlib.h opflags.h pptok.h preproc.h regs.h
+ilog2.$(O): ilog2.c compiler.h nasmlib.h
insnsa.$(O): insnsa.c compiler.h directives.h insns.h insnsi.h nasm.h \
nasmlib.h opflags.h pptok.h preproc.h regs.h tokens.h
insnsb.$(O): insnsb.c compiler.h directives.h insns.h insnsi.h nasm.h \
@@ -280,9 +282,9 @@ output/outas86.$(O): output/outas86.c compiler.h directives.h insnsi.h \
output/outbin.$(O): output/outbin.c compiler.h directives.h eval.h insnsi.h \
labels.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h \
pptok.h preproc.h regs.h saa.h stdscan.h
-output/outcoff.$(O): output/outcoff.c output/pecoff.h compiler.h directives.h eval.h \
+output/outcoff.$(O): output/outcoff.c compiler.h directives.h eval.h \
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h \
- pptok.h preproc.h raa.h regs.h saa.h
+ output/pecoff.h pptok.h preproc.h raa.h regs.h saa.h
output/outdbg.$(O): output/outdbg.c compiler.h directives.h insnsi.h nasm.h \
nasmlib.h opflags.h output/outform.h pptok.h preproc.h regs.h
output/outelf.$(O): output/outelf.c compiler.h directives.h insnsi.h nasm.h \