summaryrefslogtreecommitdiffstats
path: root/backends/ppc_attrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/ppc_attrs.c')
-rw-r--r--backends/ppc_attrs.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/backends/ppc_attrs.c b/backends/ppc_attrs.c
index 733b8749..7320f264 100644
--- a/backends/ppc_attrs.c
+++ b/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 *vector_kinds[] =
+ {
+ "Any", "r3/r4", "Memory"
+ };
+ if (value < sizeof vector_kinds / sizeof vector_kinds[0])
+ *value_name = vector_kinds[value];
+ return true;
}
return false;