Re: [edk2-devel] [PATCH v5 1/1] OvmfPkg/Sec: fix stack switch

2022-06-08 Thread Yao, Jiewen
Merged https://github.com/tianocore/edk2/pull/2956 > -Original Message- > From: Gerd Hoffmann > Sent: Wednesday, June 8, 2022 6:10 PM > To: devel@edk2.groups.io > Cc: Oliver Steffen ; James Bottomley > ; Gao, Liming ; Tom > Lendacky ; Brijesh Singh > ; Gerd Hoffmann ; Justen, > Jordan L ;

[edk2-devel] [PATCH v5 1/1] OvmfPkg/Sec: fix stack switch

2022-06-08 Thread Gerd Hoffmann
The ebp/rbp register can either be used for the frame pointer or as general purpose register. With gcc (and clang) this depends on the -f(no-)omit-frame-pointer switch. This patch updates tools_def.template to explicitly set the compiler option and also add a define to allow conditionally compile