Skip to content
  • Andre Przywara's avatar
    SPL: tiny-printf: avoid any BSS usage · 59d07ee0
    Andre Przywara authored
    
    
    As printf calls may be executed quite early, we should avoid using any
    BSS stored variables, since some boards put BSS in DRAM, which may not
    have been initialised yet.
    Explicitly mark those "static global" variables as belonging to the
    .data section, to keep tiny-printf clear of any BSS usage.
    
    Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    59d07ee0