For information, I'm *not* able to reproduce this problem with:
* QEMU user-mode v1.0.1
* host system: Slackware64-current
* guest system: Slackware/ARM 13.37
* build command: gcc -fopenmp 668799.c -o 668799 -static
* run commands:
* ./668799
*
matthieu castet castet.matthieu at free.fr writes:
Android binary start with a weird elf program header : the first
one is of size 0 pointing to NULL addr.
Ignore LOAD program where MemSiz is 0.
...
Attachment (0001-allow-to-load-android-binary.patch): text/x-diff, 2172 bytes
This old
to the user-mode.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
---
target-sh4/op_helper.c | 22 ++
target-sh4/translate.c |5 +
2 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c
index b299576..b8b6e4a 100644
-by: Laurent ALFONSI laurent.alfo...@st.com
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
---
linux-user/syscall.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6bdf4e6..ae08c9e 100644
--- a/linux-user/syscall.c
+++ b
this code more understandable.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Reviewed-by: Christophe Lyon christophe.l...@st.com
Cc: Peter Maydell peter.mayd...@linaro.org
Cc: Paul Brook p...@codesourcery.com
Cc: Wolfgang Schildbach ws...@dolby.com
Cc: Riku Voipio riku.voi...@iki.fi
---
arm
=$(SETLEDS_QEMU))
$(SETLEDS_TESTS:setleds=$(SETLEDS_QEMU)) setleds.target
cmp setleds.host setleds.target
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
---
linux-user/ioctls.h |4
linux-user/syscall_defs.h |4
2 files
DirectFB-1.0 uses at least two of the four added ioctls, and the two
others were added for completeness. This patch was validated with the
program vlock -all/-new.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
---
linux-user/ioctls.h|4
This patch was validated with programs from DirectFB-1.0 and
WebKit/DirectFB.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
---
linux-user/ioctls.h|5 +
linux-user/syscall_defs.h |5 +
linux-user/syscall_types.h | 13
This patch series adds support for some ioctls related to the Linux
frame-buffer/console. It was fully tested for the SH4 target and
partially tested for the x86_64 and ARM targets, this latter fails the
setleds tests (embedded within the first commit message) but it
seems the problem doesn't
(EXIT_FAILURE);
}
Changes introduced in v2 and v3:
* Fix typos + thinko (AT_RANDOM is used for stack canary, not for
ASLR)
* AT_RANDOM points to 16 random bytes stored inside the user
stack.
* Add a small test program.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
this code more understandable.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Reviewed-by: Christophe Lyon christophe.l...@st.com
Cc: Wolfgang Schildbach ws...@dolby.com
Cc: Riku Voipio riku.voi...@iki.fi
---
arm-semi.c | 113 +++
1
the GNU C library;
* don't [try to] allocate a new host page if the new brk is
equal to the latest allocated host page (brk_page); and
* print some debug information when DEBUGF_BRK is defined.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Reviewed-by: Christophe Guillon
);
/* Does QEMU allocate the same host page twice? */
test(-HOST_PAGE_SIZE);
test(HOST_PAGE_SIZE);
if (!failure) {
printf(success\n);
exit(EXIT_SUCCESS);
}
else {
exit(EXIT_FAILURE);
}
}
Signed-off-by: Cédric
be improved later.
Signed-off-by: Laurent ALFONSI laurent.alfo...@st.com
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
---
You can easily test this patch with ARMedSlack-13+:
ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/
linux-user/elfload.c |9 -
1
(__NR_exit)
nop
The bug appears when the log (option -d) is enabled.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Signed-off-by: Yves JANIN yves.ja...@st.com
---
linux-user/elfload.c | 34 +++---
1 files changed, 19 insertions(+), 15 deletions(-)
diff
Hi Riku,
Riku Voipio riku.voipio at iki.fi writes:
Similar thing is done with scratchbox2, but with LD_PRELOAD instead of
ptrace. LD_PRELOAD for all around the corners (static binaries etc) and
the slowdown is major. ptrace would make at least the former problem
go away.
However, why do
16 matches
Mail list logo