diff options
author | David Carlton <carlton@bactrian.org> | 2002-10-25 23:50:01 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2002-10-25 23:50:01 +0000 |
commit | 43cbe67fd8e6426975833937615c19910376cf3f (patch) | |
tree | efa9f55148ce89881899ca4d5e51dc6eda3ade28 /bfd/linker.c | |
parent | 449bdf205b34287c861493260e1ba3d94d1162f1 (diff) | |
download | gdb-43cbe67fd8e6426975833937615c19910376cf3f.tar.gz |
2002-10-25 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Call lookup_symbol_aux_block.
(lookup_symbol_aux): Ditto.
* Merge from mainline; tag is carlton_dictionary-20021025-merge.
2002-10-25 David Carlton <carlton@math.stanford.edu>
* cp-support.c: Add comment to demangled name pitfalls.
* symtab.c (lookup_transparent_type): Add FIXME comment at
beginning.
2002-10-23 David Carlton <carlton@math.stanford.edu>
* symtab.c: Delete cplusplus_hint.
Delete prototype for find_template_name_end.
* dwarf2read.c (scan_partial_symbols): Add in a gdb_assert from a
later version of my namespace_minimal patch.
2002-10-25 David Carlton <carlton@math.stanford.edu>
* gdb.c++/namespace.exp: Change all of the setup_xfail tests that
I added into setup_kfails.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r-- | bfd/linker.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/linker.c b/bfd/linker.c index e44ac6c6c9d..a5ded1f5883 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -449,7 +449,8 @@ _bfd_link_hash_newfunc (entry, table, string) subclass. */ if (entry == NULL) { - entry = bfd_hash_allocate (table, sizeof (struct bfd_link_hash_entry)); + entry = (struct bfd_hash_entry *) + bfd_hash_allocate (table, sizeof (struct bfd_link_hash_entry)); if (entry == NULL) return entry; } @@ -645,8 +646,8 @@ _bfd_generic_link_hash_newfunc (entry, table, string) subclass. */ if (entry == NULL) { - entry = bfd_hash_allocate (table, - sizeof (struct generic_link_hash_entry)); + entry = (struct bfd_hash_entry *) + bfd_hash_allocate (table, sizeof (struct generic_link_hash_entry)); if (entry == NULL) return entry; } @@ -2019,7 +2020,7 @@ _bfd_generic_final_link (abfd, info) for (o = abfd->sections; o != NULL; o = o->next) for (p = o->link_order_head; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) - p->u.indirect.section->linker_mark = true; + p->u.indirect.section->linker_mark = (unsigned int) true; /* Build the output symbol table. */ for (sub = info->input_bfds; sub != (bfd *) NULL; sub = sub->link_next) |