aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-08-12 12:40:55 +0000
committerTristan Gingold <gingold@adacore.com>2009-08-12 12:40:55 +0000
commit02688209cdbc4085a3a9d9c9719cd3d354eb61ca (patch)
tree435af0f75dc396e1b8ebea11e9f8de2cf3d15c48 /ld/ld.h
parent85143216ca14d79b3e384a1bcb871890a8ac7659 (diff)
downloadgdb-02688209cdbc4085a3a9d9c9719cd3d354eb61ca.zip
gdb-02688209cdbc4085a3a9d9c9719cd3d354eb61ca.tar.gz
gdb-02688209cdbc4085a3a9d9c9719cd3d354eb61ca.tar.bz2
2009-08-12 Tristan Gingold <gingold@adacore.com>
* 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.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 018c080..32a140a 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)