OSDN Git Service

* ldlang.c (lang_section_bst): New structure for sorting sections by name.
authornickc <nickc>
Sun, 23 Jul 2006 15:32:08 +0000 (15:32 +0000)
committernickc <nickc>
Sun, 23 Jul 2006 15:32:08 +0000 (15:32 +0000)
commit7c4f9434258dc7ee6a134f72d2bc3f248795cd21
tree27e287256d9eef5b3288df730831310c20b60653
parentc6ffefdb06c01d707df86494c2ec4d88da9de67b
* ldlang.c (lang_section_bst): New structure for sorting sections by name.
  (wild_sort_fast): New function: Insert a section into a binary search tree.
  (output_section_callback_fast): New function: Store a section in BST.
  (output_section_callback_tree_to_list): New function: Convert a BST into a list.
  (analyze_walk_wild_section_handler): Initialize handler_data elements.
  (wild): If the data is sorted by name use the BST method to sort the names.
ld/ChangeLog
ld/ldlang.c