diff options
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.c')
-rw-r--r-- | sysdeps/powerpc/dl-procinfo.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.c b/sysdeps/powerpc/dl-procinfo.c index 196f9bd65c..a732e94fa8 100644 --- a/sysdeps/powerpc/dl-procinfo.c +++ b/sysdeps/powerpc/dl-procinfo.c @@ -46,10 +46,11 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_powerpc_cap_flags #else -PROCINFO_CLASS const char _dl_powerpc_cap_flags[20][10] +PROCINFO_CLASS const char _dl_powerpc_cap_flags[23][10] #endif #ifndef PROCINFO_DECL = { + "power6x", "dfp", "pa6t", "arch_2_05", "ic_snoop", "smt", "booke", "cellbe", "power5+", "power5", "power4", "notb", "efpdouble", "efpsingle", "spe", @@ -66,11 +67,17 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[20][10] #if !defined PROCINFO_DECL && defined SHARED ._dl_powerpc_platforms #else -PROCINFO_CLASS const char _dl_powerpc_platforms[6][12] +PROCINFO_CLASS const char _dl_powerpc_platforms[7][12] #endif #ifndef PROCINFO_DECL = { - "power4", "ppc970", "power5", "power5+", "power6", "ppc-cell-be" + [PPC_PLATFORM_POWER4] = "power4", + [PPC_PLATFORM_PPC970] = "ppc970", + [PPC_PLATFORM_POWER5] = "power5", + [PPC_PLATFORM_POWER5_PLUS] = "power5+", + [PPC_PLATFORM_POWER6] = "power6", + [PPC_PLATFORM_CELL_BE] = "ppc-cell-be", + [PPC_PLATFORM_POWER6X] = "power6x" } #endif #if !defined SHARED || defined PROCINFO_DECL |