This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] move __gmon_start__ call out of .init section


> The patch below changes the ia64 initfini.c such that the call to
> __gmon_start__ is done via the .init_array section (if available).
> The idea here is to keep the .init/.fini empty (apart from
> prologue/epilogue) so as to ensure that the unwind info is always
> correct.

Can you elaborate a bit on the problem you are addressing here?

This seems wrong to me, in that the user program might put some code into
the .init section and then __gmon_start__ would come after it instead of
before.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]