]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
Update years in copyright notice for the GDB files.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / implptr-optimized-out.S
index dc5b19bf732680b97d3611c7bc47b44aeeefcd1f..deacc1577e209136a506148eea9c1b339f36a4a7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 2010, 2011 Free Software Foundation, Inc.
+/* Copyright 2010-2013 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
        .section        .debug_info
 d:
-       .long   debug_end - 1f  /* Length of Compilation Unit Info */
+       .4byte  debug_end - 1f  /* Length of Compilation Unit Info */
 1:
        .2byte  0x3     /* DWARF version number */
-       .long   .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
+       .4byte  .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
        .byte   0x4     /* Pointer Size (in bytes) */
        .uleb128 0x1    /* (DIE (0xb) DW_TAG_compile_unit) */
        .ascii "GNU C 4.4.3\0"  /* DW_AT_producer */
@@ -53,7 +53,7 @@ d:
 .Ltype_structptr:
        .uleb128 0x5    /* DW_TAG_pointer_type */
        .byte   0x4     /* DW_AT_byte_size */
-       .long   .Ltype_struct - d       /* DW_AT_type */
+       .4byte  .Ltype_struct - d       /* DW_AT_type */
 
 .Lvar_out:
        .uleb128 0x4    /* (DW_TAG_variable) */
@@ -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 */