summaryrefslogtreecommitdiff
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Rename filenames to 8.3 formatH. Peter Anvin2010-06-151-64/+62
| | | | | | | Apparently some people still care about compiling native on MS-DOS, and we don't have a significant number of files which need adjustment. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Add generic ilog2 functionsH. Peter Anvin2010-04-211-4/+6
| | | | | | | | 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>
* Makefile: clean up the lib directory on make cleanH. Peter Anvin2010-04-211-0/+1
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* make: Update pecoff.h related depsCyrill Gorcunov2010-04-211-1/+1
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* output/outelfX.c: Use definitions from stabs.hCyrill Gorcunov2010-01-031-4/+4
| | | | | | | | Also made Makefile.in to handle dependency. There are some makefiles in Mkfiles\ should be fixed as well. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Run "make alldeps"H. Peter Anvin2009-11-301-64/+70
|
* Merge elf header filesCyrill Gorcunov2009-11-061-5/+5
| | | | | | | | | Merge elfcommon.h, elf32.h, elf64.h into single elf.h -- we do support both elf32 and elf64 anyway. Let put them into common place. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add strlcpy() functionH. Peter Anvin2009-08-101-9/+9
| | | | | | | Add strlcpy() function and implementation, and use configure to detect if strlcpy() is natively available on the system. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run make alldepsH. Peter Anvin2009-07-181-10/+10
|
* Hash even backend-specific directives, unify null functionsH. Peter Anvin2009-07-121-88/+96
| | | | | | | | | Hash all directives, even the ones that are backend-specific, and instead pass the backend an already-parsed directive number. Furthermore, unify null functions across various backends. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Use a phash to decode directivesH. Peter Anvin2009-07-121-4/+15
| | | | | | We can use a perfect hash to decode directives as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* macho64: Manually merge macho64 branch with master branch.Keith Kanios2009-07-081-7/+10
|
* Run make alldepsH. Peter Anvin2009-06-271-4/+7
|
* Move backend-specific code to output/; break out null debug stuffH. Peter Anvin2009-06-271-26/+32
| | | | | | | | Move backend-specific code into the output/ directory, and make the null debugging backend a separate file (it certainly isn't needed for ndisasm...) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Handle the new ELF headers in the dependency generationH. Peter Anvin2009-06-251-4/+9
| | | | | | | | | | The dependency machinery relies on properly rooted includes, so give it to them... the path syntax munging machinery in the dependency script handles it from a Makefile syntax perspective, and then we can hope that C compilers are smart enough to deal with forward-slash paths even when that is not the native syntax. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ELF: add header files, begin merging common code, drop .commentH. Peter Anvin2009-06-251-1/+1
| | | | | | | | | | | | | | | Add something approaching real ELF header files. Begin merging the common ELF code, beginning with the section name detection. Drop automatic generation of .comment section, and in particular the treatment of .common as a special section (if we decide generating .comment is still a good idea, we should just do it as a macro.) Augment the list of known sections, and make it table-driven. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* nasm.nsi: add NASM Manual; automate version generationH. Peter Anvin2009-04-061-1/+3
| | | | | Add the NASM Manual (as a PDF) to the Windows installer, and abstract out the version number.
* ELF: use rbtree for symbol searchesH. Peter Anvin2008-11-061-2/+4
| | | | | | | | 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>
* Move all version strings to a single compilation unit (ver.c)H. Peter Anvin2008-10-311-43/+40
| | | | | | | Move all the version strings to a single compilation unit, ver.c; this does not include the version macros, which are fed into macros.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* rbtree: drop the data pointer; instead rely on being embeddedH. Peter Anvin2008-10-301-1/+1
| | | | | | | | Drop the data pointer, and instead assume the struct rbtree will be embedded in a bigger data structure (to be extracted via container_of()). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Left-leaning red-black tree data structureH. Peter Anvin2008-10-291-1/+2
| | | | | | | | | | | Implement library functions for "left-leaning red-black trees" with uint64_t keys. This is meant for looking up symbols by address in the backends that need to do so, e.g. ELF. A good question is if there is a better way to do this, that recovers the original symbol, but that's a future issue. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* make alldepsH. Peter Anvin2008-10-291-6/+6
| | | | | | Run "make alldeps" Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* output: add common file outlib.c for common functions; realsize()H. Peter Anvin2008-10-271-2/+4
| | | | | | | Add a common file, outlib.c, for output formats. Add the function realsize() instead of open-coded variants in almost every backend. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run "make alldeps"H. Peter Anvin2008-09-091-2/+2
|
* Add a 'make test' target.Victor van den Elzen2008-07-161-0/+3
|
* version.mak for the version Makefile fragmentH. Peter Anvin2008-07-131-3/+3
| | | | | Be consistent about the naming of the version Makefile fragment. We use .mak elsewhere for Makefiles, so use that.
* Add version.make to PERLREQH. Peter Anvin2008-07-051-3/+3
| | | | | version.make is produced by a Perl script, and therefore should be in PERLREQ.
* Run "make alldeps"H. Peter Anvin2008-06-211-33/+39
|
* Move the output format macros into the macros.pl mechanismH. Peter Anvin2008-06-201-2/+3
| | | | | | | | | | Move the handling of "extra" macros (i.e. output format macros) into the macros.pl mechanism. This allows us to change the format of the internal macro store in the future - e.g. to a single byte store without redundant pointers. Also, stop using indicies into a long array when there is no good reason to not just use different arrays.
* macros.c: compress by tokenizing macro directivesH. Peter Anvin2008-06-191-2/+4
| | | | | | | | | | Compress macros.c by representing macro directives with a single byte. We can do this because we only use the ASCII character range inside the standard macro files. Note: we could save significant additional space by not having a pointer array, and instead relying on the fact that we sweep sequentially through the output array.
* preproc: add support for builtin include modules (%use)H. Peter Anvin2008-06-191-4/+5
| | | | | | | | | Add a builtin equivalent to the %include directive called %use. %use includes a standard macro file compiled into the binary; these come from the macros/ directory in the source code. The idea here is to be able to provide optional macro packages with the distribution, without adding complex host filesystem dependencies.
* syncfiles: use #-- ... --# for consistency with mkdep.plH. Peter Anvin2008-06-151-2/+2
| | | | | | mkdep.pl already used #-- ... --# (two dashes) whereas syncfiles.pl was using #--- ... ---# (three dashes). Change syncfiles.pl to match mkdep.pl.
* Script to automagically synchronize the object file listsH. Peter Anvin2008-06-151-0/+3
| | | | | Add a script to automagically synchronize the list of object files between the various Makefiles.
* Implement __utf16__() and __utf32__() for the DB familyH. Peter Anvin2008-06-141-3/+5
| | | | | Implement __utf16__() and __utf32__() for the DB family of pseudo-instructions. Not yet implemented for evaluation context.
* Move all the RAA code out of nasmlibH. Peter Anvin2008-06-091-8/+9
| | | | | The RAA code doesn't have to be in nasmlib; it is only used by nasm itself, and is better handled in a separate module.
* Move all the SAA code out of nasmlibH. Peter Anvin2008-06-091-9/+10
| | | | | | Move all the SAA code out of nasmlib; it's not used by anything than nasm itself. Cleaning out the kitchen sink known as nasmlib is a good thing, too.
* Replace the WSAA macros with functionsH. Peter Anvin2008-06-081-1/+2
| | | | Change the WSAA macros into functions; reducing the icache footprint.
* Update .gitignore, remove bogus dependencyH. Peter Anvin2008-06-041-1/+0
|
* Makefile/dependency updatesH. Peter Anvin2008-06-041-3/+6
| | | | Add quote.c to all the auxiliary Makefiles, and run "make alldeps".
* qstring: first cut at full quoted string support in the preprocessorH. Peter Anvin2008-06-011-1/+1
| | | | | | | First attempt at properly handle quoted strings in the preprocessor. This also adds range support in %substr. No support in the assembler yet.
* make alldepsH. Peter Anvin2008-05-271-1/+1
|
* Avoid #including .c files; instead compile as separate unitsH. Peter Anvin2008-05-201-19/+22
| | | | | | Don't #include .c files, even if they are auto-generated; instead compile them as separate compilation units and let the linker do its job.
* Make insnsb.c an actual compilation unitH. Peter Anvin2008-05-131-7/+8
| | | | | | | "make alldeps" doesn't really like it when included files end in *.c. Instead of renaming insnsb.c to insnsb.h, make it an actual compilation unit, since there really isn't any reason for it not to be.
* Generate a byte array instead of using strings for the byte codesH. Peter Anvin2008-05-121-4/+8
| | | | | | | | | | | Generate a byte array instead of using C compiler strings for the byte codes. This has a few advantages: - No need to special-case zero due to broken C compilers. - Only insns.pl only ever reads the string, so we can invent our own syntax. - Compaction. - We can give it the proper, unsigned type.
* Temporaries in macros need a unique prefix; WSAA*() macros to headerH. Peter Anvin2008-04-101-2/+2
| | | | | | | | When using temporaries in macros, given them a unique prefix to avoid namespace collisions when using one macro inside another. Move the WSAA*() macros from outelf32/outelf64 to a separate header file.
* regularized spelling of license to match name of LICENSE fileBeroset2007-12-291-1/+1
|
* Run "make alldeps"H. Peter Anvin2007-10-301-6/+6
|
* Suppress datarootdir warnings from configureCharles Crayne2007-10-181-0/+1
|
* make alldepsH. Peter Anvin2007-10-021-4/+4
|
* Run "make alldeps".H. Peter Anvin2007-10-021-3/+4
| | | | Run "make alldeps". This stuff probably shouldn't be checked in...