This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Eliminate third argument from _JMPBUF_UNWINDS
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org, Thomas Schwinge <tschwinge at gnu dot org>
- Date: Tue, 17 Jun 2014 01:08:50 +0200
- Subject: Re: [PATCH] Eliminate third argument from _JMPBUF_UNWINDS
- Authentication-results: sourceware.org; auth=none
- References: <871tuqmfad dot fsf at igel dot home> <20140616222134 dot 070EB2C397F at topped-with-meat dot com>
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."