• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

test/H26-Jul-2019-354261

Makefile.amH A D26-Jul-2019485 137

OMakefileH A D26-Jul-2019245 2113

READMEH A D26-Jul-2019702 1710

bvrtab.cH A D26-Jul-20192.5 KiB6939

bvrtab.hH A D26-Jul-20191.6 KiB306

code.cH A D26-Jul-20196.1 KiB181129

code.hH A D26-Jul-20191.8 KiB368

const.cH A D26-Jul-20194 KiB13593

const.hH A D26-Jul-20191.7 KiB305

file.cH A D26-Jul-20194.2 KiB189139

file.hH A D26-Jul-20193 KiB8722

hashtab.cH A D26-Jul-20192.2 KiB5127

hashtab.hH A D26-Jul-20191.6 KiB306

implgoal.cH A D26-Jul-20193.3 KiB9961

implgoal.hH A D26-Jul-20191.6 KiB306

importtab.cH A D26-Jul-20194.4 KiB14498

importtab.hH A D26-Jul-20191.6 KiB306

kind.cH A D26-Jul-20193.2 KiB10361

kind.hH A D26-Jul-20191.8 KiB337

ld_message.hH A D26-Jul-20191.8 KiB369

loader.cH A D26-Jul-20195.7 KiB186133

loader.hH A D26-Jul-20192.2 KiB4617

loadmodtab.mlH A D26-Jul-20195.6 KiB139122

loadmodtab.mliH A D26-Jul-20191.4 KiB2726

main.cH A D26-Jul-2019457 2321

searchtab.cH A D26-Jul-20194.2 KiB14095

searchtab.hH A D26-Jul-20192.2 KiB4510

strings.cH A D26-Jul-20192.7 KiB7849

strings.hH A D26-Jul-20192.2 KiB479

tyskel.cH A D26-Jul-20193.8 KiB12174

tyskel.hH A D26-Jul-20191.5 KiB285

README

1To build the loader, compile all of the *.c files in the loader with (the main.c file is only used for testing).
2
3gcc -c bvrtab.c  const.c  hashtab.c   importtab.c  loader.c  searchtab.c  tyskel.c \
4code.c    file.c   implgoal.c  kind.c strings.c
5
6
7You will also need compiled versions of
8../simulator/mcstring.c ../simulator/dataformats.c      ../simulator/io-datastructures.c
9../system/error.c  ../system/memory.c  ../system/message.c  ../system/stream.c
10../tables/instructions.c  ../tables/pervasives.c
11
12Either as .o files or in libraries.
13
14Before LD_LOADER_load (in loader.h) can be called, you must call MEM_memInit (in system/memory.h) once.
15
16See main.c for an example of how to use the loader.
17