gold-no-keep-files-mapped
authorMatthias Klose <doko@debian.org>
Sat, 14 Jan 2023 17:24:22 +0000 (17:24 +0000)
committerMatthias Klose <doko@debian.org>
Sat, 14 Jan 2023 17:24:22 +0000 (17:24 +0000)
# DP: gold on 32bit archs: Release mapped files after each pass.

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

gold/options.h

index 46a0d5bc91e9d07348bcfdf5dceab2e9e59f6024..03ef4b0fd69c61e25928f840ad76c723b3ff400e 100644 (file)
@@ -1012,7 +1012,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"));