add a statistics command to compiler
just to see how many objects make up a binary
This commit is contained in:
@ -7,7 +7,7 @@ module Risc
|
||||
# into one stream or binary text object. This is then written to an ELF text section.
|
||||
#
|
||||
# A word about positions: The c world has a thing called position independent code, and
|
||||
# baically we follw that idea. Code (ie jumps and constant loads) are all relative.
|
||||
# basically we follw that idea. Code (ie jumps and constant loads) are all relative.
|
||||
# But we have pointers. In C the linker takes care of bending those, we have to
|
||||
# do that ourselves, in write_ref. That's why we need the load adddess and basically
|
||||
# we just add it to pointers.
|
||||
|
Reference in New Issue
Block a user