Statistics
| Branch: | Revision:

root / linux-user @ 28490231

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  sh4
  sparc
  sparc64
  x86_64
cpu-uname.c 2.5 kB
cpu-uname.h 49 Bytes
elfload.c 82.4 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.5 kB
ioctls.h 15.9 kB
linux_loop.h 2.3 kB
linuxload.c 4.9 kB
m68k-sim.c 4.8 kB
main.c 105 kB
mmap.c 22.9 kB
qemu-types.h 595 Bytes
qemu.h 13.7 kB
signal.c 139.9 kB
socket.h 5 kB
strace.c 33.3 kB
strace.list 46.5 kB
syscall.c 225 kB
syscall_defs.h 72.5 kB
syscall_types.h 5.4 kB
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
9955ffac 07/29/2010 09:32 am Richard Henderson

linux-user: Reduce lseek+reads while loading elf files.

Define BPRM_BUF_SIZE to 1k and read that amount initially. If the
data we want from the binary is in this buffer, use it instead of
reading from the file again.

Signed-off-by: Richard Henderson <>...

28490231 07/29/2010 09:32 am Richard Henderson

linux-user: Define ELF_DATA generically.

The only consideration on this value is the target endianness.
The existing defines were incorrect for alpha and sh4eb.

Signed-off-by: Richard Henderson <>
Signed-off-by: Edgar E. Iglesias <>

cf129f3a 07/29/2010 09:32 am Richard Henderson

linux-user: Handle filesz < memsz for any PT_LOAD segment.

I caught padzero not properly initializing the .bss segment
on a statically linked Alpha program. Rather than a minimal
patch, replace the gross code with a single mmap+memset.

Share more code between load_elf_interp and load_elf_binary....

e167d46c 07/29/2010 09:32 am Richard Henderson

Add more DT_* and AT_* constants to qemu's copy of elf.h.

Moving some PPC AT_* constants from elfload.c at the same time.

Signed-off-by: Richard Henderson <>
Signed-off-by: Edgar E. Iglesias <>

d97ef72e 07/29/2010 09:32 am Richard Henderson

linux-user: Reindent elfload.c.

Signed-off-by: Richard Henderson <>
Signed-off-by: Edgar E. Iglesias <>

b2178704 07/23/2010 10:30 am Edgar E. Iglesias

microblaze: Pass a ucontext * as 3rd sighandler arg

There is disagreement between microblaze glibc and the kernel
to what the third arg of signal handlers should point to.

Change QEMU linux-user to match the kernel port. glibc patches
are pending.

Signed-off-by: Edgar E. Iglesias <>

6d1db8c3 07/22/2010 06:52 am Laurent Vivier

linux-user: display cpu list.

As it is done for qemu-system with "-cpu ?", when cpu_list_id() is missing
for a target, call cpu_list() instead.

Signed-off-by: Laurent Vivier <>
Signed-off-by: Aurelien Jarno <>

187b4e08 07/15/2010 04:32 pm Edgar E. Iglesias

microblaze: Correct signal frame setup.

Pass the context in r7.

Signed-off-by: Edgar E. Iglesias <>

9e0b74a4 06/16/2010 03:03 pm Paul Brook

Strace mprotect flags.

Teach strace code about linux specific mprotect flags.

Signed-off-by: Paul Brook <>

97374d38 06/16/2010 03:03 pm Paul Brook

Usermode exec-stack fix

When loading a shared library that requires an executable stack,
glibc uses the mprotext PROT_GROWSDOWN flag to achieve this.
We don't support PROT_GROWSDOWN.
Add a special case to handle changing the stack permissions in this way....

View revisions

Also available in: Atom