Re: [patch, avr-libc] Fix atexit.c

Erik Christiansen <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <20141014113657.GD2350@ratatosk>
On 14.10.14 12:43, Georg-Johann Lay wrote:
> Issuance of calls to functions as registered by atexit() is located in
> section .fini6a.  As the current linker description does not handle that
> section

It's a bit late for this case, now that you have fixed it another way,
which as you describe, is an improvement to boot, but if something like
this crops up again, and is not amenable to similar adroitness, then
changing "*(.fini6)" to "*(.fini6*)" should avoid the orphaning. (If
not, linker script hammering is just an email away.)

Erik

-- 
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not.
                                                           - Mark Twain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.