Package: binutils / 2.33.1-2

gold-no-keep-files-mapped.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# DP: gold on 32bit archs: Release mapped files after each pass.

Index: b/gold/options.h
===================================================================
--- a/gold/options.h
+++ b/gold/options.h
@@ -999,7 +999,8 @@ class General_options
 
   // k
 
-  DEFINE_bool(keep_files_mapped, options::TWO_DASHES, '\0', true,
+  DEFINE_bool(keep_files_mapped, options::TWO_DASHES, '\0',
+	      sizeof(void*) >= 8,
 	      N_("Keep files mapped across passes"),
 	      N_("Release mapped files after each pass"));