HomePhabricator

[ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types

Authored by zixuan-wu on Wed, Sep 2, 2:02 AM.

Description

[ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types

This is the split part of D86269, which add a new ELF machine flag called EM_CSKY and related relocations.
Some target-specific flags and tests for csky can be added in follow-up patches later.

Differential Revision: https://reviews.llvm.org/D86610