18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * dwarf-regs-table.h : Mapping of DWARF debug register numbers into 48c2ecf20Sopenharmony_ci * register names. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2020 Loongson Technology Corporation Limited 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 98c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License as published by 108c2ecf20Sopenharmony_ci * the Free Software Foundation; either version 2 of the License, or 118c2ecf20Sopenharmony_ci * (at your option) any later version. 128c2ecf20Sopenharmony_ci * 138c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful, 148c2ecf20Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 158c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 168c2ecf20Sopenharmony_ci * GNU General Public License for more details. 178c2ecf20Sopenharmony_ci * 188c2ecf20Sopenharmony_ci */ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#ifdef DEFINE_DWARF_REGSTR_TABLE 218c2ecf20Sopenharmony_cistatic const char * const loongarch_regstr_tbl[] = { 228c2ecf20Sopenharmony_ci "$0", "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9", 238c2ecf20Sopenharmony_ci "$10", "$11", "$12", "$13", "$14", "$15", "$16", "$17", "$18", "$19", 248c2ecf20Sopenharmony_ci "$20", "$21", "$22", "$23", "$24", "$25", "$26", "$27", "$28", "%29", 258c2ecf20Sopenharmony_ci "$30", "$31", 268c2ecf20Sopenharmony_ci}; 278c2ecf20Sopenharmony_ci#endif 28