From: Andreas Schwab <schwab@suse.de>
To: libc-hacker@sourceware.org
Subject: Fix use of include guard in <sys/procfs.h>
Date: Mon, 03 Apr 2006 11:06:00 -0000 [thread overview]
Message-ID: <jek6a6536u.fsf@sykes.suse.de> (raw)
With the unified powerpc kernel headers the include guard for <asm/elf.h>
has changed.
Andreas.
2006-04-03 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Adjust test for
<asm/elf.h>.
--- sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
+++ sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2006/01/12 15:29:43
@@ -35,7 +35,7 @@ __BEGIN_DECLS
/* These definitions are normally provided by ucontext.h via
asm/sigcontext.h, asm/ptrace.h, and asm/elf.h. Otherwise we define
them here. */
-#ifndef __PPC64_ELF_H
+#if !defined __PPC64_ELF_H && !defined _ASM_POWERPC_ELF_H
#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */
#define ELF_NFPREG 33 /* includes fpscr */
#if __WORDSIZE == 32
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next reply other threads:[~2006-04-03 11:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-03 11:06 Andreas Schwab [this message]
2006-04-04 6:59 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jek6a6536u.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=libc-hacker@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).