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>
output/outelf.h output/outform.h pptok.h preproc.h regs.h
output/outelf32.$(O): output/outelf32.c compiler.h config.h directives.h \
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
- output/outelf.h output/outform.h output/outlib.h pptok.h preproc.h raa.h \
- rbtree.h regs.h saa.h stdscan.h
+ output/outelf.h output/outform.h output/stabs.h output/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 directives.h \
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
- output/outelf.h output/outform.h output/outlib.h pptok.h preproc.h raa.h \
- rbtree.h regs.h saa.h stdscan.h
+ output/outelf.h output/outform.h output/stabs.h output/outlib.h pptok.h \
+ preproc.h raa.h rbtree.h regs.h saa.h stdscan.h
output/outform.$(O): output/outform.c compiler.h config.h directives.h \
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h \
regs.h
#define SEG_ALIGN_1 (SEG_ALIGN-1)
/* this stuff is needed for the stabs debugging format */
-#define N_SO 0x64 /* ID for main source file */
-#define N_SOL 0x84 /* ID for sub-source file */
-#define N_BINCL 0x82
-#define N_EINCL 0xA2
-#define N_SLINE 0x44
#define TY_STABSSYMLIN 0x40 /* ouch */
/* this stuff is needed for the dwarf debugging format */
#include "rbtree.h"
#include "output/dwarf.h"
+#include "output/stabs.h"
#include "output/elf.h"
#include "output/outelf.h"
#include "rbtree.h"
#include "output/dwarf.h"
+#include "output/stabs.h"
#include "output/elf.h"
#include "output/outelf.h"
static struct SAA *elf_build_reltab(uint64_t *, struct Reloc *);
static void add_sectname(char *, char *);
-/* type values for stabs debugging sections */
-#define N_SO 0x64 /* ID for main source file */
-#define N_SOL 0x84 /* ID for sub-source file */
-#define N_BINCL 0x82 /* not currently used */
-#define N_EINCL 0xA2 /* not currently used */
-#define N_SLINE 0x44
-
struct stabentry {
uint32_t n_strx;
uint8_t n_type;