Patchwork amend DW_AT_hi_user value.

login
register
mail settings
Submitter IainS
Date Jan. 10, 2011, 9:30 a.m.
Message ID <3728993D-0964-48B5-8B9F-F9BD69EBD4C5@sandoe-acoustics.co.uk>
Download mbox | patch
Permalink /patch/78108/
State New
Headers show

Comments

IainS - Jan. 10, 2011, 9:30 a.m.
The dwarf docs I have downloaded (incl. Dwarf4 public review) all list  
DW_AT_hi_user as 0x3fff.
We have it set to 0x3ff0.

Should it be amended?
Iain
Richard Henderson - Jan. 11, 2011, 8:28 p.m.
On 01/10/2011 01:30 AM, IainS wrote:
> The dwarf docs I have downloaded (incl. Dwarf4 public review) all list DW_AT_hi_user as 0x3fff.
> We have it set to 0x3ff0.
> 
> Should it be amended?
> Iain
> 
> Index: include/dwarf2.h
> ===================================================================
> --- include/dwarf2.h    (revision 168625)
> +++ include/dwarf2.h    (working copy)
> @@ -377,7 +377,7 @@ enum dwarf_attribute
>      DW_AT_linkage_name    = 0x6e,
> 
>      DW_AT_lo_user = 0x2000,    /* Implementation-defined range start.  */
> -    DW_AT_hi_user = 0x3ff0,    /* Implementation-defined range end.  */
> +    DW_AT_hi_user = 0x3fff,    /* Implementation-defined range end.  */

Ok.


r~

Patch

Index: include/dwarf2.h
===================================================================
--- include/dwarf2.h	(revision 168625)
+++ include/dwarf2.h	(working copy)
@@ -377,7 +377,7 @@  enum dwarf_attribute
      DW_AT_linkage_name    = 0x6e,

      DW_AT_lo_user = 0x2000,	/* Implementation-defined range start.  */
-    DW_AT_hi_user = 0x3ff0,	/* Implementation-defined range end.  */
+    DW_AT_hi_user = 0x3fff,	/* Implementation-defined range end.  */

      /* SGI/MIPS extensions.  */
      DW_AT_MIPS_fde = 0x2001,