Patchwork [03/35] s390x: Don't use a linker script for user-only.

login
register
mail settings
Submitter Richard Henderson
Date June 4, 2010, 7:14 p.m.
Message ID <1275678883-7082-4-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/54669/
State New
Headers show

Comments

Richard Henderson - June 4, 2010, 7:14 p.m.
The default placement of the application at 0x80000000 is fine,
and will avoid the default placement for most other guests.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 configure |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Aurelien Jarno - June 9, 2010, 10:54 p.m.
On Fri, Jun 04, 2010 at 12:14:11PM -0700, Richard Henderson wrote:
> The default placement of the application at 0x80000000 is fine,
> and will avoid the default placement for most other guests.
> 
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>  configure |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Thanks, applied.

> diff --git a/configure b/configure
> index 65f87a2..7f5b5b2 100755
> --- a/configure
> +++ b/configure
> @@ -2758,6 +2758,9 @@ if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then
>      # -static is used to avoid g1/g3 usage by the dynamic linker
>      ldflags="$linker_script -static $ldflags"
>      ;;
> +  alpha | s390x)
> +    # The default placement of the application is fine.
> +    ;;
>    *)
>      ldflags="$linker_script $ldflags"
>      ;;
> -- 
> 1.7.0.1
> 
> 
>

Patch

diff --git a/configure b/configure
index 65f87a2..7f5b5b2 100755
--- a/configure
+++ b/configure
@@ -2758,6 +2758,9 @@  if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then
     # -static is used to avoid g1/g3 usage by the dynamic linker
     ldflags="$linker_script -static $ldflags"
     ;;
+  alpha | s390x)
+    # The default placement of the application is fine.
+    ;;
   *)
     ldflags="$linker_script $ldflags"
     ;;