• Silviu Baranga's avatar
    [Morello] Add Morello support to newlib and libgloss. · 50deca00
    Silviu Baranga authored
    
    
    libgloss changes:
      - Add pure capability ABI support
      - Initialize capabilities from cap_reloc entries
    
    newlib changes:
      - Use memalign in the pure capability ABI malloc implementation
        to allocate memory which can be representable as a capability.
        We're using the CHERI concentrate requirements for this. Note
        that these requirements can be relaxed for Morello, since
        Morello has a few more mantissa bits.
      - Use the C implementation for some string functions to avoid
        cases where the assembly implementation would over-read the
        input. Over-reading will fault on Morello.
      - Provide optimized assembly implementations for some common
        string functions (memcpy, memset, etc).
      - Various point changes required for the pure capability ABI.
    Co-authored-by: default avatarArnaud de Grandmaison <arnaud.degrandmaison@arm.com>
    Co-authored-by: default avatarGraeme Barnes <graeme.barnes@arm.com>
    Co-authored-by: default avatarJaved Absar <javed.absar@arm.com>
    50deca00