Patchwork [01/19] linux-user: stack_base is now mandatory on all targets

login
register
mail settings
Submitter riku.voipio@linaro.org
Date Jan. 31, 2012, 9:29 a.m.
Message ID <2fffecf6bd5a3ef625a48efdd4fc8a36ef46e49a.1328001769.git.riku.voipio@linaro.org>
Download mbox | patch
Permalink /patch/138722/
State New
Headers show

Comments

riku.voipio@linaro.org - Jan. 31, 2012, 9:29 a.m.
From: Riku Voipio <riku.voipio@linaro.org>

---
 linux-user/qemu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Andreas Färber - Jan. 31, 2012, 9:46 a.m.
Am 31.01.2012 10:29, schrieb riku.voipio@linaro.org:
> From: Riku Voipio <riku.voipio@linaro.org>
> 

SoB missing.

Andreas

> ---
>  linux-user/qemu.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/linux-user/qemu.h b/linux-user/qemu.h
> index 55ad9d8..30e2abd 100644
> --- a/linux-user/qemu.h
> +++ b/linux-user/qemu.h
> @@ -123,10 +123,10 @@ typedef struct TaskState {
>  #endif
>  #if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_UNICORE32)
>      /* Extra fields for semihosted binaries.  */
> -    uint32_t stack_base;
>      uint32_t heap_base;
>      uint32_t heap_limit;
>  #endif
> +    uint32_t stack_base;
>      int used; /* non zero if used */
>      struct image_info *info;
>      struct linux_binprm *bprm;

Patch

diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 55ad9d8..30e2abd 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -123,10 +123,10 @@  typedef struct TaskState {
 #endif
 #if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_UNICORE32)
     /* Extra fields for semihosted binaries.  */
-    uint32_t stack_base;
     uint32_t heap_base;
     uint32_t heap_limit;
 #endif
+    uint32_t stack_base;
     int used; /* non zero if used */
     struct image_info *info;
     struct linux_binprm *bprm;