Add completion for Ada catch commands
[deliverable/binutils-gdb.git] / ld / ldemul.c
index 6e5b0dee5da72cd347495e1a8d783492ec3d0785..16ddb6dcf5430837890a790ebe49ba698630d590 100644 (file)
@@ -1,5 +1,5 @@
 /* ldemul.c -- clearing house for ld emulation states
-   Copyright (C) 1991-2018 Free Software Foundation, Inc.
+   Copyright (C) 1991-2019 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -225,6 +225,11 @@ after_parse_default (void)
       if (!is_vma)
        ldlang_add_undef (entry_symbol.name, entry_from_cmdline);
     }
+  if (config.maxpagesize == 0)
+    config.maxpagesize = bfd_emul_get_maxpagesize (default_target);
+  if (config.commonpagesize == 0)
+    config.commonpagesize = bfd_emul_get_commonpagesize (default_target,
+                                                        link_info.relro);
 }
 
 void
This page took 0.027113 seconds and 4 git commands to generate.