Age | Commit message (Collapse) | Author | Files | Lines |
|
* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.
|
|
* aoutx.h (slurp_symbol_table): Return if count == 0.
|
|
* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.
|
|
* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.
|
|
* server.c (main): Check for inferior exit before main loop.
|
|
|
|
prompt.
|
|
(powerpc_opcodes): Use it in dcba.
|
|
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
|
|
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
|
|
* linker.c (bfd_section_already_linked_table_insert): Change
return type from void to boolean. Return FALSE on failure.
(_bfd_generic_section_already_linked): Test return value of
bfd_section_already_linked_table_insert, call fatal on error.
* elflink.c (_bfd_elf_section_already_linked): Test return value
of bfd_section_already_linked_table_insert, call fatal on error.
* libbfd-in.h (bfd_section_already_linked_table_insert): Update
return type to bfd_boolean.
* libbfd.h: Regenerate.
|
|
bfd_slurp_armap): Improve function comment.
|
|
tables.
|
|
|
|
|
|
|
|
* linker.c (already_linked_newfunc): Check for NULL return from
bfd_hash_allocate.
|
|
* coffgen.c (fixup_symbol_value): Guard against null;
bfd_is_com_section will dereference the section pointer.
|
|
* syms.c (bfd_decode_symclass): Guard against NULL, since
bfd_is_com_section dereferences the pointer.
|
|
* srec.c (srec_scan): Check for EOF (critical because return value
will be used as array index).
|
|
* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
are not to be cached, free the temporary buffer.
|
|
* aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero
or count == zero.
|
|
* tekhex.c (first_phase): Check return value for null.
|
|
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.
|
|
check on dynobj. Remove bed shadow.
|
|
count zero. Check that offset and count are within section.
* libbfd.c (_bfd_generic_get_section_contents): Check that
offset + count does not overflow.
|
|
is zero. Correct return value on error.
* mmo.c (mmo_canonicalize_symtab): Likewise.
* binary.c (binary_canonicalize_symtab) Correct return on error.
|
|
|
|
|
|
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
gdb/doc/:
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
|
|
bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound
says there are no relocs.
|
|
* dwarf2.c (struct dwarf2_debug): Add new fields to support function and variable info hash tables. Add last_comp_unit, info_hash_count, funcinfo_hash_table, varinfo_hash_table, hash_units_head.
(struct comp_unit): Add prev_unit, cached.
(struct info_list_node, struct info_hash_entry, struct info_hash_table): New.
(info_hash_table_newfunc, create_info_hash_table, insert_info_hash_table, lookup_info_hash_table): New functions implementing function and variable info hash tables.
(scan_unit_for_symbols): Add checks to make sure hash tables are consistent with compilation units.
(comp_unit_maybe_decode_line_info): New function.
(comp_unit_find_line): Use comp_unit_maybe_decode_line_info.
(reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info, info_hash_lookup_funcinfo, info_hash_lookup_varinfo, stash_maybe_update_info_hash_table, stash_verify_info_hash_table, stash_maybe_enable_info_hash_tables, stash_find_line_fast): New functions. Make use of info hash tables to speed up bfd_dwarf2_find_line.
(find_line): Use hash table for faster lookup if it is turned on.
Also add code to maintain bi-directional link in comp units.
|
|
* coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done
if size == 0; return and avoid possible null pointer issues.
|
|
|
|
|
|
|
|
(xg_expand_assembly_insn): Check for invalid extui operands.
(md_begin): Initialize xtensa_extui_opcode.
|
|
|
|
* ld.texinfo (Options): Extend the description of the -O command line option.
|
|
* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.
|
|
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.
|
|
|
|
* solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
'buffer' must cover both branches that call strcmp (Coverity).
|
|
* stack.c (print_frame_args): Check return value of lookup_symbol.
|
|
|
|
|
|
|
|
* ax-gdb.c (find_field): Guard against null ptr.
|
|
* i386-gen.c (main): Print a newline after copyright notice.
|
|
* opncls.c (bfd_make_writable): Check return from bfd_malloc.
|