public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch/ia64/ia32/binfmt_elf32.c: elf32_map() broken ia64 build
@ 2004-04-27  1:56 Paul Jackson
  2004-04-27  5:17 ` John Reiser
  2004-05-01  8:33 ` arch/ia64/ia32/binfmt_elf32.c: elf32_map() broken ia64 build _and_ boot Paul Jackson
  0 siblings, 2 replies; 11+ messages in thread
From: Paul Jackson @ 2004-04-27  1:56 UTC (permalink / raw)
  To: Andrew Morton, John Reiser, mike, pageexec; +Cc: linux-kernel

Not sure how (no lkml thread that I can see), but it seems from Andrew's
broken out patch "bssprot.patch" in 2.6.6-rc2-mm2 that John Reiser
and/or others on the To list above conspired to break the build of
arch/ia64/ia32/binfmt_elf32.c: elf32_map().

They added a patch that amongst other things, did:

- elf_map(): new parameter total_size allows for holes between PT_LOAD; in
  fs/binfmt_elf.c, arch/x86_64/ia32/ia32_binfmt.c, arch/s390/kernel/
  binfmt_elf32.c.

but they didn't change (note elf32_map is just elf_map, via a #define) this:


===== arch/ia64/ia32/binfmt_elf32.c 1.22 vs edited =====
223c223
< elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)
---
> elf32_map (struct file *filep, unsigned long addr, struct elf_phdr const *eppnt, int prot, int type, unsigned long total_size)


If I make the above function signature change, I can at least recompile
arch ia64 with CONFIG_IA32_SUPPORT enabled.  But I doubt that this is
ideal - as it is making no use of the new 'total_size' parameter.

Would someone care to recommend a proper fix?

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

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

end of thread, other threads:[~2004-05-03 22:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27  1:56 arch/ia64/ia32/binfmt_elf32.c: elf32_map() broken ia64 build Paul Jackson
2004-04-27  5:17 ` John Reiser
2004-04-27  5:27   ` Paul Jackson
2004-05-01  8:33 ` arch/ia64/ia32/binfmt_elf32.c: elf32_map() broken ia64 build _and_ boot Paul Jackson
2004-05-03 14:08   ` John Reiser
2004-05-03 17:57     ` Andrew Morton
2004-05-03 21:04     ` Paul Jackson
2004-05-03 21:29       ` Mike Hearn
2004-05-03 22:10         ` Paul Jackson
2004-05-03 22:20           ` Mike Hearn
2004-05-03 22:26             ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox