From d7251f3c97e325ada6502aa596ab8891fd7f9195 Mon Sep 17 00:00:00 2001 From: Avi Kivity <avi.kivity@gmail.com> Date: Thu, 20 Dec 2012 12:17:23 +0200 Subject: [PATCH] build: export all symbols to libraries --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index eecaa0ef8..7425eb6e5 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ loader.elf: arch/x64/boot.o arch/x64/loader.ld loader.o runtime.o $(drivers) \ $(objects) dummy-shlib.so \ $(libc) bootfs.bin $(LD) -o $@ \ + -Bdynamic --export-dynamic \ $(filter-out %.bin, $(^:%.ld=-T %.ld)) \ $(libstdc++.a) $(libsupc++.a) $(libgcc_s.a) libunwind.a -- GitLab