aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-05 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.Richard Henderson2-1/+5
2003-06-05 * config/tc-alpha.c (s_alpha_usepv): New.Richard Henderson13-0/+185
(md_pseudo_table): Add it. (alpha_cfi_frame_initial_instructions): New. * config/tc-alpha.h (TARGET_USE_CFIPOP): New. (tc_cfi_frame_initial_instructions): New. * doc/c-alpha.texi: Document .usepv. * gas/alpha/elf-usepv-1.[sd]: New. * gas/alpha/elf-usepv-2.[sd]: New. * gas/alpha/alpha.exp: Run them. * gas/cfi/cfi-alpha-3.[sd]: New. * gas/cfi/cfi.exp: Run it.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+6
* h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-12/+14
* compile.c (sim_info): Fix typo in output. * h8300/compile.c (set_h8300h): Replace 'flag' arguments with a bfd_machine argument, and decode it inline. Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder3-27/+20
* common/run.c (main): Remove SIM_H8300 ifdef. (usage): Ditto. * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX. (standard_options): Add '-x' for h8/300sx. (standard_option_handler): Add case for SIM_H8300SX.
2003-06-05*** empty log message ***gdbadmin1-1/+1
2003-06-04* dwarf2-frame.c (struct comp_unit): Add member `dbase'.Mark Kettenis2-0/+24
(read_encoded_value): Handle DW_EH_PE_datarel encoding. (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings when handling .eh_frame sections.
2003-06-04 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the genericJoel Brobecker3-88/+8
prepare_to_proceed procedure instead of the hppa-specific one. * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
2003-06-042003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston7-205/+519
* acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. * configure: Regenerated. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and <sys/syscall.h>. (kill_lwp): New function that uses tkill syscall or uses kill, depending on whether threading model is nptl or not. All callers of kill() changed to use kill_lwp(). (lin_lwp_wait): Make special check when WIFEXITED occurs to see if all threads have already exited in the nptl model. (stop_and_resume_callback): New callback function used by the lin_lwp_wait thread exit handling code. (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. Roland McGrath <roland@redhat.com> * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db.
2003-06-042003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+8
* compile.c (sim_info): Fix typo in output.
2003-06-04 * as.c (show_usage): Document --execstack and --noexecstack.Jakub Jelinek3-1/+52
(parse_args): Add --execstack and --noexecstack. (main): Create .note.GNU-stack section if --execstack or --noexecstack was given on comand line, set its SHF_EXECINSTR bit. * as.h (flag_execstack, flag_noexecstack): New.
2003-06-04 * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.Richard Henderson3-5/+12
(alpha_sigtramp_frame_this_id): Use get_frame_memory. (alpha_sigtramp_frame_prev_register): Likewise. (alpha_heuristic_frame_prev_register): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2003-06-04 * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): UseRichard Henderson2-4/+11
alpha-specific register id names. (alpha_mdebug_frame_unwind_cache): Likewise. (alpha_mdebug_frame_prev_register): Likewise.
2003-06-04Moved the ticoff0/1 swaptables and coff0/1 bad format hooks to coffcode.hSvein Seldal4-226/+129
2003-06-04Altered the CREATE_xxx_COFF_TARGET_VEC macro arguments -- changelog dropped outSvein Seldal1-0/+22
2003-06-04Altered the CREATE_xxx_COFF_TARGET_VEC macro argumentsSvein Seldal17-282/+82
2003-06-04Fixed initialization bugSvein Seldal2-2/+7
2003-06-042003-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-64/+100
* config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE) (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE) (OPTION_MISC_BASE): New defines. (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL) (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64) (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100) (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX) (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2) (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D) (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64) (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS) (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010) (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16) (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH) (OPTION_TRAP): Redefine in terms of new defines. (md_longopts): Reorder entries.
2003-06-04 * alpha-tdep.c (alpha_dwarf2_init_abi): New.Richard Henderson9-19/+49
* alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug unwind routines. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c: Remove unnecessary includes. * Makefile.in (alpha-linux-tdep.o): Update.
2003-06-04 * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.Richard Henderson1-2/+2
(alphabsd_fill_fpreg): Likewise.
2003-06-04 * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): ReplaceJoel Brobecker2-1/+7
references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
2003-06-04 * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.Joel Brobecker2-15/+6
(alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
2003-06-04 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.Joel Brobecker3-1/+9
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
2003-06-04 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): ReplaceJoel Brobecker2-2/+12
references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
2003-06-04 * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.Joel Brobecker2-14/+6
(alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
2003-06-04* remote.c (init_remote_state): Compute sizeof_g_packet byTheodore A. Roth2-4/+14
accumulation of the size of all registers instead of blindly using DEPRECATED_REGISTER_BYTES.
2003-06-042003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder3-12/+51
* config/h8300/tm-h8300.h (h8300sxmode): Declare. * h8300-tdep.c (h8300_gdbarch_init): Set machine mode for h8300sx.
2003-06-04*** empty log message ***gdbadmin1-1/+1
2003-06-03 * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.Joel Brobecker3-1/+7
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
2003-06-03binutils/Jakub Jelinek13-0/+118
* readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder7-2/+135
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * Makefile.am: Add new emulations for h8300sx. * Makefile.in: Regenerate. * configure.tgt: Add new emulations. * emulparams/h8300sx.sh: New emulation. * emulparams/h8300sxelf.sh: Ditto. * scripttempl/h8300sx.sc: Ditto.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder4-1022/+3400
* h8300/compile.c: Add h8300sx insns and addressing modes. * h8300/sim-main.h: Replaces h8300/inst.h. * h8300/Makefile.in: Tweak to bring in some sim/common stuff.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-190/+538
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * disassemble.c (disassembler): Add support for h8300sx. * h8300-dis.c: Ditto.
2003-06-032003-05-14 Michael Snyder <msnyder@redhat.com>Michael Snyder3-222/+834
From Bernd Schmidt <bernds@redhat.com> and Michael Snyder <msnyder@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * config/tc-h8300.c: Add insns and addressing modes for h8300sx. * config/tc-h8300.h: Ditto.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-545/+1814
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * h8300.h: Add support for h8300sx instruction set.
2003-06-032003-06-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-16/+7
* sparc-tdep.c (sparc_convert_to_virtual): Delete function. (sparc_convert_to_raw): Delete function. (sparc_gdbarch_init): Do not set register_convert_to_raw or register_convert_to_virtual.
2003-06-03 * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode6-667/+16693
than shell loop. Remove duplicate 'clean' targets and false comments. * Makefile.def: Add systematic dependencies to 'recursive' targets. Add systematic method of specifying missing targets in subdirs. Add copyright boilerplate. * Makefile.in: Regenerate. * configure.in: Add 'recursive targets' to maybe list. * configure: Regenerate.
2003-06-032003-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+17
* thread-db.c (thread_db_mourn_inferior): Unpush thread target layer if not dealing with a statically-linked threaded program.
2003-06-032003-06-03 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-0/+5
* solib.c (solib_open): Update comment to reflect actual search order.
2003-06-032003-06-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-11/+81
* frame.c (get_frame_memory_signed): New function. (get_frame_memory, get_frame_memory_unsigned): New function. (get_frame_arch): New function. * frame.h (get_frame_signed_memory, get_frame_arch): Declare. (get_frame_memory, get_frame_unsigned_memory): Declare. * d10v-tdep.c (d10v_frame_unwind_cache): Use get_frame_memory_unsigned and get_frame_arch. (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto.
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton4-7/+15
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf.
2003-06-03bfd/H.J. Lu12-38/+112
2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (elf_link_input_bfd): Call linker error_handler for discarded definitions. include/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. ld/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ldmisc.c: Include "bfdlink.h". (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION and -LD_DEFINITION_IN_DISCARDED_SECTION. * Makefile.am: Rebuild dependency. * Makefile.in: Regenerated. ld/testsuite/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2003-06-03Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.Nick Clifton4-0/+17
2003-06-03FRV: Use a signed 6-bit immediate value not unsigned for mdrotli insn.Nick Clifton17-603/+970
Use maintainer mode to regenerate ports.
2003-06-03 * Makefile.tpl: Rename [+target+] to [+make_target+].Nathanael Nerode3-14/+19
* Makefile.def: Rename 'target' to 'make_target'.
2003-06-03Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.Nick Clifton10-818/+1259
2003-06-032003-06-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-0/+9248
Contributed by Red Hat. * frv.cpu: New file. Written by Dave Brolley, Catherine Moore, and Eric Christopher. * frv.opc: New file. Written by Catherine Moore, and Dave Brolley. * simplify.inc: New file. Written by Doug Evans.
2003-06-032003-06-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+29
* ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is not available.
2003-06-03MAINTAINERS (write after approval): Add myselfRaoul Gough2-0/+5
2003-06-03* s390-nat.c (supply_gregset, fill_gregset): On the s390x, theJim Blandy2-2/+49
elements of gregset_t are 64 bits each, but access registers are still 32 bits, so they're packed two per gregset_t element. Unpack/pack them properly.