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 PPC_TARGET_ELF_H 9*542ca434SLaurent Vivier #define PPC_TARGET_ELF_H 10*542ca434SLaurent Vivier static inline const char *cpu_get_model(uint32_t eflags) 11*542ca434SLaurent Vivier { 12*542ca434SLaurent Vivier #ifdef TARGET_PPC64 13*542ca434SLaurent Vivier return "POWER8"; 14*542ca434SLaurent Vivier #else 15*542ca434SLaurent Vivier return "750"; 16*542ca434SLaurent Vivier #endif 17*542ca434SLaurent Vivier } 18*542ca434SLaurent Vivier #endif 19