On Mon, Mar 26, 2018 at 10:42 PM, Tsimbalist, Igor V <[email protected]> wrote: >> -----Original Message----- >> From: H.J. Lu [mailto:[email protected]] >> Sent: Monday, March 26, 2018 5:59 PM >> To: Tsimbalist, Igor V <[email protected]> >> Cc: [email protected]; Uros Bizjak <[email protected]> >> Subject: Re: [PATCH] i386: Insert ENDBR to trampoline for -fcf- >> protection=branch -mibt >> >> On Mon, Mar 26, 2018 at 8:23 AM, Tsimbalist, Igor V >> <[email protected]> wrote: >> >> -----Original Message----- >> >> From: Lu, Hongjiu >> >> Sent: Sunday, March 25, 2018 12:50 AM >> >> To: [email protected]; Uros Bizjak <[email protected]>; >> Tsimbalist, >> >> Igor V <[email protected]> >> >> Subject: [PATCH] i386: Insert ENDBR to trampoline for -fcf- >> >> protection=branch -mibt >> >> >> >> When -fcf-protection=branch -mibt are used, we need to insert ENDBR >> >> to trampoline. TRAMPOLINE_SIZE is creased by 4 bytes to accommodate >> >> 4-byte ENDBR instruction. >> >> >> >> OK for trunk? >> > >> > Regarding the test. Is it possible to check what is generated in a >> trampoline? In particular, that endbr is generated. >> > >> >> I think run-time test is sufficient. > > Ok then.
Rubber-stamp OK. Uros.
