summaryrefslogtreecommitdiff
path: root/raa.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove function pointers in output, simplify error handlingH. Peter Anvin2009-07-181-2/+1
| | | | | | | | | | | | | | | Remove a bunch of function pointers in the output stage; they are never changed and don't add any value. Also make "ofile" a global variable and let the backend use it directly. All we ever did with these variables were stashing it in locals and using them as-is anyway for no benefit. Also change the global error function, nasm_error() into a true function which invokes a function pointer internally. That lets us use direct calls to it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin2009-06-281-0/+33
| | | | | | | | | | Add copyright headers to the *.c/*.h files in the main directory. For files where I'm sure enough that we have all the approvals, I have given them the 2-BSD license, the others have been given the "LGPL for now" license header. Most of them can probably be changed after auditing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* raa: clean up indentationH. Peter Anvin2008-06-191-7/+8
| | | | Clean up in indentation in the RAA code.
* Move all the RAA code out of nasmlibH. Peter Anvin2008-06-091-0/+95
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.