Re: _UC_MACHINE_BP
On 02/09/18 02:47, Christos Zoulas wrote: In article, Valery Ushakov wrote: 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". Yes, FP is better alhough it clashes with Floating Point :-) It does? _REG_FP is defined by at least arm and vax. Nick
Re: _UC_MACHINE_BP
In article, Valery Ushakov wrote: >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". Yes, FP is better alhough it clashes with Floating Point :-) christos
Re: _UC_MACHINE_BP
In article <1c1cae35-4e2d-d460-c8f1-b31e3de4b...@gmx.com>, Kamil Rytarowskiwrote: >-=-=-=-=-=- >-=-=-=-=-=- > >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 I am ok with it... christos
Re: _UC_MACHINE_BP
Kamil Rytarowskiwrote: > 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