aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-17 * mi-cmd-var.c (varobj_update_one): Update call toKeith Seitz2-1/+6
varobj_update to reflect recent api change.
2001-08-17 * varobj.c (varobj_update): Change first parameter toKeith Seitz3-14/+29
pointer to struct varobj*. This function can delete varobjs, so we need to give callers the new varobj when this happens. (value_of_root): Update "var", too, if "var_handle" changes. * varobj.h (varobj_update): Likewise.
2001-08-17 * Makefile.in (varobj_h): Define.Keith Seitz2-2/+9
(mi-cmd-var.o): Depends on varobj_h. (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
2001-08-17 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.Alan Modra3-9/+15
(ecoff_build_symbols): Likewise. * read.c (s_lcomm_internal): Fix signed/unsigned warning.
2001-08-17 * bfd.c (bfd_get_gp_size): Return an unsigned int.Alan Modra6-9/+19
(bfd_set_gp_size): Make param unsigned. * bfd-in2.h: Regenerate. * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather than calling bfd_get_gp_size. * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
2001-08-17 * ld.texinfo: Document that fill values now use the four leastAlan Modra19-25/+47
significant bytes. * emulparams/elf32fr30.sh (NOP): Update. * emulparams/elf32mcore.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf_i386.sh: Likewise. * emulparams/elf_i386_be.sh: Likewise. * emulparams/elf_i386_chaos.sh: Likewise. * emulparams/elf_i386_ldso.sh: Likewise. * emulparams/elf_s390.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/i386moss.sh: Likewise. * emulparams/i386nw.sh: Likewise. * emulparams/m68kelf.sh: Likewise. * scripttempl/elf.sc: Update NOP comment. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/nw.sc: Likewise.
2001-08-17 * linker.c (default_fill_link_order): Handle four byte fill value.Alan Modra2-11/+26
2001-08-17 * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missingAlan Modra3-1/+8
prototype. * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
2001-08-17 * elf64-mips.c (UNUSED_RELOC): Define.Alan Modra2-7/+14
(mips_elf64_howto_table_rel): Use it. (mips_elf64_howto_table_rela): Here too. (mips_elf64_write_relocs): Fix signed/unsigned warning.
2001-08-17Oops missed from last commitAlan Modra1-9/+9
2001-08-17 * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED toAlan Modra8-20/+61
silence warning. * coffgen.c (coff_print_symbol): Fix warnings. (coff_find_nearest_line): Likewise. * cofflink.c (_bfd_coff_link_input_bfd): Likewise. * coff-alpha.c (alpha_convert_external_reloc): Likewise. * format.c (bfd_check_format_matches): Likewise. (bfd_set_format): Likewise. * coff-ia64.c: Add missing prototypes. * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend signed to silence warnings. (elf64_alpha_relocate_section): Likewise. (elf64_alpha_find_reloc_at_ofs): Fix warnings. (elf64_alpha_add_symbol_hook): Likewise. (elf64_alpha_final_link): Likewise. (elf64_alpha_relax_section): Remove redundant assign to info.gotent. (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args. (elf64_alpha_size_got_sections): Likewise. * elfxx-ia64.c: Add missing prototypes. (elfNN_ia64_relocate_section): Fix warning. (elfNN_ia64_unwind_entry_compare): Make params const.
2001-08-17merge from gccDJ Delorie4-0/+27
2001-08-17 * config.bfd (targ64_selvecs): New.Alan Modra2-3/+13
<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
2001-08-17 * bfd-in.h (BFD_VERSION): Remove wrong comment.Alan Modra5-308/+363
(BFD_DEFAULT_TARGET_SIZE): New. (BFD_ARCH_SIZE): Comment. * configure.in (target_size): New. Set instead of target64 in selvecs case statement. Set target64 from it. (bfd_default_target_size): New. Set from taget_size. AC_SUBST. * bfd-in2.h: Regenerate. * configure: Regenerate.
2001-08-17 * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.Alan Modra5-36/+93
(bfd_errmsgs): Add corresponding message. * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when finding an archive that contains different format object files. Return bfd_error_wrong_object_format for this case. * format.c: Formatting fixes. s/CONST/const/. (bfd_check_format_matches): Accept archives that give bfd_error_wrong_object_format if no full match is found. Tidy code handling matching_vector. Don't return a pointer to freed memory in `matching'. Handle ambiguous matches as for partial archive matches. * bfd-in2.h: Regenerate.
2001-08-17*** empty log message ***gdbadmin1-1/+1
2001-08-16 * configure.in (GDBTK_SRC_DIR): We must have autoconfKeith Seitz4-32/+63
give us the absolute path to the source directory. * configure: Regenerated. * Makefile.in (GDBTK_SRC_DIR): Add variable so that autoconf can substitue it in for us. (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We really do need an absolute pathname.
2001-08-16Set MIPS n32 ABI flag in ELF header if appropriate.Thiemo Seufer2-0/+9
2001-08-16Add support for MIPS R1[02]000 performance counter opcodes.Thiemo Seufer8-5/+50
2001-08-16 * mips-opc.c: R3900s can support all branch likely INSN_MACROs whereJonathan Larmour2-18/+23
the corresponding non-likely insn is in MIPS I.
2001-08-16Remove obsolete special handling of 64bit Relocations.Thiemo Seufer3-35/+6
2001-08-16* obvious fixFrank Ch. Eigler2-2/+7
2001-08-16 Frank Ch. Eigler <fche@redhat.com> * config/sid.exp (sid_start): Don't warn if we cannot figure out what to force sid endianness to.
2001-08-16*** empty log message ***gdbadmin1-1/+1
2001-08-15 * lib/gdb.exp (gdbtk_start): Don't set environmentKeith Seitz2-7/+7
variables for TCL_LIBRARY and friends. Insight will now figure these out for itself.
2001-08-15 * Makefile.in (GDBTK_VERSION): Set a version number.Keith Seitz2-37/+39
(GDBTK_LIBRARY): New variable to point to location where gdbtk will install its tcl library. Changed all refereneces to $(datadir)/insight1.0 to $(GDBTK_LIBRARY). (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed. (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed. (all-gdbtk): Remove. (install-gdbtk): Remove. (gdbtk.o): Pass srcdir to file when compiling. Also from Ian Roxborough: * Makefile.in: Changed all references to the install directory "gdbtcl" to read "insight1.0".
2001-08-15Fix for ldTom Rix3-2/+7
2001-08-15 * arch-utils.c (generic_skip_trampoline_code): New function.Corinna Vinschen7-8/+70
* arch-utils.h (generic_skip_trampoline_code): Declare external. * gdbarch.c: Regeberated from gdbarch.sh. * gdbarch.h: Ditto. * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch. * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
2001-08-15* gdbint.texinfo: Add a cautionary note about macro use.Christopher Faylor2-0/+6
2001-08-15 * libieee.h (common_header_type): Add last_byte field.Alan Modra3-108/+250
* ieee.c: Add missing prototypes. Some format fixes. (struct output_buffer_struct): Move for availability to prototypes. (ieee_part_after): New function. (ieee_slurp_debug): Use it here. (ieee_seek): Pass in ieee_data_struct rather than bfd. Use ieee_part_after to set last_byte to one past end of current part. Update callers. (ieee_pos): Pass in ieee_data_struct rather than bfd. Update callers. (parse_expression): Don't go beyond the end of the current part. (ieee_slurp_external_symbols): Correct type passed to read_2bytes. (ieee_get_symtab_upper_bound, ieee_get_symtab, ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook, ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block, ieee_set_section_contents, ieee_write_object_contents, ieee_make_empty_symbol): Make static. (ieee_archive_p): Correct comments regarding bfd_read. (ieee_object_p): Similarly. (ieee_mkobject): Move it. Clear output_ptr_start, output_ptr, output_ptr_end, input_ptr_start, input_ptr, input_ptr_end, input_bfd, output_bfd, output_buffer. (do_as_repeat): Write out ieee_set_current_pc_enum value as for do_with_relocs, ie. as a symbol for relocatable files. (ieee_vec): Add comments showing functions referenced by macros.
2001-08-152001-08-14 Daniel Jacobowitz <drow@mvista.com>H.J. Lu3-13/+16
H.J. Lu (hjl@gnu.org) * partial-stab.h: valu should be a CORE_ADDR. 2001-08-14 H.J. Lu (hjl@gnu.org) * dbxread.c (SWAP_SYMBOL): Removed. (INTERNALIZE_SYMBOL): Check sign extended vma.
2001-08-15*** empty log message ***gdbadmin1-1/+1
2001-08-14* top.c (SIGSETJMP): Protect env argument with parentheses.Christopher Faylor2-3/+8
(SIGLONGJMP): Protect env argument with parentheses.
2001-08-142001-08-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as a label, not a hex constant. This patch was approved by Nick Clifton.
2001-08-14sync with gcc - whitespace differences, one missing entry, and oneDJ Delorie1-56/+60
rearrangement.
2001-08-14Add missing protypesNick Clifton7-502/+505
2001-08-14 * emultempl/elf32.em: Formatting fixes.Alan Modra2-57/+63
(output_prev_sec_find): Test for bfd_ind_section too; do so by looking at sec->owner. (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove unused code, and reorganize orphan section placement code.
2001-08-14(wild_doit): Rename to lang_add_section.Alan Modra8-30/+41
2001-08-14* floatformat.c (floatformat_ieee_double_littlebyte_bigword): FixAndrew Cagney2-1/+6
name.
2001-08-14*** empty log message ***gdbadmin1-1/+1
2001-08-13 * emultempl/needrelax.em: New file.Richard Henderson5-2/+52
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. * Makefile.am (eelf64_ia64.c): Depend on it. * Makefile.in: Rebuild.
2001-08-13 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure thatAlan Modra2-4/+11
output_section is set non-NULL.
2001-08-13Add missing prototypesNick Clifton2-5/+14
2001-08-13 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): ReturnAlan Modra2-5/+13
`true' for SEC_EXCLUDE sections so that the generic code doesn't needlessly create an output_section_statement. Treat a correctly named output_section_statement with NULL bfd_section as compatible.
2001-08-13Fix bug in previous deltaNick Clifton1-2/+4
2001-08-13oops - omitted from previous delta!Nick Clifton1-0/+7
2001-08-13Add missing prototypes. Fix formatting.Nick Clifton2-88/+100
2001-08-13 * mcore-dis.c: Fix formatting.Kazu Hirata5-117/+119
* mips-dis.c: Likewise. * pj-dis.c: Likewise. * z8k-dis.c: Likewise.
2001-08-13 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLTAndreas Jaeger2-55/+62
relocations.
2001-08-13Update copyright noticeHans-Peter Nilsson1-1/+1
2001-08-13 * emultempl/generic.em: Support EXTRA_EM_FILE.Hans-Peter Nilsson2-21/+52
(ld_${EMULATION_NAME}_emulation): Support emulation parameters LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, LDEMUL_FIND_POTENTIAL_LIBRARIES.