Commit Graph

3 Commits

Author SHA1 Message Date
Danny Smith 842db59275 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
(_MCOUNT_DECL): Use it.
	(MCOUNT): Save and restore eax, ecx, edx registers.
	* profile/mcount.c (_mcount): ANSI-fy.
2005-06-16 12:14:21 +00:00
Danny Smith dcbe33d83a * profile/profile.h (mcount): Use __builtin_return_address
rather than __asm statements.
	* profile/Makefile.in: Remove special rule for mcount.o
	Specify dependencies for mcount.o profil.o gmon.o.
2003-03-16 22:12:01 +00:00
Christopher Faylor 1fd5e000ac import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00