Re: [Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-19 Thread Aurelien Jarno
On Wed, Dec 16, 2009 at 11:03:42PM +0100, David Kozub wrote: > > Signed-off-by: David Kozub > --- > qemu-binfmt-conf.sh |9 - > 1 files changed, 8 insertions(+), 1 deletions(-) > > diff --git a/qemu-binfmt-conf.sh b/qemu-binfmt-conf.sh > index ba916ac..9c65c9a 100644 > --- a/qemu-binf

[Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-17 Thread David Kozub
Signed-off-by: David Kozub --- qemu-binfmt-conf.sh |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/qemu-binfmt-conf.sh b/qemu-binfmt-conf.sh index ba916ac..9c65c9a 100644 --- a/qemu-binfmt-conf.sh +++ b/qemu-binfmt-conf.sh @@ -1,5 +1,5 @@ #!/bin/sh -# enable au

Re: [Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-17 Thread Richard Henderson
On 12/17/2009 01:15 PM, David Kozub wrote: On a side note, why is the mask for e_type 0xfffe, allowing both ET_EXEC and ET_DYN? I.e. when would we need it for shared libraries? -fpie generates an ET_DYN "executable". r~

Re: [Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-17 Thread David Kozub
On Thu, 17 Dec 2009, Richard Henderson wrote: ;; + sh4) + cpu="sh4" + ;; You don't need this entry. That table is supposed to be for changing the name. You'd use it if uname returned sh4eb though... Indeed, I got swayed. Then also "m68k" and "i386" are superfluous there. As for sh4eb, AF

Re: [Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-17 Thread Richard Henderson
On 12/17/2009 05:11 AM, David Kozub wrote: ;; + sh4) + cpu="sh4" + ;; You don't need this entry. That table is supposed to be for changing the name. You'd use it if uname returned sh4eb though... r~

[Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh.

2009-12-17 Thread David Kozub
Signed-off-by: David Kozub --- qemu-binfmt-conf.sh |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/qemu-binfmt-conf.sh b/qemu-binfmt-conf.sh index ba916ac..9c65c9a 100644 --- a/qemu-binfmt-conf.sh +++ b/qemu-binfmt-conf.sh @@ -1,5 +1,5 @@ #!/bin/sh -# enable au