aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-04* target.c (debug_print_register): New function. Handle oversizeAndrew Cagney2-16/+39
registers. (debug_to_fetch_registers): Call. (debug_to_store_registers): Call.
2002-05-04 * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate codeAlan Modra3-17/+36
reloading local sym addend mistakenly removed in 2002-05-01 change. * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. (read_abbrevs): Change "offset" param to bfd_vma. (parse_comp_unit): Change "version" and addr_size to unsigned ints. Change "abbrev_offset" to bfd_vma. (read_indirect_string): Use correct conversion chars in error message format string, cast bfd_vma's to unsigned long. (read_abbrevs): Likewise. (read_attribute_value): Likewise. (decode_line_info): Likewise. (scan_unit_for_functions): Likewise. (parse_comp_unit): Likewise.
2002-05-04Fix problem with objdump and 16 bit R_BA.Tom Rix4-85/+202
2002-05-04 * emultempl/hppaelf.em (build_section_lists): New function.Alan Modra2-10/+46
(gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists and build_section_lists.
2002-05-04 * elf32-hppa.c (struct elf32_hppa_link_hash_table): AddAlan Modra3-123/+224
bfd_count top_index, input_list, all_local_syms. (elf32_hppa_setup_section_lists): New function, split from elf32_hppa_size_stubs. (elf32_hppa_next_input_section): Likewise. (group_sections): Likewise. (get_local_syms): Likewise. (elf32_hppa_size_stubs): Adjust for split out functions. Look for stubs on undefined syms too. (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. Only access htab elf fields when we have and elf hash table. * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. (elf32_hppa_next_input_section): Declare.
2002-05-04 * ar.c (replace_members): Remove unused var. Formatting fix.Alan Modra3-3/+6
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
2002-05-04 * MAINTAINERS: Sort port maintainers by CPU.Alan Modra2-5/+9
2002-05-04 * size.c (display_archive): Add last_arfile and code to close archives.Alan Modra2-1/+12
2002-05-04 * opncls.c (_bfd_new_bfd_contained_in): Check return value ofAlan Modra2-0/+7
_bfd_new_bfd.
2002-05-04* stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.Jim Blandy3-9/+27
(read_type): Doc fix. * gdbtypes.c (replace_type): Doc fix.
2002-05-04* stabsread.c (multiply_defined_struct): New complaint.Jim Blandy2-13/+92
(read_struct_type): If the type we were passed isn't empty, or incomplete, don't read the new struct type into it; complain, and return the original type unchanged. Take a new `type_code' argument, which is the type code for the new type. (read_type): Rather than storing the type's type code here, pass it as an argument to read_struct_type, and let that take care of storing it. That way, we don't overwrite the original type code, so read_struct_type can use it to decide whether we're overwriting something we shouldn't. (complain_about_struct_wipeout): New function.
2002-05-04daily updateAlan Modra1-1/+1
2002-05-04*** empty log message ***gdbadmin1-1/+1
2002-05-032002-05-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+2
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-032002-05-02 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+12
* gdb.base/long_long.exp: Add xscale target. * gdb.base/default.exp: Add xscale target.
2002-05-03* gdbarch.sh: Assert that gdbarch is non-NULL.Andrew Cagney3-0/+155
* gdbarch.c: Regenerate.
2002-05-032002-05-03 H.J. Lu (hjl@gnu.org)H.J. Lu2-3/+30
* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. (mips_elf_link_hash_newfunc): Initialize forced_local to false. (mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol to hide a global symbol. (_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set forced_local to true.
2002-05-03 * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warnJason Merrill2-5/+21
and return NULL.
2002-05-03* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-numberAlexandre Oliva2-0/+6
information for instructions.
2002-05-03* configure.in: Revert 2002-04-18's patch; fixed in libjava.Alexandre Oliva2-27/+4
2002-05-03 * configure.in (FLAGS_FOR_TARGET): Do not addThomas Fitzsimmons2-1/+6
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively on i[3456]86-*-linux*.
2002-05-03 * ld.h: Fix formatting.Kazu Hirata8-77/+87
* ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldmain.c: Likewise. * lexsup.c: Likewise. * pe-dll.c: Likewise.
2002-05-032002-05-03 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-7/+60
* x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), (x86_64_dwarf2gdb_regno_map_length), (x86_64_dwarf2_reg_to_regnum): Added. (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. (_initialize_x86_64_tdep): Synced with the change above. (x86_64_skip_prologue): Reformulated message.
2002-05-032002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller4-1/+24
* f-exp.y: Also use new prev_lexptr variable to improve error reporting. Based on Michael Snyder 2002-04-24 dated patch to c-exp.y. * jv-exp.y: Likewise. * m2-exp.y: Likewise.
2002-05-03 * as.h: Fix formatting.Kazu Hirata11-43/+56
* cgen.c: Likewise. * cgen.h: Likewise. * dwarf2dbg.c: Likewise. * frags.h: Likewise. * gasp.c: Likewise. * macro.c: Likewise. * read.c: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2002-05-03daily updateAlan Modra1-1/+1
2002-05-03*** empty log message ***gdbadmin1-1/+1
2002-05-022002-05-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+10
* valops.c (value_arg_coerce): Don't coerce arrays to pointers if we are dealing with vectors.
2002-05-02 * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocsRichard Henderson2-0/+15
vs SHN_UNDEF to zero.
2002-05-02 * ld-scripts/map-address.exp: Quote conditions.Richard Sandiford2-6/+10
2002-05-022002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+6
* config/m68k/tm-nbsd.h: Obvious fix, correct machine name.
2002-05-02 * app.c (mri_pseudo): Only declare for TC_M68K.Alan Modra2-3/+5
2002-05-02 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.Alan Modra2-4/+12
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with BFD_RELOC_16_BASEREL. (md_assemble): Likewise. (md_apply_fix3): Likewise.
2002-05-02 * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to aAlan Modra3-16/+25
16 bit reloc. <R_PPC64_SECTOFF_DS>: Likewise. (ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to SECTOFF reloc. * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct. (ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to SECTOFF reloc.
2002-05-022002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+13
* p-typeprint.c (pascal_type_print_base): Add support for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
2002-05-022002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+6
* p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR for fondamental pascal 'char' type.
2002-05-022002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller4-15/+41
* p-lang.h (is_pascal_string_type): Declaration changed, new sixth argument of type char ** added. * p-lang.c (is_pascal_string_type): Implementation changed. Args length_pos, length_size, string_pos, char_size can now be NULL. New argument arrayname set to the field name of the char array. Return value set to char array field index plus one. * p-valprint.c (pascal_val_print): Adapt to new declaration of is_pascal_string_type function.
2002-05-02 * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.Alan Modra5-149/+436
(ppc64_elf_ha_reloc): New function. (ppc64_elf_brtaken_reloc): New function. (ppc64_elf_sectoff_reloc): New function. (ppc64_elf_sectoff_ha_reloc): New function. (ppc64_elf_toc_reloc): New function. (ppc64_elf_toc_ha_reloc): New function. (ppc64_elf_toc64_reloc): New function. (ppc64_elf_unhandled_reloc): New function. (ppc64_elf_howto_raw): Use the above. <R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset. <R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask. <R_PPC64_SECTOFF_DS>: Likewise. (IS_ABSOLUTE_RELOC): Update. (struct ppc_link_hash_table): Add have_undefweak. (ppc64_elf_link_hash_table_create): Init. (func_desc_adjust): Set have_undefweak. (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only add the .sfpr blr when have_undefweak. (ppc64_elf_setup_section_lists): Check hash table flavour. (ppc64_elf_next_input_section): Move output_section->owner test to ppc64elf.em. (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param and relocatable test. Return TOCstart and don't set elf_gp. (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch offset calculation. Add assert on weak sym branch tweaks. * elf64-ppc.h (ppc64_elf_set_toc): Delete. (ppc64_elf_toc): Declare. (ppc64_elf_next_input_section): Update. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Adjust for ppc64_elf_set_toc change. #include libbfd.h. (build_section_lists): Do output_section tests here.
2002-05-02Do not convert a subtract of zero into an add of zero.Nick Clifton5-3/+26
2002-05-02Do not attempt to create a .gmo file if the sources are read-only.Nick Clifton2-1/+8
2002-05-02* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,Jim Blandy5-0/+141
gdb.c++/hang.exp: New test.
2002-05-02Yank previous change - set current arch to NULL.Andrew Cagney3-42/+34
2002-05-02*** empty log message ***gdbadmin1-1/+1
2002-05-02daily updateAlan Modra1-1/+1
2002-05-01[ common/ChangeLog ]Chris Demetriou7-7/+20
2002-05-01 Chris Demetriou <cgd@broadcom.com> * callback.c: Use 'deprecated' rather than 'depreciated.' [ igen/ChangeLog ] 2002-05-01 Chris Demetriou <cgd@broadcom.com> * igen.c: Use 'deprecated' rather than 'depreciated.' [ mips/ChangeLog ] 2002-05-01 Chris Demetriou <cgd@broadcom.com> * interp.c: Use 'deprecated' rather than 'depreciated.' * sim-main.h: Likewise.
2002-05-01* gdbarch.sh (gdbarch_update_p): Swap out the old architectureAndrew Cagney3-28/+49
before probing for a new one. Detect errorenous gdbarch_init functions. * gdbarch.c: Regenerate.
2002-05-01 * configure.in (noconfigdirs): Replace [ ] with test.Thomas Fitzsimmons2-2/+4
2002-05-01* config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".Andrew Cagney4-3/+18
* config/mcore/tm-mcore.h: Ditto. Update copyright. * config/v850/tm-v850.h: Ditto. Update copyright.
2002-05-01 * configure.in (noconfigdirs): Do not add target-newlib ifThomas Fitzsimmons2-1/+20
target == i[3456]86-*-linux*, and host == target.
2002-05-012002-05-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou5-26/+153
* cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult which wouldn't compile anyway. * sim-main.h (unpredictable_action): New function prototype. (Unpredictable): Define to call igen function unpredictable(). (NotWordValue): New macro to call igen function not_word_value(). (UndefinedResult): Remove. * interp.c (undefined_result): Remove. (unpredictable_action): New function. * mips.igen (not_word_value, unpredictable): New functions. (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL) (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu) (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke NotWordValue() to check for unpredictable inputs, then Unpredictable() to handle them.