Bochs/bochs-testing/plugin-test/test5-execsymbols
Bryce Denney 89d57436da - add configure support, since I'm starting to need different options
on different platforms

Modified Files:
  Makefile test1-static/Makefile test2-dynamic/Makefile
  test3-twomodules/Makefile test4-interdep/Makefile
  test5-execsymbols/Makefile
Added Files:
  Makefile.in aclocal.m4 config.guess config.h.in config.sub
  configure configure.in install-sh ltmain.sh
  test1-static/Makefile.in test2-dynamic/Makefile.in
  test3-twomodules/Makefile.in test4-interdep/Makefile.in
  test5-execsymbols/Makefile.in
2002-10-11 18:15:27 +00:00
..
Makefile.in - add configure support, since I'm starting to need different options 2002-10-11 18:15:27 +00:00
module1.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module1.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module2.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module2.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
README - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
uselib.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
uselib.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00

test5-execsymbols

Can a module reference symbols in the executable?

module1 exports module_name and operate(int,int).
module2 exports n_operations and operation_occurred().

uselib.cc uses symbols and functions from both modules.
Module1 calls operation_occurred() in module2.

Module2 calls register_module() in uselib.cc the first time
it is called.