diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 21:10:50 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 21:10:50 +0000 |
commit | c15f73f9319e84a648c552dffae308877e657e6b (patch) | |
tree | a2066913bcd396c8936623d171b2194251a9c804 /bfd/oasys.c | |
parent | f4b3909f865c9e06c965a1e128a8d5a4a7bfc967 (diff) | |
download | gdb-c15f73f9319e84a648c552dffae308877e657e6b.zip gdb-c15f73f9319e84a648c552dffae308877e657e6b.tar.gz gdb-c15f73f9319e84a648c552dffae308877e657e6b.tar.bz2 |
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms. Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.
Diffstat (limited to 'bfd/oasys.c')
0 files changed, 0 insertions, 0 deletions