[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #8556] Fix atexit.c

From: Georg-Johann Lay
Subject: [avr-libc-dev] [patch #8556] Fix atexit.c
Date: Wed, 15 Oct 2014 09:30:20 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #1, patch #8556 (project avr-libc):

Attached an updated patch (is it possible to remove outdated patches?)

- Move calling atexit functions from .fini7 up to .fini8.
- Handle cases where a destructor calls exit.

        * libc/stdlib/atexit.c (__atexit_fini): Rename to...
        (atexit_fini): ...this.  Make static, naked, and used.
        Move to section .fini8.  Outsource worker code to...
        (atexit_finido): ...this new function.
        (atexit_p): Renamed from __atexit_p.  Make static.

(file #32277)

Additional Item Attachment:

File name: atexit-v2.diff                 Size:1 KB


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]