On Thu, 30 Mar 2023 at 16:25, Ni, Ray <ray...@intel.com> wrote: > > I am afraid they are not template code. > That means if nx is set for data section, they can not be executed. >
Currently, we fix up the entries by writing to the .text section at runtime, so NX seems out of scope in any case. Someone should check Xcode5, but for LLD, adding -Wl,-z,notext is sufficient to work around the error. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102189): https://edk2.groups.io/g/devel/message/102189 Mute This Topic: https://groups.io/mt/97947477/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-