This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MPX ABI extension


2013/8/27 Kalle Olavi Niemitalo <kon@iki.fi>:
> Ilya Enkovich <enkovich.gnu@gmail.com> writes:
>
>>  - When we pass (return) pointer on register, we use the next
>> available bound register to pass (return) bounds
>
> From the wording, it seems function pointers get bounds too.
> If so, it might be good to state that explicitly.
> I suppose they would be all-of-memory bounds though,
> due to the lack of hardware support for checking them.
My wording may seem ambiguous for function pointers but in ABI
document register classes description enumerates all types assigned to
each class. I think it does not allow to assume other class than
POINTER for function pointers.

Thanks,
Ilya


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]