startup. I don't know if this is actually of interest, since surely
the flags are not live at the point where the section's .init function
is called, but still, it's a form of state pollution.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1570
.global VG_(startup)
VG_(startup):
+ pushfl
cmpl $0, valgrind_already_initted
je really_start_up
+ popfl
ret
really_start_up:
+ popfl
movl $1, valgrind_already_initted
# Record %esp as it was when we got here. This is because argv/c