diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-11-06 19:55:05 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-11-06 19:55:05 -0800 |
commit | 1fee7d2d2350de40d39157021f4f87ed4e4dbf2b (patch) | |
tree | 9a5d002f8bfd1f48e9641c7d5f3d8ba372ee56ac /Makefile.in | |
parent | ef11aa889bf101e6b980eeece63a7e24b0354fc2 (diff) | |
download | nasm-1fee7d2d2350de40d39157021f4f87ed4e4dbf2b.tar.gz nasm-1fee7d2d2350de40d39157021f4f87ed4e4dbf2b.tar.bz2 nasm-1fee7d2d2350de40d39157021f4f87ed4e4dbf2b.zip |
ELF: use rbtree for symbol searches
Linear searches are evil, so use an llrbtree to search for symbols by
offset. This doesn't change the preexisting behaviour that we only
look for global symbols.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 42f3d96..0471aaf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -293,9 +293,11 @@ output/outcoff.$(O): output/outcoff.c compiler.h config.h insnsi.h nasm.h \ output/outdbg.$(O): output/outdbg.c compiler.h config.h insnsi.h nasm.h \ nasmlib.h outform.h pptok.h preproc.h regs.h output/outelf32.$(O): output/outelf32.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h outlib.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h + nasmlib.h outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h \ + stdscan.h output/outelf64.$(O): output/outelf64.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h outlib.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h + nasmlib.h outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h \ + stdscan.h output/outieee.$(O): output/outieee.c compiler.h config.h insnsi.h nasm.h \ nasmlib.h outform.h pptok.h preproc.h regs.h output/outmacho.$(O): output/outmacho.c compiler.h config.h insnsi.h nasm.h \ |