diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2023-07-10 17:20:07 -0700 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2023-07-10 17:20:07 -0700 |
commit | 6d95bdaf1edcafa030b6a2db159a2b64ec715682 (patch) | |
tree | 16db4623d79990023c0bd783cc4d59c65b879276 | |
parent | 102ddf0e0193d4f0af1ea203334fb00cd6015365 (diff) | |
download | riscv-isa-sim-force-rtti.zip riscv-isa-sim-force-rtti.tar.gz riscv-isa-sim-force-rtti.tar.bz2 |
build: Include all symbols from extension.o when linking spike's mainforce-rtti
This forces otherwise omitted typeinfo for extension_t to be exported
in the spike binaries, fixing dynamic loading problems for extension_t
libraries.
-rw-r--r-- | spike_main/spike_main.mk.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spike_main/spike_main.mk.in b/spike_main/spike_main.mk.in index 25a7a6c..9d744a7 100644 --- a/spike_main/spike_main.mk.in +++ b/spike_main/spike_main.mk.in @@ -14,3 +14,5 @@ spike_main_install_prog_srcs = \ spike_main_srcs = \ spike_main_CFLAGS = -fPIC + +spike_main_LDFLAGS = extension.o |