Hi David.
Generally, the warning "ignoring changed section attributes for .text" is because user tries to define changeable variable in .text section. the gcc compiler tries to writable access it, but .text was readonly implicitly.
I didn't see your code, if this can't help, please create a demo project for your issue. I will look into it further.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------