public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Fix use of include guard in <sys/procfs.h>
@ 2006-04-03 11:06 Andreas Schwab
  2006-04-04  6:59 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2006-04-03 11:06 UTC (permalink / raw)
  To: libc-hacker

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."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix use of include guard in <sys/procfs.h>
  2006-04-03 11:06 Fix use of include guard in <sys/procfs.h> Andreas Schwab
@ 2006-04-04  6:59 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2006-04-04  6:59 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

> 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>.

I put this in.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-04  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 11:06 Fix use of include guard in <sys/procfs.h> Andreas Schwab
2006-04-04  6:59 ` Roland McGrath

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).