LLVM bitcode for almost the whole source tree
Change-Id: Ibc6f89de112e0649c3a3bfe49c2baa2ed0746212
This commit is contained in:
@@ -39,7 +39,8 @@ LDADD.test72+= -lminixfs
|
||||
|
||||
PROGS += testvm
|
||||
OBJS.testvm+= testcache.o
|
||||
LDADD.testvm+= -lsys -ltimers -lminlib -static
|
||||
LDFLAGS.testvm+= -static
|
||||
LDADD.testvm+= -lsys -ltimers -lminlib
|
||||
|
||||
FILES += testvm.conf
|
||||
|
||||
@@ -79,7 +80,10 @@ LDSTATIC= -dynamic
|
||||
|
||||
# use the shared linkerscript for mod when using the gold linker
|
||||
GOLDLINKERSCRIPT.mod?= ${${HAVE_GOLD:Uno} != "no":? ${LDS_SHARED_LIB} :}
|
||||
GOLDLINKERSCRIPT=
|
||||
LDADD.mod+= ${${USE_BITCODE:Uno} != "no":? -shared:}
|
||||
# test57loop.S is not linked into the .bcl file.
|
||||
# This way, we can link it in when linking the final binary
|
||||
LDADD.test57+= ${${USE_BITCODE:Uno} != "no":? test57loop.o -Wl,-allow-multiple-definition:}
|
||||
|
||||
# Add test that must be linked dynamically, and its dynamically loaded
|
||||
# module
|
||||
|
||||
Reference in New Issue
Block a user