Re: _UC_MACHINE_BP

2018-02-07 Thread Valery Ushakov
Kamil Rytarowski  wrote:

> I propose to add a definition of _UC_MACHINE_BP() across the ports in
> /usr/include/*/mcontext.h.
> 
> BP stands for Base Pointer / Frame Pointer.

Please, s/BP/FP/.  "Frame pointer" is an esablished name and several
assemblers use "fp" as a register name/alias (e.g. vax, sparc); "base
pointer" it too vague; clashes with "breakpoint".

-uwe



_UC_MACHINE_BP

2018-02-07 Thread Kamil Rytarowski
I propose to add a definition of _UC_MACHINE_BP() across the ports in
/usr/include/*/mcontext.h.

BP stands for Base Pointer / Frame Pointer.

I'm aware that this value is not set in stone (e.g. -fomit-frame-pointer).

The purpose of this macro is to use the same code in sanitizers for all
ports without reimplementing it in 3rd party code.

http://netbsd.org/~kamil/patch-00044-_UC_MACHINE_BP.txt



signature.asc
Description: OpenPGP digital signature