This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: 1008 segfaults in genattr


> 
>   In message <m0xYd7u-0004ecC@ocean.lucon.org>you write:
>   > __do_global_dtors_aux is called via the .fini section. Unless
>   > _fini (), the .fini section, is called twice, __do_global_dtors_aux
>   > should not be called twice.
> Accoding to the comments before do_global_dtors_aux it can be called
> more than once:
> 
>    On some systems, this routine is run more than once from the .fini,
>    when exit is called recursively, so we arrange to remember where in
>    the list we left off processing, and we resume at that point,
>    should we be re-invoked.  */
> 

The question is how exit is called recursively for a simple
"Hello World!" program.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)


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