This patch adds AsNeeded and IsUsed bool fields to SharedFile. AsNeeded bit is set if the DSO is enclosed with --as-needed and --no-as-needed. IsUsed bit is off by default. When we adds a symbol to the symbol table for dynamic linking, we set its SharedFile's IsUsed bit. If AsNeeded is set but IsUsed is not set, we don't want to write that file's SO name to DT_NEEDED field. http://reviews.llvm.org/D13579 llvm-svn: 249998
7 lines
61 B
ArmAsm
7 lines
61 B
ArmAsm
.global bar2
|
|
.type bar2, @function
|
|
bar2:
|
|
|
|
.global zed2
|
|
zed2:
|