https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126841
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> --- For live patching different sections is not going to help and you need to disable most of ipa passes. So there is nothing to be done here.
