blob: e38fc1849ce834cb72e918ecbd93b6d5840d6410 [file] [log] [blame]
jseward2886b0e2004-01-04 03:46:11 +00001
2/*
3 This file is part of Valgrind, an extensible x86 protected-mode
4 emulator for monitoring program execution on x86-Unixes.
5
6 Copyright (C) 2000-2004 Julian Seward
7 jseward@acm.org
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 02111-1307, USA.
23
24 The GNU General Public License is contained in the file COPYING.
25*/
26
fitzhardinge7e343cd2003-12-16 02:14:00 +000027 .text
28 .globl _ume_entry
29
30 /* Record the very initial value of %esp before starting the
31 rest of the executable */
32_ume_entry:
33 movl %esp, ume_exec_esp
34 jmp _start
35
36 .data
37 .globl ume_exec_esp
38ume_exec_esp: .long 0