This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 04/24] x86: Add _CET_ENDBR to functions in crti.S
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 6 Jul 2018 10:00:33 -0700
- Subject: Re: [PATCH 04/24] x86: Add _CET_ENDBR to functions in crti.S
- References: <20180613153207.57232-1-hjl.tools@gmail.com> <20180613153207.57232-5-hjl.tools@gmail.com> <965e9f9f-c74e-458e-664a-65fbc5ffccc3@redhat.com>
On Fri, Jul 6, 2018 at 7:50 AM, Carlos O'Donell <carlos@redhat.com> wrote:
> On 06/13/2018 11:31 AM, H.J. Lu wrote:
>> Add _CET_ENDBR to functions in crti.S, which are called indirectly, to
>> support IBT.
>>
>> Tested on i686 and x86-64.
>>
>> * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
>> (_fini): Likewise.
>> * sysdeps/x86_64/crti.S (_init): Likewise.
>> (_fini): Likewise.
>
> Please commit.
>
> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
>
All my _CET_ENDBR changes depend on:
https://sourceware.org/ml/libc-alpha/2018-06/msg00325.html
--
H.J.