aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-07-26[bfd]DJ Delorie15-77/+436
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, R_M32C_HI16. (m32c_reloc_map): Likewise. (m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16. [cpu] * m32c.opc (parse_unsigned8): Add %dsp8(). (parse_signed8): Add %hi8(). (parse_unsigned16): Add %dsp16(). (parse_signed16): Add %lo16() and %hi16(). (parse_lab_5_3): Make valuep a bfd_vma *. [gas] * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands. Support %mod() modifiers from opcodes. * doc/c-m32c.texi (M32C-Modifiers): New section. [include/elf] * m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16. [opcodes] * m32c-asm.c Regenerate. * m32c-dis.c Regenerate.
2005-07-26daily updateAlan Modra1-1/+1
2005-07-26*** empty log message ***gdbadmin1-1/+1
2005-07-25* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):Mark Kettenis2-0/+130
New function. (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set PTRACE_FORK event flag. (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK event. (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
2005-07-25* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not alreadyMark Kettenis3-154/+144
defined. * inf-ptrace.c: Tweak comments. (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero. (inf_ptrace_mourn_inferior): Call waitpid. (inf_ptrace_attach): Use pid_t, Remove unnecessary cast. (inf_ptrace_detach): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior. Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Call waitpid instead of wait. (inf_ptrace_resume): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_wait): Use waitpid instead wait. Use pid_t. Don't call target_has_exited or target_thread_alive. Properly ignore terminated detached child processes. (inf_ptrace_has_exited): Remove function. (inf_ptrace_xfer_partial): Use pid_t. Use ptid_get_pid instead of PIDGET. Use gdb_byte instead of `unsigned char'. (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET. (inf_ptrace_pid_to_str): Remove function. (inf_ptrace_target): Use inf_ptrace_kill instead of inf_ptrace_kill_inferior. Use normal_pid_to_str instead of inf_ptrace_pid_to_str. Don't set to_has_exited. (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat long lines.
2005-07-25* inf-ptrace.c: Reorder functions.Mark Kettenis2-215/+190
(inf_ptrace_open, inf_ptrace_reported_exec_events_per_call) (inf_ptrace_can_run, inf_ptrace_post_attach): Removed. (inf_ptrace_target): Don't set to_open, to_reported_exec_events_per_call, to_can_run, to_post_attach, to_stratum, to_has_all_memory, to_has_memory, to_has_stack, to_has_registers, to_has_execution, to_magic. Reorder remaining initializations.
2005-07-25bfd/H.J. Lu16-5/+421
2005-07-25 Jan Hubicka <jh@suse.cz> H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (_bfd_elf_large_com_section): New. * elf.c (_bfd_elf_large_com_section): New. Defined. * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New. (elf64_x86_64_elf_section_from_bfd_section): New. (elf64_x86_64_symbol_processing): New. (elf64_x86_64_common_definition): New. (elf64_x86_64_common_section_index): New. (elf64_x86_64_common_section): New. (elf64_x86_64_merge_symbol): New. (elf64_x86_64_additional_program_headers): New. (elf64_x86_64_special_sections): New. (elf_backend_section_from_bfd_section): New. Defined. (elf_backend_add_symbol_hook): Likewise. (elf_backend_common_section_index): Likewise. (elf_backend_common_section): Likewise. (elf_backend_common_definition): Likewise. (elf_backend_merge_symbol): Likewise. (elf_backend_special_sections): Likewise. (elf_backend_additional_program_headers): Likewise. binutils/ 2005-07-25 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON. (get_symbol_index_type): Likewise. (get_elf_section_flags): Handle SHF_X86_64_LARGE. gas/ 2005-07-25 Jan Hubicka <jh@suse.cz> H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is defined. (elf_com_section_ptr): New. (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr. (elf_common_parse): Make it global. Use elf_com_section_ptr instead of bfd_com_section_ptr. (obj_elf_change_section): Handle x86-64 large bss sections. * config/obj-elf.h (elf_com_section_ptr): New. (elf_common_parse): New. * config/tc-i386.c (handle_large_common): New. (md_pseudo_table): Add "largecomm". (x86_64_section_letter): New. (x86_64_section_word): New. * config/tc-i386.h (x86_64_section_word): New. (x86_64_section_letter): New. (md_elf_section_letter): New. Defined. (md_elf_section_word): Likewise. include/elf/ 2005-07-25 Jan Hubicka <jh@suse.cz> * x86-64.h (SHN_X86_64_LCOMMON): New. (SHF_X86_64_LARGE): New. ld/ 2005-07-25 Jan Hubicka <jh@suse.cz> H.J. Lu <hongjiu.lu@intel.com> * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New. * scripttempl/elf.sc: Updated for large section support.
2005-07-252005-07-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu7-50/+214
* elf-bfd.h (elf_backend_data): Add common_definition, common_section_index, common_section, and merge_symbol. (_bfd_elf_common_definition): New. (_bfd_elf_common_section_index): New. (_bfd_elf_common_section): New. * elf.c (elf_fake_sections): Don't clear sh_flags. * elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol if it is available. (is_global_data_symbol_definition): Call backend common_definition instead of checking SHN_COMMON. (elf_link_add_object_symbols): Likewise. (elf_link_output_extsym): Call backend common_section_index for common section index. (_bfd_elf_common_definition): New. (_bfd_elf_common_section_index): New. (_bfd_elf_common_section): New. * elfxx-target.h (elf_backend_common_definition): New. (elf_backend_common_section_index): New. (elf_backend_common_section): New. (elf_backend_merge_symbol): New. (elfNN_bed): Initialize common_definition, common_section_index, common_section, and merge_symbol. * section.c (BFD_FAKE_SECTION): New. (STD_SECTION): Use it. * bfd-in2.h: Regenerated.
2005-07-25Clarify ANSI, not POSIX, terminal escapes in ChangeLogMark Mitchell1-1/+1
2005-07-25 * input.c (rl_getc): Use getch to read console input onMark Mitchell5-3/+68
Windows. * readline.c (bind_arrow_keys_internal): Translate Windows keysequences into POSIX key sequences. * rldefs.h (NO_TTY_DRIVER): Define on MinGW. * rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
2005-07-25 * configure.ac: On MinGW, do not require a termcap library, andMark Mitchell5-0/+145
use win32-termcap.c. * configure: Regenerated. * win32-termcap.c: New file.
2005-07-25daily updateAlan Modra1-1/+1
2005-07-25*** empty log message ***gdbadmin1-1/+1
2005-07-24 * ser-tcp.c (close): Define as a function-like macro on MinGW.Mark Mitchell2-1/+5
2005-07-24 * chew.c: Include <string.h>.Daniel Jacobowitz2-0/+5
2005-07-242005-07-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-2/+7
* Makefile.tpl: Wrap install between unstage and stage * Makefile.in: Regenerate.
2005-07-24daily updateAlan Modra1-1/+1
2005-07-24*** empty log message ***gdbadmin1-1/+1
2005-07-232005-07-23 Olaf Hering <olh@suse.de>H.J. Lu2-1/+6
* elflink.c (elf_link_input_bfd): Add '\n' for linker einfo callback.
2005-07-23merge from gccDJ Delorie2-1/+5
2005-07-23daily updateAlan Modra1-1/+1
2005-07-23*** empty log message ***gdbadmin1-1/+1
2005-07-22* chew.c: Include stdlib.h.DJ Delorie2-0/+5
2005-07-22 * chew.c: Don't include sysdep.h.Kazu Hirata2-1/+4
2005-07-22Remove special case handling for rtems targets that are sufficiently handled byNick Clifton6-7/+18
the default rtems targets.
2005-07-22(m32r_elf_check_relocs): Fix pc count for R_M32R_REL32.Nick Clifton2-0/+6
2005-07-22merge from gccDJ Delorie3-5/+17
2005-07-22merge from gccDJ Delorie4-10/+8
2005-07-22merge from gccDJ Delorie4-125/+145
2005-07-22merge from gccDJ Delorie4-145/+125
2005-07-22 * configure.ac: Check for a getopt(3) declaration.Ben Elliston4-125/+145
* configure, config.in: Regenerate.
2005-07-22*** empty log message ***gdbadmin1-1/+1
2005-07-22daily updateAlan Modra1-1/+1
2005-07-212005-07-21 Eric Christopher <echristo@apple.com>Eric Christopher2-164/+168
* MAINTAINERS (Misc): Update affiliation.
2005-07-212005-07-21 Eric Christopher <echristo@apple.com>Eric Christopher2-2/+6
* MAINTAINERS: Change affiliation.
2005-07-21bfd/Ben Elliston12-126/+21
* Makefile.am (BFD32_BACKENDS): Remove cf-m68klynx.lo. (BFD32_BACKENDS): Likewise, remove m68klynx.lo. (BFD32_BACKENDS_CFILES): Remove cf-m68klynx.c, m68klynx.c. (cf-m68klynx.lo, m68klynx.lo): Remove targets. * Makefile.in: Regenerate. * cf-m68klynx.c: Remove. * m68klynx.c: Likewise. * configure.in (m68klynx_aout_vec): Remove vector. (m68klynx_coff_vec): Likewise. * configure: Regenerate. * targets.c (m68klynx_aout_vec): Remove extern. (m68klynx_coff_vec): Likewise. (_bfd_target_vector): Remove m68klynx_{aout,coff}_vec. * po/SRC-POTFILES.in: Remove cf-m68klynx.c, m68klynx.c. gas/ * config/tc-m68k.h: Remove TE_LYNX conditional code.
2005-07-212005-07-21 Paul Brook <paul@codesourcery.com>Paul Brook5-1/+42
gas/ * config/tc-arm.c (encode_thumb32_addr_mode): Don't set inst.reloc.pc_rel. gas/testsuite/ * gas/arm/thumb32.s: Add tests for [pc, #imm] addressing modes. * gas/arm/thumb32.d: Ditto.
2005-07-21* inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXECMark Kettenis2-4/+15
events as TARGET_WAITKIND_EXECD. (inf_ttrace_detach): Reorder local variables.
2005-07-21Use vsnprintf instead of vsprintf.Nick Clifton2-8/+12
2005-07-21 * ldgram.y (ldgram_want_filename): Remove unused static.Ben Elliston2-1/+4
2005-07-21*** empty log message ***gdbadmin1-1/+1
2005-07-21daily updateAlan Modra1-1/+1
2005-07-20* disassemble.c (disassemble_init_for_target): M32C ISAs areDJ Delorie2-2/+7
enums, so convert them to bit masks, which attributes are.
2005-07-20* emulparams/elf32m32c.sh (TEMPLATE_NAME): New.DJ Delorie2-0/+7
(EXTRA_EM_FILE): New.
2005-07-20* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.Mark Kettenis2-6/+207
(inf_ttrace_follow_fork): New function. (inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and TTEVT_VFORK events. Replace TTEO_NOSTRCHLD option with TTEO_PROC_INHERIT. (inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for inf_ttrace_vfork_ppid. (inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting parent if appropriate. (inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK. (inf_ttrace_target): Set to_follow_fork.
2005-07-20Add support for a 32bit PC relative relocNick Clifton14-6/+138
2005-07-20* remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.Wu Zhou2-3/+5
2005-07-20daily updateAlan Modra1-1/+1
2005-07-20*** empty log message ***gdbadmin1-1/+1
2005-07-192005-07-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* ldmain.c (main): Reindent.