From: Roland McGrath Date: Sun, 15 Feb 2009 23:01:03 +0000 (-0800) Subject: Fix last commit. X-Git-Tag: elfutils-0.140~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ee70eb081efbf86ed272ecc60e36c73e8e009f3;p=thirdparty%2Felfutils.git Fix last commit. --- diff --git a/backends/ppc_attrs.c b/backends/ppc_attrs.c index 7320f264c..985df3f96 100644 --- a/backends/ppc_attrs.c +++ b/backends/ppc_attrs.c @@ -69,12 +69,12 @@ ppc_check_object_attribute (ebl, vendor, tag, value, tag_name, value_name) case 12: *tag_name = "GNU_Power_ABI_Struct_Return"; - static const char *vector_kinds[] = + static const char *struct_return_kinds[] = { "Any", "r3/r4", "Memory" }; - if (value < sizeof vector_kinds / sizeof vector_kinds[0]) - *value_name = vector_kinds[value]; + if (value < sizeof struct_return_kinds / sizeof struct_return_kinds[0]) + *value_name = struct_return_kinds[value]; return true; }