Use dwarf_aggregate_size in backend return_value functions.  Observe DW_AT_GNU_vector on powerpc return_value type.
diff --git a/backends/sparc_retval.c b/backends/sparc_retval.c
index 7d7cbf2..dcff67a 100644
--- a/backends/sparc_retval.c
+++ b/backends/sparc_retval.c
@@ -1,5 +1,5 @@
 /* Function return value location for SPARC.
-   Copyright (C) 2006, 2007 Red Hat, Inc.
+   Copyright (C) 2006-2010 Red Hat, Inc.
    This file is part of Red Hat elfutils.
 
    Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -154,8 +154,7 @@
     case DW_TAG_class_type:
     case DW_TAG_union_type:
     case DW_TAG_array_type:
-      if (dwarf_formudata (dwarf_attr_integrate (typedie, DW_AT_byte_size,
-						 &attr_mem), &size) == 0
+      if (dwarf_aggregate_size (typedie, &size) == 0
 	  && size > 0 && size <= 8)
 	goto intreg;
       goto aggregate;