Add support for debuginfod to the binutils (disable by default, enabled via a configu...
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / linkdebug.s
index a13a4c6346dada66de9ea84e542fd0e81a42201d..518f0ce5a5e6b0d02f493c7cbe31e2ab57281a96 100644 (file)
        
 /* This is the separate debug info file.  */
 
-/* Create a .debug_abbrev section for use by the .debug_info section
+/* Create .note.gnu.build-id note for use by the .gnu_debugaltlink
    in the main object file.  */
-   
+
+       .section        .note.gnu.build-id,"a",%note
+       .balign 4
+       .dc.l   0x04    ;# Name size
+       .dc.l   0x18    ;# Description size
+       .dc.l   0x03    ;# Type
+       .asciz  "GNU"   ;# Name
+       .dc.b   0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77
+       .dc.b   0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff
+       .dc.b   0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef
+
+ /* Create a .debug_abbrev section for use by the .debug_info section
+   in the main object file.  */
+
        .section        .debug_abbrev,"",%progbits
 abbrevs:
        .uleb128 0x01   ;# Abbrev code.
This page took 0.024599 seconds and 4 git commands to generate.