Skip to content
Snippets Groups Projects
  • Andre Maroneze's avatar
    b5d688a9
    [Kernel] support limited version of 'weak' function attribute · b5d688a9
    Andre Maroneze authored and Thibault Martin's avatar Thibault Martin committed
    This attribute is used by some STM32 compilers to allow function definitions
    to be overridden by other function definitions.
    
    Mergecil does not (easily) allow removing a previous existing definition to
    override with a new one (undoing the former), but we can detect it and ask the
    user to change the order of sources in the command line. In practice, this is
    sufficient for some case studies.
    b5d688a9
    History
    [Kernel] support limited version of 'weak' function attribute
    Andre Maroneze authored and Thibault Martin's avatar Thibault Martin committed
    This attribute is used by some STM32 compilers to allow function definitions
    to be overridden by other function definitions.
    
    Mergecil does not (easily) allow removing a previous existing definition to
    override with a new one (undoing the former), but we can detect it and ask the
    user to change the order of sources in the command line. In practice, this is
    sufficient for some case studies.