• Explorer09's avatar
    Mark signal tables 'const' · 1f3d85b6
    Explorer09 authored
    
    
    Specifically, Platform_signals[] and Platform_numberOfSignals. Both are
    not supposed to be mutable. Marking them 'const' puts them into rodata
    sections in binary. And for Platform_numberOfSignals, this aids
    optimization (aids only Link Time Optimization for now). :)
    Signed-off-by: default avatarKang-Che Sung <explorer09@gmail.com>
    1f3d85b6
Platform.c 8.04 KB