aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-09-30 * Makefile.am: Bfin support.Catherine Moore15-139/+3516
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * archures.c (bfd_mach_bfin): New. (bfd_arch_bfin): New. bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New. * bfd-in2.h: Regenerated. * config.bfd: Bfin support. * configure: Regenerated. * configure.in: Bfin support. * libbfd.h: Regenerated. * reloc.c: Add BFD relocations for Bfin. * targets.c (bfd_elf32_bfin_vec): New. * cpu-bfin.c: New file. * elf32-bfin.c: New file.
2005-09-30 * Makefile.am: Bfin support.Catherine Moore8-138/+6139
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * bfin-dis.c: New file. * configure.in: Bfin support. * configure: Regenerated. * disassemble.c (ARCH_bfin): Define. (disassembler): Add case for bfd_arch_bfin.
2005-09-30 * ld-elf/merge.d: Xfail bfin.Catherine Moore2-1/+5
2005-09-30 * Makefile.am: Bfin support.Catherine Moore7-147/+549
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * configure.tgt: Bfin support. * emulparams/bfin.sh: New file. * emultempl/bfin.em: New file.
2005-09-30 * Makefile.am: Bfin support.Catherine Moore5-158/+369
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * readelf.c (elf/bfin.h): Include. (guess_is_rela): EM_BLACKFIN support. (dump_relocations): Likewise.
2005-09-30 * dis-asm.h (print_insn_bfin): Declare.Catherine Moore5-0/+1774
* elf/bfin.h: New file. * elf/common.h (EM_BLACKFIN): Define. * opcode/bfin.h: New file.
2005-09-30 * gas/bfin: New testsuite for bfin.Catherine Moore67-0/+7600
* gas/all/gas.exp (bfin-*-*): Expected failure for alternate macro syntax.
2005-09-30 * Makefile.am: Bfin support.Catherine Moore18-156/+8140
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * configure: Regenerated. * configure.in: Bfin support. * configure.tgt: Bfin support. * config/bfin-aux.h: New file. * config/bfin-defs.h: New file. * config/bfin-lex.l: New file. * config/bfin-parse.y: New file. * config/tc-bfin.c: New file. * config/tc-bfin.h: New file. * doc/Makefile.am: Recognize c-bfin.texi. * doc/Makefile.in: Regenerated. * doc/all.texi: Bfin support. * doc/as.texinfo: Likewise. * doc/c-bfin.texi: Document bfin-specific syntax and directives.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+72
* dwarf.c (fetch_indirect_string): Adjust for section address. (process_debug_info): Likewise. (display_debug_loc): Likewise. (display_debug_ranges): Likewise. * objdump.c (mach_o_dwarf_sections): New. (generic_dwarf_sections): Likewise. (check_mach_o_dwarf): Likewise. (dump_dwarf): Call check_mach_o_dwarf.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-6/+158
* Makefile.am (objdump_SOURCES): Add dwarf.c. * Makefile.in: Regenerated. * objdump.c: Include "dwarf.h". (usage): Add -W/--dwarf. (long_options): Likewise. (dump_dwarf_section_info): New. (load_debug_section): Likewise. (free_debug_section): Likewise. (dump_dwarf_section): Likewise. (dump_dwarf): Likewise. (dump_bfd): Load symbol table and call dump_dwarf if dump_dwarf_section_info isn't zero. (main): Handle -W/--dwarf.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-3804/+3915
* Makefile.am (CFILES): Add dwarf.c. (readelf_SOURCES): Likewise. * Makefile.in: Regenerated. * dwarf.c: New file. * dwarf.h. Likewise. * readelf.c: Include "dwarf.h" instead of "bfd.h". (do_debug_info): Remove the static definition. (do_debug_abbrevs): Likewise. (do_debug_lines): Likewise. (do_debug_pubnames): Likewise. (do_debug_aranges): Likewise. (do_debug_ranges): Likewise. (do_debug_frames): Likewise. (do_debug_frames_interp): Likewise. (do_debug_macinfo): Likewise. (do_debug_str): Likewise. (do_debug_loc): Likewise. (is_relocatable): Likewise. (have_frame_base): Likewise. (need_base_address): Likewise. (eh_addr_size): Likewise. (error): Likewise. (warn): Likewise. (cmalloc): Likewise. (xcmalloc): Likewise. (xcrealloc): Likewise. (dwarf_section): Removed. (byte_get_little_endian): Likewise. (byte_get_signed): Likewise. (byte_get_big_endian): Likewise. (read_leb128): Likewise. (State_Machine_Registers): Likewise. (state_machine_regs): Likewise. (reset_state_machine): Likewise. (process_extended_line_op): Likewise. (debug_str_section): Likewise. (fetch_indirect_string): Likewise. (debug_abbrev_section): Likewise. (abbrev_attr): Likewise. (first_abbrev): Likewise. (last_abbrev): Likewise. (free_abbrevs): Likewise. (add_abbrev_attr): Likewise. (process_abbrev_section): Likewise. (get_TAG_name): Likewise. (get_FORM_name): Likewise. (display_block): Likewise. (decode_location_expression): Likewise. (debug_info): Likewise. (debug_information): Likewise. (num_debug_info_entries): Likewise. (last_pointer_size): Likewise. (warned_about_missing_comp_units): Likewise. (read_and_display_attr_value): Likewise. (get_AT_name): Likewise. (read_and_display_attr): Likewise. (process_debug_info): Likewise. (get_pointer_size_and_offset_of_comp_unit): Likewise. (get_debug_info): Likewise. (display_debug_lines): Likewise. (display_debug_pubnames): Likewise. (display_debug_macinfo): Likewise. (display_debug_abbrev): Likewise. (display_debug_loc): Likewise. (display_debug_str): Likewise. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise. (Frame_Chunk): Likewise. (DW_CFA_unreferenced): Likewise. (frame_need_space): Likewise. (frame_display_row): Likewise. (size_of_encoded_value): Likewise. (get_encoded_value): Likewise. (GET): Likewise. (LEB): Likewise. (SLEB): Likewise. (display_debug_frames): Likewise. (display_debug_not_supported): Likewise. (debug_displays): Likewise. (load_debug_section): Updated. (free_debug_section): Likewise. (display_debug_section): Likewise. (process_object): Call free_debug_memory to free debug memory.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-463/+431
* readelf.c: Reordered. (is_relocatable): New. (dwarf_section): New structure for DWARF section. (load_debug_section): New. (free_debug_section): Likewise. (debug_str_section): Likewise. (debug_abbrev_section): Likewise. (debug_str_contents): Removed. (debug_str_size): Likewise. (debug_loc_contents): Likewise. (debug_loc_size): Likewise. (debug_range_contents): Likewise. (debug_range_size): Likewise. (load_debug_str): Likewise. (free_debug_str): Likewise. (load_debug_loc): Likewise. (free_debug_loc): Likewise. (load_debug_arange): Likewise. (free_debug_arange): Likewise. (load_debug_abbrev): Likewise. (free_debug_abbrev): Likewise. (fetch_indirect_string): Updated. (debug_apply_rela_addends): Likewise. (process_debug_info): Likewise. (get_debug_info): Likewise. (display_debug_lines): Likewise. (display_debug_pubnames): Likewise. (display_debug_macinfo): Likewise. (display_debug_abbrev): Likewise. (display_debug_loc): Likewise. (display_debug_str): Likewise. (display_debug_info): Likewise. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise. (display_debug_frames): Likewise. (display_debug_not_supported): Likewise. (debug_displays): Likewise. (display_debug_section): Likewise. (get_file_header): Set is_relocatable.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-38/+51
* readelf.c (debug_apply_rela_addends): Relocate the whole section. (process_debug_info): Don't call debug_apply_rela_addends. (display_debug_frames): Likewise. (get_debug_info): Call debug_apply_rela_addends. (debug_displays): Add the "relocate" field. (display_debug_section): Call debug_apply_rela_addends if needed.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* configure.in (*-*-darwin*): Build bfd, binutils and opcodes. * configure: Regenerated.
2005-09-302005-09-30 Paul Brook <paul@codesourcery.com>Paul Brook5-445/+476
gas/ * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy. (opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for normal infix conditions. (C3E): Include Thumb-2 definition. (CL, cCL): Define. (insns): Use them for legacy mnemonics. gas/testsuite/ * gas/arm/fpa-mem.s: Remove incorrect comments. * gas/arm/fpa-mem.d: Update expected results.
2005-09-30asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the SolarisNick Clifton8-2/+79
version of <locale.h> when ENABLE_NLS is not defined. gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is defined.
2005-09-30 * elf64-ppc.c (ppc_type_of_stub): Check both func desc and funcAlan Modra2-28/+42
entry sym before deciding no stub is needed. (ppc64_elf_size_stubs): When calculating branch destination, don't use func desc sym for old ABI objects unless func entry is undefined.
2005-09-30*** empty log message ***gdbadmin1-1/+1
2005-09-30daily updateAlan Modra1-1/+1
2005-09-29 PR threads/2015Andreas Schwab2-2/+12
* infrun.c (adjust_pc_after_break): Don't use the state from a non-matching thread context.
2005-09-29 * rs6000-tdep.c (rs6000_frame_cache): Handle misdetected framelessDaniel Jacobowitz2-27/+53
functions.
2005-09-29gas/Jan Beulich6-27/+67
2005-09-29 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (parse_operands): Always parse first operand of alloc. gas/testsuite/ 2005-09-29 Jan Beulich <jbeulich@novell.com> * gas/ia64/alloc.[sl]: New. * gas/ia64/ia64.exp: Run new test.
2005-09-29 * app.c (do_scrub_chars): Match open and close quote of strings.Alan Modra2-11/+16
Remove redundant EOF test in case 7.
2005-09-29Index: ChangeLogGeoffrey Keating6-8/+262
2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP. (LIPO_FOR_TARGET): New. (CONFIGURED_LIPO_FOR_TARGET): New. (USUAL_LIPO_FOR_TARGET): New. (STRIP_FOR_TARGET): New. (CONFIGURED_STRIP_FOR_TARGET): New. (USUAL_STRIP_FOR_TARGET): New. * Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and STRIP_FOR_TARGET. * configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET, CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET. * Makefile.in: Regenerate. * configure.in: Regenerate. Index: gcc/ChangeLog 2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET. (stage1-start): Delete old libgcc and libunwind before moving anything into the stage directory. (stage2-start): Likewise. (stage3-start): Likewise. (stage4-start): Likewise. (stageprofile-start): Likewise. (stagefeedback-start): Likewise. * config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h header in tm_file and CPU-specific t-darwin in tmake_file. (i[34567]86-*-darwin*): Don't change tm_file. (powerpc-*-darwin*): Don't change tm_file or tmake_file. * config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc shared library stub for target OS version. * config/t-slibgcc-darwin (SHLIB_SOLINK): Delete. (SHLIB_LINK): Don't make SHLIB_SOLINK. (SHLIB_INSTALL): Don't install SHLIB_SOLINK. (libgcc_s.%.dylib): New. (LIBGCC): Define. (install-darwin-libgcc-stubs): New. (INSTALL_LIBGCC): New append. * config/i386/darwin-libgcc.10.4.ver: New. * config/i386/darwin-libgcc.10.5.ver: New. * config/i386/t-darwin: New. * config/rs6000/darwin-libgcc.10.4.ver: New. * config/rs6000/darwin-libgcc.10.5.ver: New. * config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete. * config/rs6000/t-darwin (SHLIB_VERPFX): Define.
2005-09-29*** empty log message ***gdbadmin1-1/+1
2005-09-29daily updateAlan Modra1-1/+1
2005-09-28* annotate.c (breakpoints_changed, annotate_frames_invalid)Nick Roberts3-31/+8
(_initialize_annotate): Print breakpoints-invalid and frames-invalid for level 2 annotations only. * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations frames-invalid and breakpoints-invalid are no longer generated with level 3 so don't expect them in the output.
2005-09-28*** empty log message ***Nick Roberts2-0/+12
2005-09-28* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.Alexandre Oliva5-0/+65
* powerpc.exp: Run it.
2005-09-28 * infrun.c (init_execution_control_state): InitializeDaniel Jacobowitz2-1/+6
ecs->another_trap.
2005-09-28gas/testsuite/Jan Beulich10-58/+237
2005-09-28 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d, gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New. * gas/i386/i386.exp: Run new tests. ld/testsuite/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * ld-x86-64/tlspic.dd: Adjust. opcodes/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * i386-dis.c (stack_v_mode): Renamed from branch_v_mode. (indirEv): Use it. (stackEv): New. (Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions. (dis386): Document and use new 'V' meta character. Use it for single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov. (putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark data prefix as used whenever DFLAG was examined. Handle 'V'. (intel_operand_size): Use stack_v_mode. (OP_E): Use stack_v_mode, but handle only the special case of 64-bit mode without operand size override here; fall through to v_mode case otherwise. (OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode and no operand size override is present. (OP_J): Use get32s for obtaining the displacement also when rex64 is present.
2005-09-28gas/Jan Beulich6-13/+59
2005-09-28 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (reloc): Disable signedness check for 4-byte relocations in 16- and 32-bit modes. (i386_displacement): Make pc-relative branch handling dependent upon operand (rather than address) size. gas/testsuite/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * gas/i386/mixed-mode-reloc.s: Enable all insns. * gas/i386/mixed-mode-reloc32.d: Adjust. * gas/i386/mixed-mode-reloc64.d: Adjust.
2005-09-282005-09-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-5/+52
PR binutils/1321 * elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ... (_bfd_elf_setup_sections): This. * elf.c: Likewise. * elfcode.h (elf_object_p): Likewise. * elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER. (_bfd_elf_copy_private_section_data): Likewise.
2005-09-282005-09-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-17/+35
* elflink.c (elf_fixup_link_order): Report locations for mixed ordered and unordered input sections.
2005-09-28gas/Jan Beulich2-0/+17
2005-09-28 Jan Beulich <jbeulich@novell.com> * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully parsing the input. (dot_cfi_startproc): Likewise. (dot_cfi_endproc): Likewise. Also check no extra input was given. (dot_cfi_escape): Likewise.
2005-09-28gas/Jan Beulich7-50/+91
2005-09-28 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally. (TC_CONS_FIX_NEW): Define unconditionally. (x86_pe_cons_fix_new): Remove. * config/tc-i386.c (signed_cons): New. (md_pseudo_table): Add slong. (x86_cons_fix_new): Declare unconditionally. (x86_pe_cons_fix_new): Merge into x86_cons_fix_new. (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc conversion. gas/testsuite/ 2005-09-28 Jan Beulich <jbeulich@novell.com> * gas/i386/reloc64.s: Also test .slong. * gas/i386/reloc64.l: Adjust. * gas/i386/reloc64.d: Adjust.
2005-09-28 * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for fullAlan Modra2-4/+11
buffer after copying string.
2005-09-28s/waek/weak/ in 2005-05-05's entry.Alexandre Oliva1-3/+3
2005-09-28(TAGS): Put DEPFILES back and add as a dependency.Nick Roberts1-2/+2
2005-09-28*** empty log message ***Nick Roberts1-0/+4
2005-09-282005-09-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-5/+29
* ld.texinfo (ALIGN): Document it as forcing output section alignment. * ldgram.y (ALIGN): Support it for forcing output section alignment.
2005-09-28daily updateAlan Modra1-1/+1
2005-09-28*** empty log message ***gdbadmin1-1/+1
2005-09-272005-09-27 Bob Rossi <bob@brasko.net>Bob Rossi14-53/+75
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .* from test. Escape the | in mi_gdb_test call. * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to expected regex's in mi_gdb_test calls. * lib/mi-support.exp: Remove arbitrary .* from tests. (mi_gdb_test): Add string_regex variable. Add anchor to main -re. Fully anchor GDB/MI expected results in mi_gdb_test. * lib/gdb.exp (string_to_regexp): Escape the ] character. * gdb.base/sizeof.exp: Remove escape character. Correct test.
2005-09-27 * argv.c (expandargv): Do not use xmalloc_failed.Mark Mitchell2-3/+8
2005-09-272005-09-27 Paul Brook <paul@codesourcery.com>Paul Brook3-0/+19
* config/arm.c (arm_cpus): Add more cpu names. * doc/c-arm.texi: Document them.
2005-09-27daily updateAlan Modra1-1/+1
2005-09-27*** empty log message ***gdbadmin1-1/+1
2005-09-26Remove change description for a file that is actually part of the testsuite/Joel Brobecker1-2/+0
subdirectory. The description is included in testsuite/ChangeLog.
2005-09-26Fix name of directory in one ChangeLog entry.Joel Brobecker1-2/+2