]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.dwarf2/implptr-optimized-out.S: DIE offset for
authorDoug Evans <dje@google.com>
Fri, 14 Dec 2012 18:26:00 +0000 (18:26 +0000)
committerDoug Evans <dje@google.com>
Fri, 14 Dec 2012 18:26:00 +0000 (18:26 +0000)
DW_OP_GNU_implicit_pointer is section-relative.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S

index f584518a38fcdad61d79dc8e147ad489a6543683..4de393acd881f65b3183b41559b96f5cf1361dd6 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-14  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
+       DW_OP_GNU_implicit_pointer is section-relative.
+
 2012-12-14  Tom Tromey  <tromey@redhat.com>
 
         * gdb.base/info-proc.exp: Add core file tests.
index 2f268b1cc56d5e40baf72d938f9d68e9c3448b6e..56dfd2af918863e33bc7dbf00c35a54460b1181f 100644 (file)
@@ -66,7 +66,7 @@ d:
        .byte   2f - 1f /* DW_AT_location: DW_FORM_block1 */
 1:
        .byte   0xf2    /* DW_OP_GNU_implicit_pointer */
-       .4byte  .Lvar_out - d   /* referenced DIE */
+       .4byte  .Lvar_out       /* referenced DIE, section-relative! */
        .sleb128        0       /* offset */
 2:
        .4byte  .Ltype_structptr - d    /* DW_AT_type */