This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S/390: Extend ucontext_t data structure - new patch
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 02 Jan 2014 14:41:21 +0100
- Subject: Re: [PATCH] S/390: Extend ucontext_t data structure - new patch
- Authentication-results: sourceware.org; auth=none
- References: <20140102124957 dot GA29876 at bart>
Andreas Krebbel <krebbel@linux.vnet.ibm.com> writes:
> diff --git a/sysdeps/unix/sysv/linux/s390/getcontext.S b/sysdeps/unix/sysv/linux/s390/getcontext.S
> new file mode 100644
> index 0000000..3f56454
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/s390/getcontext.S
> @@ -0,0 +1,45 @@
> +/* Extendible version of getcontext for System z
> + Copyright (C) 2013 Free Software Foundation, Inc.
> + This file is part of the GNU C Library.
> +
> + The GNU C Library is free software; you can redistribute it and/or
> + modify it under the terms of the GNU Lesser General Public
> + License as published by the Free Software Foundation; either
> + version 2.1 of the License, or (at your option) any later version.
> +
> + The GNU C Library is distributed in the hope that it will be useful,
> + but WITHOUT ANY WARRANTY; without even the implied warranty of
> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + Lesser General Public License for more details.
> +
> + You should have received a copy of the GNU Lesser General Public
> + License along with the GNU C Library; if not, see
> + <http://www.gnu.org/licenses/>. */
> +
> +#include <libc-symbols.h>
> +#include <shlib-compat.h>
> +
> +#if defined NOT_IN_libc
> +/* Build a non-versioned object for rtld-*. */
> +# include "getcontext-common.S"
I think the proper way to handle that is to create a rtld-getcontext.S
file.
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."