Michael Snyder
d63388ff70
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* cofflink.c (coff_link_add_symbols): Return if count is zero.
2007-07-27 22:04:23 +00:00
Michael Snyder
50a39e971e
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.
2007-07-27 21:23:01 +00:00
Michael Snyder
87b3278031
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* aoutx.h (slurp_symbol_table): Return if count == 0.
2007-07-27 19:04:39 +00:00
Michael Snyder
9d7038d330
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.
2007-07-27 18:54:04 +00:00
Michael Snyder
c6aa130f78
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.
2007-07-27 18:50:18 +00:00
Michael Snyder
c588c53caf
2007-07-27 Michael Snyder <michael.snyder@access-company.com>
...
* server.c (main): Check for inferior exit before main loop.
2007-07-27 18:44:40 +00:00
Daniel Jacobowitz
aba471f522
* gdb.threads/staticthreads.exp: Match .*sem_post.
2007-07-27 15:45:06 +00:00
Daniel Jacobowitz
d4e0720445
* gdb.base/readline.exp (operate_and_get_next): Match the final
...
prompt.
2007-07-27 15:15:02 +00:00
Nathan Sidwell
33e8d5ac61
* ppc-opc (PPC7450): New.
...
(powerpc_opcodes): Use it in dcba.
2007-07-27 14:24:27 +00:00
H.J. Lu
170bfeb9d3
2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
...
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
2007-07-27 13:26:44 +00:00
Michael Snyder
507f589808
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
2007-07-27 01:15:27 +00:00
Michael Snyder
a6626e8c30
2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
...
* 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.
2007-07-27 01:04:29 +00:00
Adam Nemet
36e44abdc2
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
...
bfd_slurp_armap): Improve function comment.
2007-07-27 00:49:06 +00:00
Adam Nemet
317e5c401a
* readelf.c (process_archive): Also skip Irix6-style archive symbol
...
tables.
2007-07-27 00:48:30 +00:00
Alan Modra
4ccbd2de24
daily update
2007-07-27 00:00:06 +00:00
gdbadmin
2ab0659b4f
*** empty log message ***
2007-07-27 00:00:02 +00:00
Michael Snyder
5ba8816a2d
Fix bollixed check-in
2007-07-26 21:58:44 +00:00
Michael Snyder
2d4f3e92ff
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* linker.c (already_linked_newfunc): Check for NULL return from
bfd_hash_allocate.
2007-07-26 21:53:35 +00:00
Michael Snyder
ac38308c95
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (fixup_symbol_value): Guard against null;
bfd_is_com_section will dereference the section pointer.
2007-07-26 19:06:12 +00:00
Michael Snyder
c82a7c57df
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* syms.c (bfd_decode_symclass): Guard against NULL, since
bfd_is_com_section dereferences the pointer.
2007-07-26 18:53:51 +00:00
Michael Snyder
3d7b34d85b
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* srec.c (srec_scan): Check for EOF (critical because return value
will be used as array index).
2007-07-26 18:45:13 +00:00
Michael Snyder
44c62d9e24
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
are not to be cached, free the temporary buffer.
2007-07-26 18:43:24 +00:00
Michael Snyder
078c4bfc87
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero
or count == zero.
2007-07-26 18:30:28 +00:00
Michael Snyder
814b5378b4
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* tekhex.c (first_phase): Check return value for null.
2007-07-26 18:18:07 +00:00
Michael Snyder
b7fd5ce17d
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.
2007-07-26 18:15:46 +00:00
Alan Modra
33774f084b
* elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
...
check on dynobj. Remove bed shadow.
2007-07-26 13:45:59 +00:00
Alan Modra
e62071b60e
* srec.c (srec_get_section_contents): Return immediately on
...
count zero. Check that offset and count are within section.
* libbfd.c (_bfd_generic_get_section_contents): Check that
offset + count does not overflow.
2007-07-26 12:34:43 +00:00
Alan Modra
b9da616afe
* srec.c (srec_canonicalize_symtab): Don't alloc when symcount
...
is zero. Correct return value on error.
* mmo.c (mmo_canonicalize_symtab): Likewise.
* binary.c (binary_canonicalize_symtab) Correct return on error.
2007-07-26 11:13:59 +00:00
Thiemo Seufer
c2c966314b
* bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.
2007-07-26 11:05:23 +00:00
Maciej W. Rozycki
9ceb0b4c1d
* MAINTAINERS (Write After Approval): Add myself.
2007-07-26 10:37:41 +00:00
Maciej W. Rozycki
c80a96a874
gdb/:
...
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
gdb/doc/:
* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
for include files.
2007-07-26 10:34:00 +00:00
Alan Modra
d494715016
* reloc.c (bfd_generic_get_relocated_section_contents): Avoid
...
bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound
says there are no relocs.
2007-07-26 09:37:13 +00:00
Nick Clifton
bd210d54db
Speed up bfd_dwarf2_find_line.
...
* 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.
2007-07-26 08:31:03 +00:00
Michael Snyder
353c55748a
2007-07-25 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done
if size == 0; return and avoid possible null pointer issues.
2007-07-26 02:01:49 +00:00
Alan Modra
d429448cf8
daily update
2007-07-26 00:00:07 +00:00
gdbadmin
861da52811
*** empty log message ***
2007-07-26 00:00:04 +00:00
Daniel Jacobowitz
f91c3144f9
* ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.
2007-07-25 21:30:59 +00:00
Bob Wilson
d12f9798ef
* config/tc-xtensa.c (xtensa_extui_opcode): New.
...
(xg_expand_assembly_insn): Check for invalid extui operands.
(md_begin): Initialize xtensa_extui_opcode.
2007-07-25 17:33:27 +00:00
Maciej W. Rozycki
5b31182830
* Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".
2007-07-25 15:25:14 +00:00
Nick Clifton
98c503ac20
PR 4824
...
* ld.texinfo (Options): Extend the description of the -O command line option.
2007-07-25 14:56:22 +00:00
Paul Brook
d08ec38351
2007-06-29 Paul Brook <paul@codesourcery.com>
...
* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.
2007-07-25 14:39:48 +00:00
Ben Elliston
642c7534bd
* Makefile.in (CFILES): Remove ternary.c.
...
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.
2007-07-25 06:36:27 +00:00
Ben Elliston
cd12e26dbd
* ternary.h: Remove.
2007-07-25 06:34:29 +00:00
Michael Snyder
f52df7d9b7
2007-07-23 Michael Snyder <msnyder@access-company.com>
...
* solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
'buffer' must cover both branches that call strcmp (Coverity).
2007-07-25 02:12:33 +00:00
Michael Snyder
55765a25f6
2007-07-05 Michael Snyder <msnyder@access-company.com>
...
* stack.c (print_frame_args): Check return value of lookup_symbol.
2007-07-25 00:28:25 +00:00
gdbadmin
4cff3c28a3
*** empty log message ***
2007-07-25 00:00:33 +00:00
Alan Modra
7124a847c2
daily update
2007-07-25 00:00:17 +00:00
Alan Modra
f08c429c32
warning fix
2007-07-24 23:38:13 +00:00
Michael Snyder
747f3d1889
2007-07-24 Michael Snyder <msnyder@access-company.com>
...
* ax-gdb.c (find_field): Guard against null ptr.
2007-07-24 22:49:44 +00:00
H.J. Lu
6baf377280
2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-gen.c (main): Print a newline after copyright notice.
2007-07-24 20:17:18 +00:00