aboutsummaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r--ld/ldemul.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index 3436c61..b297036 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -228,6 +228,9 @@ set_output_arch_default (void)
/* Set the output architecture and machine if possible. */
bfd_set_arch_mach (link_info.output_bfd,
ldfile_output_architecture, ldfile_output_machine);
+
+ bfd_emul_set_maxpagesize (output_target, config.maxpagesize);
+ bfd_emul_set_commonpagesize (output_target, config.commonpagesize);
}
void