[PATCH] Eliminate third argument from _JMPBUF_UNWINDS
Andreas Schwab
schwab@linux-m68k.org
Mon Jun 16 23:09:00 GMT 2014
Roland McGrath <roland@hack.frob.com> writes:
> This all but ensures that when a machine adds PTR_MANGLE/PTR_DEMANGLE
> support, or changes how it does the mangling, that the corresponding
> update in jmpbuf-unwind.h will be forgotten.
That will not happen.
> How is this better?
It removes a layer violation and consolidates the jmpbuf handling into
the architecture header. The caller must not have knowlege of the
jmpbuf internals.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list