Load weak symbols as well as undefined symbols in bfd_build_symbol_table, for the purposes of the static build possibility - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2003年10月23日 16:42:41 +0000
committerCamm Maguire <camm@debian.org>2003年10月23日 16:42:41 +0000
commitd83fdd09966e2f140f8ef487407d484b791adb47 (patch)
tree279ff59162754fea42447b329d5225fe6ad8e2e2
parent0aa0ffbccb2acef00f55cce7fb5cd115f50161e6 (diff)
downloadgcl-d83fdd09966e2f140f8ef487407d484b791adb47.tar.gz
Load weak symbols as well as undefined symbols in bfd_build_symbol_table, for the purposes of the static build possibility
Diffstat
-rwxr-xr-xgcl/o/sfasli.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcl/o/sfasli.c b/gcl/o/sfasli.c
index c81582500..c6c10eecd 100755
--- a/gcl/o/sfasli.c
+++ b/gcl/o/sfasli.c
@@ -59,7 +59,7 @@ build_symbol_table_bfd(void) {
if (!*q[u]->name)
continue;
- if (strncmp(q[u]->section->name,"*UND*",5))
+ if (strncmp(q[u]->section->name,"*UND*",5) && ! q[u]->flags & BSF_WEAK)
continue;
if ((c=(char *)strstr(q[u]->name,"@@"))) {
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月04日 23:28:41 +0000

AltStyle によって変換されたページ (->オリジナル) /