XJTUMen
Topics
Moments
Posts
Categories
Tags
Subs
Search
⌘K
New Topic
Log in
Profile
Topics
Replies
Gallery
Likes
Bookmarks
Badges
2
Linker Lab 中函数定义不在 relocTable 中是否正常呢?
计算机系统导论
在调试 test4 时,void foo() 函数在 strongdef.c 中声明,weakdef.c 中定义,但 weakdef.c 对应的 relocTable 中找不到 foo 符号,因此 linker 返回“undefined reference for symbol foo” 请问这是正常的吗,我是否需要通过其它方法判断函数是否有定义,例如 symbolTable?
2
2024-05-23
I
2
344
2024-05-23
Notifications
Posts
Topics
Chat
Profile