Task tracking: inconsistent merging of static / non-static .bss entries
For the Pilotwings decomp I handled static functions and data by adding a conditional STATIC define that expands to nothing when setting RECOMP_BUILD=1. @Mr-Wiseguy suggested using mdebug to extract this information instead.
When diffing the symbol tables before and after the change, I noticed that static .bss symbols (using bss_section_suffix) were moved from the .bss section to data (e.g. from .kernel_bss to .kernel). Apparently this is intentional merging to handle relocatable sections. However, in the case of PW64 we do not have relocatable sections, and the merging doesn't seem to apply to non-static .bss.
As far as I can tell this doesn't currently have any impact on the recomp, but noting the issue here in case it ever does.
Source: N64Recomp/N64Recomp