[PATCH] move __gmon_start__ call out of .init section

Roland McGrath roland@redhat.com
Thu Nov 7 17:43:00 GMT 2002


> We wouldn't be putting __gmon_init__ directly into .preinit---we would
> put a function there which will then check whether __gmon_init__ is
> NULL and, if not, call it.

Oh, well I don't see any potential problem with that then.  

> Hmmh, I'm sorry about that.  I was using a script that Uli sent me
> some time ago.  I'm not a (heavy) CVS user but Uli told me that the
> patches created by "cvs diff -U" are broken.  What's the recommend way
> to create a diff from the glibc CVS?

My cvs version calls itself 1.11.1p1, and it produces diffs with proper
file names in them for cvs diff by itself.  Probably yours does too, and
the script you are using that was necessary for older cvs versions does not
mix well with already-correct input.



More information about the Libc-hacker mailing list