aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-05-01 2002-05-01 Fred Fish <fnf@redhat.com>Fred Fish2-2/+14
* gdb.base/completion.exp: Handle completions of "./Make" for more than one completion possibility, as is the case when we build and test in the source tree.
2002-05-01Generate warning if the same destination register is used in parallelNick Clifton2-0/+26
instructions.
2002-05-01 * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULLAlan Modra2-1/+7
file_name.
2002-05-01 * nm.c (print_symbol): Check returned filename fromAlan Modra2-1/+7
bfd_find_nearest_line is non-NULL.
2002-05-01* cris-tdep.c (cris_gdbarch_init): Use arches instead ofAndrew Cagney2-7/+14
current_gdbarch.
2002-05-01Formatting fix.Tom Rix2-2/+6
2002-05-01 Long branch stubs, multiple stub sections.Alan Modra2-26/+314
* emultempl/ppc64elf.em: Include ldctor.h. (stub_file): New var. (group_size): New var. (ppc_create_output_section_statements): New function. (struct hook_stub_info): New. (hook_in_stub): New function. (ppc_add_stub_section): New function. (ppc_layout_sections_again): New function. (build_section_lists): New function. (gld${EMULATION_NAME}_finish): Rewrite. (real_func): New var. (ppc_for_each_input_file_wrapper): New function. (ppc_lang_for_each_input_file): New function. (lang_for_each_input_file): Define. (PARSE_AND_LIST_PROLOGUE): Define. (PARSE_AND_LIST_LONGOPTS): Define. (PARSE_AND_LIST_OPTIONS): Define. (PARSE_AND_LIST_ARGS_CASES): Define. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2002-05-01 * elf64-ppc.c (CROR_151515, CROR_313131): Define.Alan Modra3-346/+1625
(ppc64_elf_relocate_section): Use them. Don't look for plt calls on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt call branches. Correct undefined weak destination. (ppc64_elf_func_desc_adjust): Always create at least one blr in .sfpr, and correct case where either only savef* or restf* is needed. Long branch stubs, multiple stub sections. * elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. (ppc64_elf_next_input_section): Declare. * elf64-ppc.c: Move linker-only prototypes. (STUB_SUFFIX): Define. (enum ppc_stub_type): New. (struct ppc_stub_hash_entry): New. (struct ppc_branch_hash_entry): New. (struct ppc_link_hash_entry): Add stub_cache, oh. (struct ppc_link_hash_table): Add stub_hash_table etc. Remove sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. Rename plt_overflow to stub_error. (ppc_stub_hash_lookup): Define. (ppc_branch_hash_lookup): Define. (stub_hash_newfunc): New function. (branch_hash_newfunc): New function. (link_hash_newfunc): Init new fields. (ppc64_elf_link_hash_table_create): Likewise. (ppc64_elf_link_hash_table_free): New function. (ppc_stub_name): New function. (ppc_get_stub_entry): New function. (ppc_add_stub): New function. (create_linkage_sections): Use bfd_make_section_anyway. Create .branch_lt and .rela.branch_lt sections. Don't create .stub. (ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, and set up for plt call stubs. Link func and func desc syms. (ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. (func_desc_adjust): Avoid hash lookup when func desc sym available via shortcut, and set links when processing. (ppc64_elf_hide_symbol): Likewise. (allocate_dynrelocs): Don't allocate stub section here. (ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. Remove sstub code. (ppc_type_of_stub): New function. (build_one_stub): Delete. (ppc_build_one_stub): New function. (ppc_size_one_stub): New function. (ppc64_elf_setup_section_lists): New function. (ppc64_elf_next_input_section): New function. (group_sections): New function. (get_local_syms): New function. (ppc64_elf_size_stubs): Rewrite. (ppc64_elf_build_stubs): Rewrite. (ppc64_elf_relocate_section): Look up stub entry for REL24 relocs. Don't propagate REL14* to dynamic objects. Look for long branch stubs if REL14* or REL24 relocs won't reach. (bfd_elf64_bfd_link_hash_table_free): Define.
2002-05-01 * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.Alan Modra2-0/+6
2002-05-012002-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-106/+109
* arm-tdep.c: Whitespace clean-ups.
2002-05-01 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.Alan Modra2-2/+6
2002-05-01 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .orgAlan Modra2-0/+6
backwards to prevent cascading errors.
2002-05-012002-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+5
* arm-tdep.c (arm_skip_prologue): Fix thinko; two lines should have been removed as part of 4/24 change.
2002-05-01*** empty log message ***gdbadmin1-1/+1
2002-05-01daily updateAlan Modra1-1/+1
2002-04-30 * rs6000-tdep.c: Added comment describing how fpscr registerKevin Buettner2-1/+20
numbers were chosen.
2002-04-30Add support for AIX -blibpath and -bnolibpath.Tom Rix2-4/+27
2002-04-302002-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
2002-04-302002-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+11
* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
2002-04-30 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.Mark Mitchell5-1/+39
(eelf32ppcwindiss.c): New target. * Makefile.in: Regenerated. * configure.tgt: Add support for powerpc-*-windiss. * emulparams/elf32ppcwindiss.sh: New file.
2002-04-30 * configure.in: Add support for powerpc-*-windiss.Mark Mitchell3-3114/+6980
* configure: Regenerated.