On Mon, 2006-11-20 at 18:45 +0100, Arnd Bergmann wrote: > Index: linux-2.6/include/linux/elf.h > =================================================================== > --- linux-2.6.orig/include/linux/elf.h > +++ linux-2.6/include/linux/elf.h > @@ -368,5 +368,12 @@ extern Elf64_Dyn _DYNAMIC []; > > #endif > > +#ifndef ARCH_HAVE_EXTRA_ELF_NOTES > +static inline int arch_notes_size(void) { return 0; } > +static inline int arch_write_notes(void) { return 0; } > + > +#define ELF_CORE_EXTRA_NOTES_SIZE arch_notes_size() > +#define ELF_CORE_WRITE_EXTRA_NOTES arch_write_notes(file) > +#endif /* ARCH_HAVE_EXTRA_ELF_NOTES */ This is broken for !CELL. arch_write_notes(void) can't be called as arch_write_notes(file). cheers -- Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person
Attachment:
signature.asc
Description: This is a digitally signed message part
- References:
- [PATCH 00/22] Cell patches for 2.6.20
- From: Arnd Bergmann <arnd@arndb.de>
- [PATCH 17/22] coredump: Add SPU elf notes to coredump.
- From: Arnd Bergmann <arnd@arndb.de>
- [PATCH 00/22] Cell patches for 2.6.20
- Prev by Date: Re: RFC/T: Trial fix for the bcm43xx - wpa_supplicant - NetworkManager deadlock
- Next by Date: Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls
- Previous by thread: [PATCH 17/22] coredump: Add SPU elf notes to coredump.
- Next by thread: [PATCH 21/22] cell: add routines for managing PMU interrupts
- Index(es):
![]() |