LD: Cannot add content to ctors section

H.J. Lu hjl.tools@gmail.com
Wed May 20 12:11:55 GMT 2020


On Wed, May 20, 2020 at 4:52 AM Ben Hirschberg <bhirschb@cyberarmor.io> wrote:
>
> Yeah, well, if life was so easy...
>
> The original solution was using C with attribute constructor. It it is not working in this scenario because it adds the function to the ".init_array" section and not the ".ctors".
>

Why didn't .init_array work?

-- 
H.J.


More information about the Binutils mailing list