https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122516

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Georg-Johann Lay from comment #15)
> (In reply to H.J. Lu from comment #14)
> > INIT_ARRAY was added to gABI more than 20 years ago.  Why can't it added to
> > the avr target?
> One reason is poor documentation what the stuff actually does. I found an
> entry on stackoverflow that doesn't add much to understanding it.
> 

.init/.fini come from DT_INIT/DT_FINI and .init_array/.fini_array come
from DT_INIT_ARRAY/DT_FINI_ARRAY.  There is also .preinit_array from
DT_PREINIT_ARRAY.   All of them are in gABI:

https://gabi.xinuos.com/v42/elf/08-dynamic.html#dynamic-section

Reply via email to