From 02688209cdbc4085a3a9d9c9719cd3d354eb61ca Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 12 Aug 2009 12:40:55 +0000 Subject: 2009-08-12 Tristan Gingold * ld.h (fat_user_section_struct): Add map_symbol_def_count field. * ldlang.c (hash_entry_addr_cmp): New function. (print_all_symbols): Sort the symbols by address before printing them. --- ld/ld.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/ld.h') diff --git a/ld/ld.h b/ld/ld.h index 018c08092ab..32a140a34a2 100644 --- a/ld/ld.h +++ b/ld/ld.h @@ -114,6 +114,7 @@ typedef struct fat_user_section_struct { list of hash table entries for symbols defined in this section. */ struct map_symbol_def *map_symbol_def_head; struct map_symbol_def **map_symbol_def_tail; + unsigned long map_symbol_def_count; } fat_section_userdata_type; #define get_userdata(x) ((x)->userdata) -- cgit v1.2.1