-
使用zig版本0.14.1。 在处理单片机中断处理函数时,参考c的处理方式,想将所有中断处理函数先进行weak定义,并与Default_Handler同地址,实际使用时再通过strong函数覆盖。 在实际zig中,我想使用中断ID枚举的位域来在编译时生成语句进行多个中断函数导出。
结果通过readelf发现只有第一个位域被导出为weak函数。
想了解一下原因。 |
Beta Was this translation helpful? Give feedback.
Answered by
MIIPON
Jul 7, 2025
Replies: 1 comment
-
当前问题已报告,但未解决 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MIIPON
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当前问题已报告,但未解决