0001-OS-2-Try-to-commit-memory-above-1GB.patch

Message ID 5882FD8C.8060608@gmail.com
State Committed
Headers show

Commit Message

Dave Yeo Jan. 21, 2017, 6:19 a.m.
Subject: [PATCH] OS/2: Try to commit memory above 1GB

Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com>
---
  configure | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

--
2.11.0

Comments

Luca Barbato Jan. 21, 2017, 7:03 a.m. | #1
On 21/01/2017 07:19, Dave Yeo wrote:
> Subject: [PATCH] OS/2: Try to commit memory above 1GB
> 
> Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 9cd4fe6b..53dd809b 100755
> --- a/configure
> +++ b/configure
> @@ -3964,7 +3964,7 @@ case $target_os in
>          ln_s="cp -f"
>          objformat="aout"
>          add_cppflags -D_GNU_SOURCE
> -        add_ldflags -Zomf -Zbin-files -Zargs-wild -Zmap
> +        add_ldflags -Zomf -Zbin-files -Zargs-wild -Zhigh-mem -Zmap
>          SHFLAGS='$(SUBDIR)$(NAME).def -Zdll -Zomf'
>          LIBSUF="_s.a"
>          SLIBPREF=""
> -- 

Sure, why not?

Patch

diff --git a/configure b/configure
index 9cd4fe6b..53dd809b 100755
--- a/configure
+++ b/configure
@@ -3964,7 +3964,7 @@  case $target_os in
          ln_s="cp -f"
          objformat="aout"
          add_cppflags -D_GNU_SOURCE
-        add_ldflags -Zomf -Zbin-files -Zargs-wild -Zmap
+        add_ldflags -Zomf -Zbin-files -Zargs-wild -Zhigh-mem -Zmap
          SHFLAGS='$(SUBDIR)$(NAME).def -Zdll -Zomf'
          LIBSUF="_s.a"
          SLIBPREF=""