]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Handle attribute tag GNU_Power_ABI_Struct_Return.
authorRoland McGrath <roland@redhat.com>
Sun, 15 Feb 2009 22:57:29 +0000 (14:57 -0800)
committerRoland McGrath <roland@redhat.com>
Sun, 15 Feb 2009 22:57:29 +0000 (14:57 -0800)
backends/ChangeLog
backends/ppc_attrs.c

index 85609b155a123f078d1da39bf775b696899782fa..0dbb3eb676fbd6cd835ff43cdc75a0c78b93950f 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-15  Roland McGrath  <roland@redhat.com>
+
+       * ppc_attrs.c (ppc_check_object_attribute): Handle tag
+       GNU_Power_ABI_Struct_Return.
+
 2008-10-04  Ulrich Drepper  <drepper@redhat.com>
 
        * i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
index 733b87497dcaf9f8c71c24de187176e8c64f5e23..7320f264c23ea09a4aa822e68eb2e664c442542e 100644 (file)
@@ -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;