summaryrefslogtreecommitdiff
path: root/elfutils/backends/ppc_attrs.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-04-24 20:12:58 +0000
committerDmitry V. Levin <ldv@altlinux.org>2009-04-24 20:12:58 +0000
commit5a4cef9b6c2899944308fdb8f78559fc0df766cc (patch)
treea2369e429320b9de36cc73d858273b8eedaf99d5 /elfutils/backends/ppc_attrs.c
parentd431016d60829733e5cf287f03bd190ebcb013e5 (diff)
downloadelfutils-47dd27dd02369170e049156b01884fb34e552271.tar.gz
0.141-10.141-1
- Update to 0.141 - libebl: sparc backend fixes (#490585) some more arm backend support - libdwfl: fix dwfl_module_build_id for prelinked DSO case (#489439) fixes in core file support (#494858) dwfl_module_getsym interface improved for non-address symbols - eu-strip: fix infinite loop on strange inputs with -f - eu-addr2line: take -j/--section=NAME option for binutils compatibility (same effect as '(NAME)0x123' syntax already supported) - Resolves: RHBZ #495213, RHBZ #465872, RHBZ #470055, RHBZ #484623
Diffstat (limited to 'elfutils/backends/ppc_attrs.c')
-rw-r--r--elfutils/backends/ppc_attrs.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/elfutils/backends/ppc_attrs.c b/elfutils/backends/ppc_attrs.c
index 733b8749..985df3f9 100644
--- a/elfutils/backends/ppc_attrs.c
+++ b/elfutils/backends/ppc_attrs.c
@@ -1,5 +1,5 @@
/* Object attribute tags for PowerPC.
- Copyright (C) 2008 Red Hat, Inc.
+ Copyright (C) 2008, 2009 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -66,6 +66,16 @@ ppc_check_object_attribute (ebl, vendor, tag, value, tag_name, value_name)
if (value < sizeof vector_kinds / sizeof vector_kinds[0])
*value_name = vector_kinds[value];
return true;
+
+ case 12:
+ *tag_name = "GNU_Power_ABI_Struct_Return";
+ static const char *struct_return_kinds[] =
+ {
+ "Any", "r3/r4", "Memory"
+ };
+ if (value < sizeof struct_return_kinds / sizeof struct_return_kinds[0])
+ *value_name = struct_return_kinds[value];
+ return true;
}
return false;