diff options
author | Hengqi Chen <hengqi.chen@gmail.com> | 2022-12-03 21:47:07 +0800 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-12-19 23:34:43 +0100 |
commit | 13a4d1279c5b7847049ca3045d04f2705c45ce31 (patch) | |
tree | b832b1f58e49df801a7863c950e5c47d89e65d22 /src | |
parent | 9c136cb3007f3c8649a6856c7e2f4fa6aabf76b8 (diff) | |
download | elfutils-13a4d1279c5b7847049ca3045d04f2705c45ce31.tar.gz |
Add support for LoongArch
This implements initial support for the LoongArch architecture.
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/elflint.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 66428b70..b679f092 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2022-12-02 Hengqi Chen <hengqi.chen@gmail.com> + + * elflint.c (valid_e_machine): Add EM_LOONGARCH. + 2022-11-03 Mark Wielaard <mark@klomp.org> * readelf.c (get_dynscn_addrs): Check gelf_getdyn doesn't diff --git a/src/elflint.c b/src/elflint.c index 565cffdc..b9548862 100644 --- a/src/elflint.c +++ b/src/elflint.c @@ -329,7 +329,7 @@ static const int valid_e_machine[] = EM_CRIS, EM_JAVELIN, EM_FIREPATH, EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM, EM_AVR, EM_FR30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_PJ, EM_OPENRISC, EM_ARC_A5, EM_XTENSA, EM_ALPHA, - EM_TILEGX, EM_TILEPRO, EM_AARCH64, EM_BPF, EM_RISCV, EM_CSKY + EM_TILEGX, EM_TILEPRO, EM_AARCH64, EM_BPF, EM_RISCV, EM_CSKY, EM_LOONGARCH, }; #define nvalid_e_machine \ (sizeof (valid_e_machine) / sizeof (valid_e_machine[0])) |