binutils-gdb/gdb/testsuite/gdb.arch/i386-gnu-cfi-asm.S

356 lines
5.6 KiB
ArmAsm

/* Copyright 2007-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
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Please email any bugs, comments, and/or additions to this file to:
bug-gdb@gnu.org
This file is part of the gdb testsuite.
It was generated using
"gcc -g -O9 -S -o gate.s gate.c -fasynchronous-unwind-tables",
using the following source file:
void *gate (void *(*gate) (void *data), void *data)
{
return 1 + (*gate) (data);
}
Changes are marked as `CHANGE' below. */
.file "gate.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p2align 4,,15
.globl gate
.type gate, @function
gate:
.LFB2:
.file 1 "gate.c"
.loc 1 2 0
.LVL0:
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
subl $8, %esp
.LCFI2:
.loc 1 3 0
movl 12(%ebp), %eax
movl %eax, (%esp)
call *8(%ebp)
.loc 1 4 0
leave
.loc 1 3 0
addl $1, %eax
.loc 1 4 0
ret
.LFE2:
.size gate, .-gate
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.long .LFB2
.long .LFE2-.LFB2
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x8
.byte 0x85
.uleb128 0x2
/* CHANGE */
.byte 0x2f
.uleb128 0x1
.uleb128 0x0
/* CHANGE */
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x5
.align 4
.LEFDE0:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0x0
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE1:
.LSFDE1:
.long .LEFDE1-.LASFDE1
.LASFDE1:
.long .LASFDE1-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x8
.byte 0x85
.uleb128 0x2
/* CHANGE */
.byte 0x2f
.uleb128 0x1
.uleb128 0x0
/* CHANGE */
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x5
.align 4
.LEFDE1:
.text
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB2-.Ltext0
.long .LCFI0-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long .LCFI0-.Ltext0
.long .LCFI1-.Ltext0
.value 0x2
.byte 0x74
.sleb128 8
.long .LCFI1-.Ltext0
.long .LFE2-.Ltext0
.value 0x2
.byte 0x75
.sleb128 8
.long 0x0
.long 0x0
.section .debug_info
.long 0x74
.value 0x2
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .Ldebug_line0
.long .Letext0
.long .Ltext0
.long .LASF2
.byte 0x1
.long .LASF3
.long .LASF4
.uleb128 0x2
.long 0x5f
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x2
.byte 0x1
.long 0x5f
.long .LFB2
.long .LFE2
.long .LLST0
.uleb128 0x3
.long .LASF0
.byte 0x1
.byte 0x1
.long 0x71
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0x3
.long .LASF1
.byte 0x1
.byte 0x1
.long 0x5f
.byte 0x2
.byte 0x91
.sleb128 4
.byte 0x0
.uleb128 0x4
.byte 0x4
.uleb128 0x5
.long 0x71
.byte 0x1
.long 0x5f
.uleb128 0x6
.long 0x5f
.byte 0x0
.uleb128 0x7
.byte 0x4
.long 0x61
.byte 0x0
.section .debug_abbrev
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x10
.uleb128 0x6
.uleb128 0x12
.uleb128 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.byte 0x0
.byte 0x0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.byte 0x0
.byte 0x0
.uleb128 0x5
.uleb128 0x15
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0x5
.byte 0x0
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x7
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x17
.value 0x2
.long .Ldebug_info0
.long 0x78
.long 0x25
.string "gate"
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x1c
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0x0
.value 0x0
.value 0x0
.long .Ltext0
.long .Letext0-.Ltext0
.long 0x0
.long 0x0
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "data"
.LASF0:
.string "gate"
.LASF3:
.string "gate.c"
.LASF4:
.string "/home/jkratoch/redhat/bz165025"
.LASF2:
.string "GNU C 4.1.1 20061213 (Red Hat 4.1.1-46)"
.ident "GCC: (GNU) 4.1.1 20061213 (Red Hat 4.1.1-46)"
.section .note.GNU-stack,"",@progbits