[RFA] readelf.c support for vector attribute

Elena Zannoni ezannoni@redhat.com
Wed Apr 24 14:34:00 GMT 2002


This allows readelf to handle the new dwarf2 attribute for vectors,
which went into gcc earlier today.

OK to commit?

Elena


2002-04-24  Elena Zannoni  <ezannoni@redhat.com>

	* dwarf2.h: Add DW_AT_GNU_vector.


Index: elf/dwarf2.h
===================================================================
RCS file: /cvs/uberbaum/include/elf/dwarf2.h,v
retrieving revision 1.8
diff -u -r1.8 dwarf2.h
--- elf/dwarf2.h	28 Jan 2002 23:26:53 -0000	1.8
+++ elf/dwarf2.h	24 Apr 2002 21:10:16 -0000
@@ -328,6 +328,7 @@
     DW_AT_src_coords = 0x2104,
     DW_AT_body_begin = 0x2105,
     DW_AT_body_end   = 0x2106,
+    DW_AT_GNU_vector = 0x2107,
     /* VMS Extensions.  */
     DW_AT_VMS_rtnbeg_pd_address = 0x2201
   };


2002-04-24  Elena Zannoni <ezannoni@redhat.com>
    
        * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.

Index: readelf.c
===================================================================
RCS file: /cvs/uberbaum/binutils/readelf.c,v
retrieving revision 1.155
diff -u -r1.155 readelf.c
--- readelf.c	16 Apr 2002 15:03:02 -0000	1.155
+++ readelf.c	24 Apr 2002 21:11:53 -0000
@@ -6529,6 +6529,7 @@
     case DW_AT_src_coords:           return "DW_AT_src_coords";
     case DW_AT_body_begin:           return "DW_AT_body_begin";
     case DW_AT_body_end:             return "DW_AT_body_end";
+    case DW_AT_GNU_vector:           return "DW_AT_GNU_vector";
     default:
       {
 	static char buffer [100];



More information about the Binutils mailing list