aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-07-14ChangeLog:Jim Blandy70-3197/+172780
2005-07-14 Jim Blandy <jimb@redhat.com> * configure.in: Add cases for Renesas m32c. * configure: Regenerated. bfd/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for m32c-*-elf (Renesas m32c and m16c). * Makefile.am (ALL_MACHINES): Add cpu-m32c.lo. (ALL_MACHINES_CFILES): Add cpu-m32c.c. (BFD32_BACKENDS): Add elf32-m32c.lo. (BFD32_BACKENDS_CFILES): Add elf32-m32c.c. (cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'. * Makefile.in: Regenerated. * archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New arch and mach codes. (bfd_m32c_arch): New arch info object. (bfd_archures_list): List bfd_m32c_arch. * bfd-in2.h: Regenerated. * config.bfd: Add case for the m32c. * configure.in: Add case for the m32c. * configure: Regenerated. * cpu-m32c.c, elf32-m32c.c: New files. * libbfd.h: Regenerated. * targets.c (bfd_elf32_m32c_vec): Declare. (_bfd_target_vector): List bfd_elf32_m32c_vec. binutils/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * readelf.c: #include "elf/m32c.h" (guess_is_rela, dump_relocations, get_machine_name): Add cases for EM_M32C. * Makefile.am (readelf.o): Update dependencies. * Makefile.in: Regenerated. cpu/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * m32c.cpu, m32c.opc: Machine description for the Renesas M32C. gas/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C. * Makefile.am (CPU_TYPES): List m32c. (TARGET_CPU_CFILES): List config/tc-m32c.c. (TARGET_CPU_HFILES): List config/tc-m32c.h. * configure.in: Add case for m32c. * configure.tgt: Add cases for m32c and m32c-*-elf. * configure: Regenerated. * config/tc-m32c.c, config/tc-m32c.h: New files. * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi. * doc/Makefile.in: Regenerated. * doc/all.texi: Set M32C. * doc/as.texinfo: Add text for the M32C-specific options and line comment characters, and refer to c-m32c.texi. * doc/c-m32c.texi: New file. include/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * dis-asm.h (print_insn_m32c): New declaration. include/elf/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for Renesas M32C and M16C. * common.h (EM_M32C): New machine number. * m32c.h: New file. ld/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C and M16C. * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. (eelf32m32c.c): New target. * Makefile.in: Regenerated. * configure.tgt: Add case for m32c-*-elf. * emulparams/elf32m32c.sh: New file. opcodes/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C and M16C. * m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New. * m32c-desc.h, m32c-opc.h: New. * Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h. (CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c. (ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo. (CLEANFILES): List stamp-m32c. (M32C_DEPS): List stamp-m32c, if CGEN_MAINT. (CGEN_CPUS): Add m32c. (m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c) (m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS. (m32c_opc_h): New variable. (stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo) (m32c-opc.lo): New rules. * Makefile.in: Regenerated. * configure.in: Add case for bfd_m32c_arch. * configure: Regenerated. * disassemble.c (ARCH_m32c): New. [ARCH_m32c]: #include "m32c-desc.h". (disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c. (disassemble_init_for_target) [ARCH_m32c]: Same. * cgen-ops.h, cgen-types.h: New files. * Makefile.am (HFILES): List them. * Makefile.in: Regenerated.
2005-07-142005-07-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-19/+12
* lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler warnings.
2005-07-142005-07-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* lib/ld-lib.exp (run_ld_link_exec_tests): Update comments.
2005-07-142005-07-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu9-0/+236
* ld-elf/elf.exp (array_tests): New. Call run_ld_link_exec_tests with array_tests. * ld-elf/fini.c: New file. * ld-elf/fini.out: Likewise. * ld-elf/init.c: Likewise. * ld-elf/init.out: Likewise. * ld-elf/preinit.c: Likewise. * ld-elf/preinit.out: Likewise. * lib/ld-lib.exp (run_ld_link_exec_tests): New.
2005-07-14(reset_vars): Use strncpy to prevent overflowing the ins_parse buffer.Nick Clifton2-1/+8
2005-07-14+2005-07-14 Bob Rossi <bob@brasko.net>Bob Rossi3-2/+7
+ + * gdb.base/default.exp (tty): Changed output of command. + * gdb.base/help.exp (help tty): Ditto.
2005-07-14 * ms1.opc (print_dollarhex): Correct format string.Alan Modra2-2/+6
2005-07-14bfd/Alan Modra11-136/+127
* bfd-in.h (_bfd_elf_fix_excluded_sec_syms): Declare. (_bfd_elf_provide_section_bound_symbols): Remove param name. Formatting. * bfd-in2.h: Regenerate. * elflink.c (bfd_elf_gc_sections): Don't call generic function. (_bfd_elf_provide_symbol): Formatting. (_bfd_elf_provide_section_bound_symbols): Remove all hacks, just create section relative syms. (fix_syms, _bfd_elf_fix_excluded_sec_syms): New functions. * elf32-ppc.c (ppc_elf_set_sdata_syms): Use _bfd_elf_provide_section_bound_symbols. * reloc.c (bfd_mark_used_section): Delete. (bfd_generic_gc_sections): Don't call the above. ld/ * ldlang.c (strip_excluded_output_sections): Don't call bfd_gc_sections. * emultempl/elf32.em (gld*_provide_bound_symbols): Move. (gld*_provide_init_fini_syms): Move. (gld*_before_allocation): Call the above from here.. (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms. * emultempl/hppaelf.em (hppaelf_finish): Likewise. * emultempl/ppc64elf.em (ppc_finish): Likewise.
2005-07-14Fix spelling typo in commentNick Clifton1-1/+1
2005-07-14Add testcase for PR 1063Nick Clifton3-0/+43
2005-07-14Add PR number for the last ChangeLog entry.Nick Clifton1-0/+1
2005-07-14(bfd_last_cache): Initialise to NULL.Nick Clifton2-1/+5
2005-07-14Add code to detect and either handle or issue an error message for binariesNick Clifton5-6/+34
created by the DEC ALPHA compilers.
2005-07-142005-07-14 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook11-316/+353
* COPYING, compile, config-ml.in, config.guess, config.sub, install-sh, missing, mkinstalldirs, symlink-tree, ylwrap: Sync from upstream sources.
2005-07-142005-07-13 Eric Christopher <echristo@redhat.com>Eric Christopher3-69/+101
* configure.in: Add toplevel noconfigdir support for tpf. * configure: Regenerate.
2005-07-14*** empty log message ***gdbadmin1-1/+1
2005-07-14daily updateAlan Modra1-1/+1
2005-07-13 * bfd.m4 (BFD_NEED_DECLARATION): Remove.Steve Ellcey2-30/+4
2005-07-13 * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.Daniel Jacobowitz2-1/+9
2005-07-13 * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGSDaniel Jacobowitz10-12/+93
is not available. Define HAVE_PTRACE_GETREGS if it is. * config.in, configure: Regenerated. * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. * linux-i386-low.c, linux-m68k-low.c: Update to use HAVE_PTRACE_GETREGS. * linux-low.c (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): Only return 0 if we processed GENERAL_REGS. * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New.
2005-07-13 * inferiors.c (struct thread_info): Add gdb_id.Daniel Jacobowitz6-27/+115
(add_thread): Add gdb_id argument. (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. * linux-low.c (linux_create_inferior, linux_attach_lwp): Update calls to add_thread. * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. * server.c (handle_query): Use thread_to_gdb_id. (handle_v_cont, main): Use gdb_id_to_thread_id. * server.h (add_thread): Update prototype. (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New prototypes.
2005-07-13 * linux-low.c (fetch_register, usr_store_inferior_registers): HandleDaniel Jacobowitz4-2/+27
left-padded registers. * linux-low.h (struct linux_target_ops): Add left_pad_xfer. * linux-ppc64-low.c (the_low_target): Set left_pad_xfer.
2005-07-13daily updateAlan Modra1-1/+1
2005-07-13*** empty log message ***gdbadmin1-1/+1
2005-07-12* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.Mark Kettenis2-2/+16
2005-07-12 * gas/mmix/relax1-n.d, gas/mmix/relax1-rn.d: Avoid "# FIXME: "Hans-Peter Nilsson3-4/+9
first on a line, adjusting for testsuite framework change.
2005-07-122005-07-12 Bob Rossi <bob@brasko.net>Bob Rossi2-1/+6
* gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show corresponding GDB command comment.
2005-07-12Fix email.Mark Kettenis1-1/+1
2005-07-12* dwarf2expr.h: Tweak comment.Mark Kettenis6-101/+169
(struct dwarf_expr_context): Use `gdb_byte *' in read_mem and get_frame_base function pointers. (read_uleb128, read_sleb128): Change return type and types of first two arguments to `gdb_byte *'. (dwarf2_read_address): Change types of first two arguments to `gdb_byte *'. * dwarf2expr.c: Tweak comment. (dwarf_expr_eval): Change type of second argument to `gdb_byte *'. (read_uleb128, read_sleb128): Change return type and types of first two arguments to `gdb_byte *'. (dwarf2_read_address): Change types of first two arguments to `gdb_byte *'. (execute_stack_op): Change types of last two arguments to `gdb_byte *'. Use `gdb_byte *' for byte buffers. * dwarf2loc.h: Tweak comment. (struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use `gdb_byte *' for byte buffers. * dwarf2loc.c (find_location_expression): Change return type to `gdb_byte *'. Use `gdb_byte *' for byte buffers. Change length to `unsigned int'. (dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer. Remove bogus cast. (dwarf_expr_read_mem): Change type of second argument to `gdb_byte *'. (dwarf_expr_frame_base): Change type of second argument to `gdb_byte **'. (dwarf2_evaluate_loc_desc): Change type of third argument to `gdb_byte *'. (needs_frame_read_mem): Change type of second argument to `gdb_byte *'. (needs_frame_frame_base): Change type of second argument `gdb_byte **'. Use gdb_byte for lit0. (dwarf2_tracepoint_var_ref): Change type of fourth argument to `gdb_byte *'. Use `gdb_byte *' for byte buffer. (loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte *' for byte buffer. * dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde) (struct dwarf2_frame_state): Use gdb_byte instead of `unsigned char'. (read_reg): Use `gdb_byte *' for byte buffers. Remove redundant cast. (read_mem): Change second argument to `gdb_byte *'. (no_get_frame_base): Change second argument to `gdb_byte **'. (execute_stack_op): Change first argument to `gdb_byte *'. (execute_cfa_program): Change first two arguments to `gdb_byte *'. Use gdb_byte instead of `unsigned int'. Use temprorary variable to store result of read_uleb128. (struct comp_unit): Use `gdb_byte *' for byte buffers. (read_1_byte, read_4_bytes, read_8_bytes): Change last argument to `gdb_byte *'. (read_unsigned_leb128, read_signed_leb128): Change second argument to `gdb_byte *'. Use gdb_byte instead of `unsigned char'. (read_initial_length): Change second argument to `gdb_byte *'. Remove redundant casts. (read_encoded_value): Use gdb_byte instead of `unsigned char'. Remove bogus casts. (decode_frame_entry_1): Change return type and second argument to `gdb_byte *'. Use `gdb_byte *' for byte buffers. Use gdb_byte instead of `unsigned char'. (decode_frame_entry): Change return type and second argument to `gdb_byte *'. Use `gdb_byte *' for byte buffers. (dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers.
2005-07-12* objc-lang.c (print_object_command): Use gdb_byte for c.Mark Kettenis3-5/+11
* arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for registers.
2005-07-12 * ld-powerpc/sdalib.s (lib_var): Size it.Alan Modra2-0/+5
2005-07-12 * elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stubAlan Modra2-0/+7
when !can_plt_call.
2005-07-12 * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.Alan Modra2-1/+6
2005-07-12 * elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value.Alan Modra2-4/+7
2005-07-12merge from gccDJ Delorie6-4/+32
2005-07-12*** empty log message ***gdbadmin1-1/+1
2005-07-12daily updateAlan Modra1-1/+1
2005-07-11* bsd-kvm.c: Include <paths.h>.Mark Kettenis2-4/+30
(bsd_kvm_corefile): New variable. (core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make static. (bsd_kvm_open): Set bsd_kvm_corefile. (bsd_kvm_files_info): New function. (bsd_kvm_add_target): Set to_files_info.
2005-07-112005-07-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+7
* elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last change.
2005-07-11merge from gcc:DJ Delorie3-90/+80
2005-07-11 Jakub Jelinek <jakub@redhat.com> * Makefile.def (target_modules): Add libssp. * configure.in (target_libraries): Add target-libssp. * configure: Rebuilt. * Makefile.in: Rebuilt.
2005-07-112005-07-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-3/+367
PR ada/22340 * Makefile.def: Sync with gcc. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto. * Makefile.in: Regenerate.
2005-07-11Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*, i386-*-rtemscoff*,Nick Clifton2-6/+6
sparc-*-rtemsaout*.
2005-07-11Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, i[3-7]86-*-rtemscoff*,Nick Clifton2-6/+6
hppa*-*-rtems*, mips*el-*-rtems*, powerpcle-*-rtems*.
2005-07-11 * hppa.h (pa_opcode): Don't set FLAG_STRICT in pa10 loads and stores.Dave Anglin2-125/+134
2005-07-11daily updateAlan Modra1-1/+1
2005-07-11*** empty log message ***gdbadmin1-1/+1
2005-07-10 * callback.h: Remove ANSI_PROTOTYPES conditional code.Ben Elliston2-4/+4
2005-07-10* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test forMark Kettenis2-7/+12
-stack-select-frame without arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame.
2005-07-10gas/H.J. Lu5-2/+50
2005-07-10 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (optimize_disp): Optimize signed 32bit displacements. testsuite/gas/ 2005-07-10 H.J. Lu <hongjiu.lu@intel.com> * i386/x86_64.s: Add absolute siged 32bit addressing tests for mov. * i386/x86_64.d: Updated.
2005-07-10 * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPESHans-Peter Nilsson2-4/+5
change.