Differences From
Artifact [247b2f15bf]:
51 51 #-- linux
52 52 # linux uses the ELF{32,64} binary format, and generating these
53 53 # from yasm is trivial. linux only supports one ABI per format,
54 54 # at least with ELF, so that's all we need to do.
55 55
56 56 #${OUT}/$(mod).%.x86.lin.32.o: %.x86.lin.32.s
57 57 $(call arch,x86.lin.32)
58 - yasm -felf32 $< -o $@
58 + yasm -gdwarf2 -felf32 $< -o $@
59 59
60 60 #${OUT}/$(mod).%.x86.lin.64.o: %.x86.lin.64.s
61 61 $(call arch,x86.lin.64)
62 - yasm -felf64 $< -o $@
62 + yasm -gdwarf2 -felf64 $< -o $@
63 63
64 64 #-- freebsd
65 65 # the freebsd ABI is different, so it will require different code
66 66 # (though there might be ways to minimize that). freebsd uses the
67 67 # same binary format as Linux (though it also supports a.out and
68 68 # COFF) but because freebsd can interpret multiple different ABIs
69 69 # the object files need to be "branded" with the correct one