summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.am: Add elfxx-mips.c to the known backends.Thiemo Seufer2002-04-0410-13503/+525
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elf32-mips.lo): remove dependency to coff/external.h. * Makefile.in: Regenerate. * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo Remove elf32-mips.lo from 64 bit vectors. Update dependencies accordingly. * configure: Regenerate. * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New MIPS specific backend functions. * elf32-mips.c: Moved most code to elfxx-mips.c. (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make static. (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed interface to allow selection of the right REL or RELA howto table. (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made static. Let it refuse n32 objects. (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. (elf32_mips_ignore_discarded_relocs): Rename from _bfd_elf32_mips_ignore_discarded_relocs. (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. (elf_mips_howto_table_rela): Remove. * elf64-mips.c: Moved most code to elfxx-mips.c. (bfd_elf64_bfd_reloc_type_lookup): Make static. (mips_elf64_rtype_to_howto): New function. (mips_elf64_object_p): Likewise. (elf64_mips_irix_compat): Likewise. * elfxx-mips.c: New file containing common code merged together from elf32-mips.c and elf64-mips.c. * elfxx-mips.h: New file containing MIPS specific prototypes from elf-bfd.h. * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and elf_backend_mips_rtype_to_howto.
* * srec.c (MAXCHUNK, Chunk): Revise comments.Alan Modra2002-04-042-28/+51
| | | | | | | | | (srec_write_record): Correct buffer size. (srec_write_header): Do without intermediate buffer. (srec_write_section): Validate Chunk. (srec_write_terminator): Pass NULL instead of dummy buffer. (srec_write_symbols): Pass file and symbol names directly to bfd_bwrite so sprintf won't overflow buffer.
* * configure.in: Call AC_C_INLINE.Jim Blandy2002-04-043-250/+296
| | | | * configure: Regenerated.
* daily updateAlan Modra2002-04-041-1/+1
|
* *** empty log message ***gdbadmin2002-04-041-1/+1
|
* * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamicJakub Jelinek2002-04-033-1/+30
| | | | | PC relative relocs against hidden symbols. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* 2002-04-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-032-18/+9
| | | | | * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect. (gdb_expect): Remove $notransfer hack.
* * elf.c (_bfd_elf_make_section_from_shdr): When setting sectionAlan Modra2002-04-032-4/+19
| | | | | LMAs, loop over segments until p_vaddr and p_memsz specify an extent enclosing the section.
* 2002-04-02 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-032-1/+6
| | | | | * gdb.c++/classes.exp ("calling method for small class"): Match updated register output.
* *** empty log message ***gdbadmin2002-04-031-1/+1
|
* daily updateAlan Modra2002-04-031-1/+1
|
* Do not allow records to cross a 64K boundary - wrap if necessary.Nick Clifton2002-04-022-0/+10
|
* daily updateAlan Modra2002-04-021-1/+1
|
* *** empty log message ***gdbadmin2002-04-021-1/+1
|
* * generic/gdbtk-cmds.c (gdb_load_disassembly): Use string_to_core_addrKeith Seitz2002-04-012-3/+9
| | | | | instead of parse_and_eval_address. Use xfree instead of free.
* merge from gccDJ Delorie2002-04-015-7/+20
|
* 2002-04-01 Nathan Williams <nathanw@wasabisystems.com>Jason Thorpe2002-04-012-1/+6
| | | | | * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro which caused the returned LWP ID to always be 0.
* * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.Richard Henderson2002-04-013-173/+105
| | | | | | (elf32_sparc_relocate_section): Use it to figure out when to initialize .got entries. * elf64-sparc.c: Similarly.
* 2002-04-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-012-2/+7
| | | | | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
* *** empty log message ***gdbadmin2002-04-011-1/+1
|
* daily updateAlan Modra2002-04-011-1/+1
|
* * NEWS: Mention gcore support on FreeBSD/i386.Mark Kettenis2002-03-312-0/+6
|
* * fbsd-proc.c: New file.Mark Kettenis2002-03-314-1/+181
| | | | | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
* * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO inMark Kettenis2002-03-312-1/+6
| | | | while statement.
* daily updateAlan Modra2002-03-311-1/+1
|
* *** empty log message ***gdbadmin2002-03-311-1/+1
|
* 2002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-03-302-15/+20
| | | | | | | Fix PR gdb/452 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd when finished. Make gdb_file_cmd send "exec-file" when appropriate.
* 2002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-03-302-7/+4
| | | | * gdb.base/attach.exp: Remove extra setup_xfail.
* merge from gccDJ Delorie2002-03-302-1/+10
|
* *** empty log message ***gdbadmin2002-03-301-1/+1
|
* * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerateJim Blandy2002-03-292-1/+7
| | | | | unescaped newlines in string literals, but newer ones don't. So escape them.
* daily updateAlan Modra2002-03-291-1/+1
|
* 2002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-292-0/+6
| | | | | | | | | | Andrew Cagney <cagney@redhat.com> * cli/cli-dump.c: New file. Dump memory to file, restore file to memory. * cli/cli-dump.h: New file. * Makefile.in: Add rules, dependencies for cli-dump.o. * NEWS: Mention new commands.
* 2002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-294-4/+882
| | | | | | | | | Andrew Cagney <cagney@redhat.com> * cli/cli-dump.c: New file. Dump memory to file, restore file to memory. * cli/cli-dump.h: New file. * Makefile.in: Add rules, dependencies for cli-dump.o.
* 2002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-292-1/+82
| | | | * gdb.texinfo: Document new commands dump, append, and restore.
* 2002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-295-8/+554
| | | | | | | * gdb.base/default.exp: Add tests for dump, append, and restore. * gdb.base/help.exp: Add tests for dump, append, and restore. * gdb.base/dump.exp: New file, test dump, append and restore. * gdb.base/dump.c: New file.
* 2002-03-28 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-292-3/+7
| | | | * symfile.c (symbol_file_add): Move test for null symbols to later.
* *** empty log message ***gdbadmin2002-03-291-1/+1
|
* daily updateAlan Modra2002-03-281-1/+1
|
* merge from gccDJ Delorie2002-03-283-6/+110
|
* From veksler at il.ibm.com:Andrew Cagney2002-03-282-1/+12
| | | | | | * utils.c (gdb_realpath): If canonicalize_file_name fails, return the xstrduped original path. Fix PR gdb/417.
* * linker.c (link_action): Ignore duplicate warning syms.Alan Modra2002-03-2834-116/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (_bfd_generic_link_write_global_symbol): Follow warning symbol link. * elflink.h (elf_adjust_dynstr_offsets): Likewise. (elf_adjust_dynamic_symbol): Likewise. (elf_export_symbol): Likewise. (elf_link_find_version_dependencies): Likewise. (elf_link_assign_sym_version): Likewise. (elf_link_sec_merge_syms): Likewise. (elf_link_output_extsym): Likewise. (elf_gc_sweep_symbol): Likewise. (elf_gc_propagate_vtable_entries_used): Likewise. (elf_gc_smash_unused_vtentry_relocs): Likewise. (elf_gc_allocate_got_offsets): Likewise. (elf_collect_hash_codes): Likewise. * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. (elf_hppa_remark_useless_dynamic_symbols): Likewise. * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. * elf32-arm.h (elf32_arm_discard_copies): Likewise. * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. (elf_cris_discard_excess_dso_dynamics): Likewise. * elf32-hppa.c (clobber_millicode_symbols): Likewise. (mark_PIC_calls): Likewise. (allocate_plt_static): Likewise. (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elf32-i386.c (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. * elf32-m68k.c (elf_m68k_discard_copies): Likewise. * elf32-mips.c (mips_elf_output_extsym): Likewise. (mips_elf_sort_hash_table_f): Likewise. (mips_elf_check_mips16_stubs): Likewise. * elf32-s390.c (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elf32-sh.c (sh_elf_discard_copies): Likewise. * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. (xstormy16_relax_plt_realloc): Likewise. * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. (elf64_alpha_output_extsym): Likewise. * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. (mips_elf64_check_mips16_stubs): Likewise. (mips_elf64_output_extsym): Likewise. * elf64-ppc.c (func_desc_adjust): Likewise. (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elf64-s390.c (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. * elf64-x86-64.c (allocate_dynrelocs): Likewise. (readonly_dynrelocs): Likewise. * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. * aoutx.h (aout_link_write_other_symbol): Likewise. * cofflink.c (_bfd_coff_write_task_globals): Likewise. (_bfd_coff_write_global_sym): Likewise. * i386linux.c (linux_tally_symbols): Likewise. * m68klinux.c (linux_tally_symbols): Likewise. * sparclinux.c (linux_tally_symbols): Likewise. * pdp11.c (aout_link_write_other_symbol): Likewise. * sunos.c (sunos_scan_dynamic_symbol): Likewise. * xcofflink.c (xcoff_build_ldsyms): Likewise. (xcoff_write_global_symbol): Likewise. * cofflink.c (_bfd_coff_final_link): Formatting. * cpu-mips.c (mips_compatible): Make static, prototype. * elf32-i386.c (elf_i386_check_relocs): Formatting. * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. (mips_elf64_final_link): Likewise. * elflink.h (elf_link_find_version_dependencies): Remove duplicate prototype.
* 2002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-282-11/+16
| | | | | * gdb.base/help.exp: Modify expect strings to reflect clean-ups in help messages.
* 2002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-287-8/+17
| | | | | | | | | * breakpoint.c (_initialize_breakpoint): Clean up help string. * infcmd.c (_initialize_infcmd): Ditto. * language.c (_initialize_language): Ditto. * symfile.c (_initialize_symfile): Ditto. * top.c (_init_main): Ditto. * cli/cli-cmds.c (init_cli_cmds): Ditto.
* 2002-03-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-03-282-20/+128
| | | | | | | | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec vector registers handling. (skip_prologue): Handle new AltiVec instructions. Fill in new fields of frame data. (frame_get_saved_regs): Fill in information for AltiVec registers.
* *** empty log message ***gdbadmin2002-03-281-1/+1
|
* * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body intoJim Blandy2002-03-273-67/+89
| | | | | | a function; leave this macro here to invoke that function. (symbol_init_mangled_name): Declaration for that function. * symtab.c (symbol_init_mangled_name): New function.
* daily updateAlan Modra2002-03-271-1/+1
|
* s/strerror/safe_strerror/Andrew Cagney2002-03-277-35/+44
|
* * event-top.c (command_line_handler): Remove useless if.Andreas Schwab2002-03-272-14/+15
|