This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Add additional DW op to readelf
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 11 Jun 2007 12:32:34 +0100
- Subject: Add additional DW op to readelf
This patch adds DW_OP_form_tls_address to readelf. Installed as obvious.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2007-06-11 Nathan Sidwell <nathan@codesourcery.com>
binutils/
* dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
Index: binutils/dwarf.c
===================================================================
--- binutils/dwarf.c (revision 173558)
+++ binutils/dwarf.c (working copy)
@@ -895,6 +895,9 @@ decode_location_expression (unsigned cha
case DW_OP_call_ref:
printf ("DW_OP_call_ref");
break;
+ case DW_OP_form_tls_address:
+ printf ("DW_OP_form_tls_address");
+ break;
/* GNU extensions. */
case DW_OP_GNU_push_tls_address: