mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 08:54:31 -08:00
[build] Warn on zero-length symbols when building symbol table
Make build_symbol_table.py output statistics on the symbol table it builds, and emit warnings for zero-length symbols. Also added lengths to several functions defined in asm that this uncovered.
This commit is contained in:
@@ -42,15 +42,17 @@ bsp_idle:
|
||||
jmp bsp_idle
|
||||
.end:
|
||||
|
||||
global interrupts_enable: function hidden
|
||||
global interrupts_enable: function hidden (interrupts_enable.end - interrupts_enable)
|
||||
interrupts_enable:
|
||||
sti
|
||||
ret
|
||||
.end:
|
||||
|
||||
global interrupts_disable: function hidden
|
||||
global interrupts_disable: function hidden (interrupts_disable.end - interrupts_disable)
|
||||
interrupts_disable:
|
||||
cli
|
||||
ret
|
||||
.end:
|
||||
|
||||
section .bss
|
||||
align 0x100
|
||||
|
||||
Reference in New Issue
Block a user