提交 0672d273 编写于 作者: H hhj

add ohos note section for all dso

Signed-off-by: Nhhj <huanghuijin@huawei.com>
上级 6988f27f
......@@ -504,7 +504,7 @@ template("musl_libs") {
"${redir}/${target_out_dir}/${musl_ported_dir}/crt/${musl_arch}/${abi_prefix}_musl_crt/crti.o",
"${redir}/${target_out_dir}/${musl_ported_dir}/crt/${musl_arch}/${abi_prefix}_musl_crt/crtn.o",
]
outputs = [ "${target_out_dir}/${_libs_out_dir}/{{source_file_part}}" ]
outputs = [ "${root_build_dir}/obj/third_party/musl/${_libs_out_dir}/{{source_file_part}}" ]
args = [
"--input",
"{{source}}",
......
......@@ -183,16 +183,14 @@ ohos_copy("musl_arm_bits_arm32") {
ohos_copy("musl_ndk_libs_arm32") {
deps = musl_lib_arm32
sources = [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/Scrt1.o" ]
sources += [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/crt1.o" ]
sources += [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/crti.o" ]
sources += [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/crtn.o" ]
sources += [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/rcrt1.o" ]
crt_dir = "${root_build_dir}/obj/third_party/musl/usr/lib/arm-linux-ohos"
sources = [
"${crt_dir}/Scrt1.o",
"${crt_dir}/crt1.o",
"${crt_dir}/crti.o",
"${crt_dir}/crtn.o",
"${crt_dir}/rcrt1.o",
]
sources += [ get_label_info(deps[0], "target_out_dir") +
"/usr/lib/arm-linux-ohos/libm.a" ]
sources += [ get_label_info(deps[0], "target_out_dir") +
......
......@@ -89,9 +89,7 @@
{ "name": "_dlstart" },
{ "name": "_exit" },
{ "name": "_Exit" },
{ "name": "_fini" },
{ "name": "_flushlbf" },
{ "name": "_init" },
{ "name": "_longjmp" },
{ "name": "_pthread_cleanup_pop" },
{ "name": "_pthread_cleanup_push" },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册