1*542ca434SLaurent Vivier /* 2*542ca434SLaurent Vivier * This program is free software; you can redistribute it and/or modify 3*542ca434SLaurent Vivier * it under the terms of the GNU General Public License version 2 as 4*542ca434SLaurent Vivier * published by the Free Software Foundation, or (at your option) any 5*542ca434SLaurent Vivier * later version. See the COPYING file in the top-level directory. 6*542ca434SLaurent Vivier */ 7*542ca434SLaurent Vivier 8*542ca434SLaurent Vivier #ifndef SPARC_TARGET_ELF_H 9*542ca434SLaurent Vivier #define SPARC_TARGET_ELF_H cpu_get_model(uint32_t eflags)10*542ca434SLaurent Vivierstatic inline const char *cpu_get_model(uint32_t eflags) 11*542ca434SLaurent Vivier { 12*542ca434SLaurent Vivier #ifdef TARGET_SPARC64 13*542ca434SLaurent Vivier return "TI UltraSparc II"; 14*542ca434SLaurent Vivier #else 15*542ca434SLaurent Vivier return "Fujitsu MB86904"; 16*542ca434SLaurent Vivier #endif 17*542ca434SLaurent Vivier } 18*542ca434SLaurent Vivier #endif 19