aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-10-182001-10-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* mips.h: Sort coprocessor instruction argument characters in comment, add a few more words of description for "H".
2001-10-18[gas/testsuite/ChangeLog]Chris Demetriou9-2/+60
2001-10-17 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (sb1-ext-ps): New test to test SB-1 core's paired-single extensions to the MIPS64 ISA. * gas/mips/sb1-ext-ps.d: New file. * gas/mips/sb1-ext-ps.s: New file. [include/opcode/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips.h (INSN_SB1): New cpu-specific instruction bit. (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1 if cpu is CPU_SB1. [opcodes/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_isa_type): Make the ISA used to disassemble SB-1 binaries include instructions specific to the SB-1. * mips-opc.c (SB1): New definition. (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", "recip.ps", "rsqrt.ps", and "sqrt.ps".
2001-10-18daily updateAlan Modra1-1/+1
2001-10-17merge from gccDJ Delorie16-57/+65
2001-10-17Functions to convert to/from CORE_ADDR and a string. Use in Insight.Andrew Cagney3-0/+60
2001-10-172001-10-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* doc/as.texinfo (MIPS ISA options): Added accidentally omitted "-mips64" option to list of options.
2001-10-17[gas/ChangeLog]Matthew Green10-5/+75
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400, -m7410, -m7450 and -m7455 options. [gas/testsuite/ChangeLog] * gas/ppc/altivec.s: New test for AltiVec. * gas/ppc/altivec.d: New file. * gas/ppc/ppc.exp: Test altivec.s [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE64): Fix typo. [opcodes/ChangeLog] * ppc-opc.c (STRM): New AltiVec operand. (XDSS): New AltiVec instruction form. (mtvscr): Correct operand list. (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
2001-10-17 * elf-m10200.c (mn10200_elf_relax_section): Cast assignment toAlan Modra11-15/+29
Elf_Internal_Shdr.contents now that it's no longer a PTR. * elf-m10300.c (mn10300_elf_relax_section): Likewise. * elf32-h8300.c (elf32_h8_relax_section): Likewise. * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. * elf32-sh.c (sh_elf_relax_section): Likewise. * elf64-alpha.c (elf64_alpha_relax_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. * elf.c (setup_group): Warning fixes. * elflink.h (elf_link_sort_relocs): Likewise. * pdp11.c (slurp_reloc_table): Likewise.
2001-10-17 * symtab.c (lookup_block_symbol): Break out of linear searchJason Molenda2-0/+9
if we're past the range of possible matches. Original patch submission, with links to history/background behind it, here: http://sources.redhat.com/ml/gdb-patches/2001-09/msg00120.html
2001-10-17 * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.Alan Modra2-83/+104
(ppc_size): Select PPC_OPCODE_64 if 64 bit. (md_begin): Don't set ppc_size here. (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE. (md_shortopts): Constify. (md_longopts): Likewise. (md_longopts_size): Likewise. (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies 64-bit opcodes. (ppc_machine): Explain why this function is a nop.
2001-10-17 * bit_fix.h: Comment typo fix.Alan Modra5-7/+10
* config/tc-mips.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
2001-10-17 * po/POTFILES.in: Regenerate.Alan Modra4-6/+14
2001-10-17 * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place soAlan Modra4-229/+199
that autoheader doesn't duplicate config.in entries. (DEFAULT_ARCH): Ditto. * configure: Regenerate. * config.in: Regenerate.
2001-10-172001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+5
* internal.h (elf_internal_shdr): Make contents a unsigned char *.
2001-10-172001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-2/+7
* elflink.h (elf_link_sort_relocs): Remove unnecessary pointer casts.
2001-10-17daily updateAlan Modra1-1/+1
2001-10-16 * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.Alan Modra2-3/+8
2001-10-16* filenames.h: Add cygwin to the list of dosish style path systems.Christopher Faylor2-2/+6
2001-10-162001-10-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+11
* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE for relocations against discarded link-once section.
2001-10-16* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load ofChristopher Faylor3-18/+32
already loaded DLL. (register_loaded_dll): Convert loaded DLL name to "posix" format or it will confuse subsequent opening of the filename due to dos paths. (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
2001-10-162001-10-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
* symtab.c (lookup_block_symbol): Update comment.
2001-10-16merge from gccDJ Delorie24-298/+944
2001-10-16 * gas/sh/err-le.s, gas/sh/err-be.s: New tests.Hans-Peter Nilsson3-0/+24
2001-10-16 * config/tc-sh.c (shl): Remove.Hans-Peter Nilsson5-192/+223
(big): New function. (little): Remove shl handling. Emit error for endian mismatch. (md_show_usage): Add description of -big. (md_parse_option): Handle OPTION_BIG. Remove shl handling. (OPTION_BIG): Add. (md_pseudo_table): Add .big. (md_longopts): Add -big. (md_begin): Don't set target_big_endian here. * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove. (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian. (shl): Remove. * configure.in (endian): Default is big. (sh-*-pe*): Little endian. (cpu_type): Set sh for target sh*. * configure: Regenerate.
2001-10-16* value.h (value_as_address): Rename value_as_pointer.Andrew Cagney16-39/+51
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update.
2001-10-16202001-10-15 Jim Ingham <jingham@inghji.apple.com>Andrew Cagney2-1/+6
* valarith.c (value_sub): Don't pass a raw type to value_from_pointer, it has to go through check_typedef first.
2001-10-16daily updateAlan Modra1-1/+1
2001-10-15 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' fromAlan Modra2-14/+19
-z nocopyreloc and -z nocombreloc usage strings.
2001-10-15Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.Andrew Cagney3-2/+8
2001-10-15 * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABIThiemo Seufer2-0/+20
relocations.
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney10-34/+201
funnies to integer to address conversions.
2001-10-15 * elf32-i386.c (elf_i386_relocate_section): Report some detail onAlan Modra2-29/+34
bfd_reloc_outofrange and similar errors.
2001-10-15 * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.typeAlan Modra7-6/+16
rather than ind->weakdef. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
2001-10-15 * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_relocAlan Modra8-15/+125
counts for aliases instead of aborting. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset to -1 for non-function symbols. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to plt.offset instead of plt.refcount when setting to -1.
2001-10-15daily updateAlan Modra1-1/+1
2001-10-15 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run onHans-Peter Nilsson4-2/+6
sh*-*-elf.
2001-10-14* config/s390/nm-linux.h: Don't include <signal.h>.Mark Kettenis2-10/+4
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis1-0/+22
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis9-138/+40
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* sparc-nat.c (fetch_core_registers): Remove redundant prototype.Mark Kettenis2-2/+2
2001-10-14 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.Hans-Peter Nilsson2-1/+3
2001-10-14 * ld-sh/rd-sh.exp: New framework file.Hans-Peter Nilsson10-0/+183
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
2001-10-14* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.Mark Kettenis2-1/+3
2001-10-14Fix attaching to cloned processes. This fixes PR gdb/61.Mark Kettenis3-19/+132
* lin-lwp.c (struct lwp_info): Add new member `cloned'. (is_cloned) Removed. (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call waitpid explicitly. Mark the LWP as cloned if waitpid fails and retry with __WCLONE flag. (lin_lwp_attach): Likewise. Warn if attaching to a cloned process. (detach_callback): Replace use of is_cloned with explicit check on LWP id and process id. (stop_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. [CHILD_WAIT] (child_wait): New function. (lin_lwp_wait): Replace use of is_cloned with check if LWP is marked as cloned. Mark newly detected LWPs as cloned if detected by waitpid with __WCLONE flag. (kill_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. * config/i386/nm-linux.h (struct target_waitstatus): Add forward declaration. (child_wait): Add prototype. (CHILD_WAIT): Define.
2001-10-14[gas/testsuite/ChangeLog]Matthew Green5-5/+56
* gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba, mbar): New BookE tests. * gas/ppc/booke.d: Update for new BookE tests. [opcodes/ChangeLog] * ppc-opc.c (MO): New macro for MO field of mbar instruction. (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
2001-10-14daily updateAlan Modra1-1/+1
2001-10-13S/390 31 & 64 bit target and GNU/Linux native support.Andrew Cagney12-0/+2141
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM. * s390-nat.c, s390-tdep.c: New file. * config/s390/nm-linux.h, config/s390/s390.mh: New file. * config/s390/s390.mt, config/s390/s390x.mt: New file. * config/s390/tm-linux.h, config/s390/tm-s390.h: New file. * config/s390/xm-linux.h: New file. * NEWS: Update. * MAINTAINERS: Update.
2001-10-13From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:Andrew Cagney3-3/+10
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerate.
2001-10-13* thread-db.c: Fix a few formatting mistakes.Mark Kettenis2-25/+23
2001-10-13support multiple options to the -w switchNick Clifton2-36/+45