ld: Add PR ld/25593 tests
[deliverable/binutils-gdb.git] / ld / ldlang.c
index 91c160b560455a173c6c73e32ff7cc7effe85570..be9ac36ede430456456d14e97afcb0356cfb515c 100644 (file)
@@ -489,7 +489,7 @@ compare_section (sort_type sort, asection *asec, asection *bsec)
       /* Fall through.  */
 
     case by_name:
-sort_by_name:
+    sort_by_name:
       ret = strcmp (bfd_section_name (asec), bfd_section_name (bsec));
       break;
 
@@ -7837,6 +7837,8 @@ lang_process (void)
      output statement, so that it isn't reordered.  */
   process_insert_statements (&lang_os_list.head->header.next);
 
+  ldemul_before_place_orphans ();
+
   /* Find any sections not attached explicitly and handle them.  */
   lang_place_orphans ();
 
This page took 0.024553 seconds and 4 git commands to generate.