diff options
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r-- | ld/emultempl/beos.em | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 7a014ce..e07677b 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -647,8 +647,7 @@ gld_${EMULATION_NAME}_before_allocation (void) sort_sections (stat_ptr->head); - if (!link_info.relocatable) - strip_excluded_output_sections (); + before_allocation_default (); } /* Place an orphan section. We use this to put sections with a '\$' in them @@ -771,7 +770,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = gld_${EMULATION_NAME}_get_script, "${EMULATION_NAME}", "${OUTPUT_FORMAT}", - NULL, /* finish */ + finish_default, NULL, /* create output section statements */ NULL, /* open dynamic archive */ gld${EMULATION_NAME}_place_orphan, |