diff options
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r-- | ld/ldemul.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c index fbe3e1d..5b4796a 100644 --- a/ld/ldemul.c +++ b/ld/ldemul.c @@ -94,8 +94,7 @@ ldemul_set_output_arch (void) void ldemul_finish (void) { - if (ld_emulation->finish) - ld_emulation->finish (); + ld_emulation->finish (); } void @@ -228,6 +227,13 @@ do_assignments_default (void) } void +finish_default (void) +{ + if (!link_info.relocatable) + _bfd_fix_excluded_sec_syms (output_bfd, &link_info); +} + +void set_output_arch_default (void) { /* Set the output architecture and machine if possible. */ |