DJ Delorie [Sun, 21 Oct 2001 00:08:22 +0000 (00:08 +0000)]
merge from gcc
gdbadmin [Sun, 21 Oct 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 21 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sat, 20 Oct 2001 23:54:29 +0000 (23:54 +0000)]
* breakpoint.h, breakpoint.c: Ditto.
H.J. Lu [Sat, 20 Oct 2001 23:16:17 +0000 (23:16 +0000)]
2001-10-20 H.J. Lu <hjl@gnu.org>
* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.
Andrew Cagney [Sat, 20 Oct 2001 22:43:26 +0000 (22:43 +0000)]
s/value_ptr/struct value */
H.J. Lu [Sat, 20 Oct 2001 22:41:09 +0000 (22:41 +0000)]
2001-10-20 H.J. Lu <hjl@gnu.org>
* config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
(cirrus_parse_offset): Likewise.
gdbadmin [Sat, 20 Oct 2001 20:00:04 +0000 (20:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 20 Oct 2001 19:32:40 +0000 (19:32 +0000)]
* alpha-nat.c: Include <alpha/coreregs.h> instead of
<machine/reg.h>.
(fetch_osf_core_registers): Define core_reg_mapping in a way that
works on OSF5 as well as previous OSF versions.
Alan Modra [Sat, 20 Oct 2001 13:50:16 +0000 (13:50 +0000)]
* ppc-opc.c (CT): Make it an optional operand.
Alan Modra [Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)]
* ldgram.y (mri_script_command): Surround processing of INCLUDE
with ldlex_script, ldlex_popstate.
(ifile_p1): Likewise.
* ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
correct slot.
(lex_push_file): Save current lineno to lineno_stack. Set lineno
to 1. Don't BEGIN(SCRIPT).
(lex_redirect): Similarly.
* ldmain.c (main): Set yydebug non-zero if YYDEBUG.
Nick Clifton [Sat, 20 Oct 2001 09:56:29 +0000 (09:56 +0000)]
Define __EH_FRAME_{BEGIN|END}__
Christopher Faylor [Sat, 20 Oct 2001 05:13:45 +0000 (05:13 +0000)]
Revert previous erroneous checkin.
Christopher Faylor [Sat, 20 Oct 2001 05:11:41 +0000 (05:11 +0000)]
* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
be able to read them in certain situations.
Andrew Cagney [Sat, 20 Oct 2001 00:16:44 +0000 (00:16 +0000)]
Enable PowerPC simulator on native linux and netbsd.
Alan Modra [Sat, 20 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Fri, 19 Oct 2001 16:29:12 +0000 (16:29 +0000)]
2001-10-19 H.J. Lu <hjl@gnu.org>
* elfcode.h (elf_object_p): Don't clear D_PAGED if the section
size is empty.
DJ Delorie [Fri, 19 Oct 2001 14:25:51 +0000 (14:25 +0000)]
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.
Nick Clifton [Fri, 19 Oct 2001 10:53:19 +0000 (10:53 +0000)]
Restore line_comment_chars after a SNAFU.
H.J. Lu [Fri, 19 Oct 2001 02:11:04 +0000 (02:11 +0000)]
2001-10-18 H.J. Lu <hjl@gnu.org>
* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
DJ Delorie [Fri, 19 Oct 2001 00:00:55 +0000 (00:00 +0000)]
* pe-dll.c (autofilter_objectlist): Add startup objects
for profiling.
(auto-export): Constify char * p.
Extract file basename and use strcmp rather than ststr
for object lookup.
Alan Modra [Fri, 19 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
Chris Demetriou [Thu, 18 Oct 2001 23:44:17 +0000 (23:44 +0000)]
2001-10-18 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Improve comment about the handling
of -mipsN options.
Chris Demetriou [Thu, 18 Oct 2001 22:41:35 +0000 (22:41 +0000)]
2001-10-18 Chris Demetriou <cgd@broadcom.com>
* mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end
of the expression, to make source code merging easier.
Nick Clifton [Thu, 18 Oct 2001 21:06:03 +0000 (21:06 +0000)]
Remove semicolon from ARM comment chars list
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:50:25 +0000 (17:50 +0000)]
Correct date of commit to last entry
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:38:53 +0000 (17:38 +0000)]
* write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
for undefined symbols.
Nick Clifton [Thu, 18 Oct 2001 12:20:49 +0000 (12:20 +0000)]
Add support for XScale's coprocessor access check register.
Fix formatting.
Jakub Jelinek [Thu, 18 Oct 2001 08:22:44 +0000 (08:22 +0000)]
* section.c (_bfd_strip_section_from_output): Don't count
SEC_EXCLUDE sections as references. Set SEC_EXCLUDE.
Andrew Cagney [Thu, 18 Oct 2001 04:35:35 +0000 (04:35 +0000)]
* README: Mention problems with HP/UX.
Chris Demetriou [Thu, 18 Oct 2001 01:50:26 +0000 (01:50 +0000)]
2001-10-17 Chris Demetriou <cgd@broadcom.com>
* mips.h: Sort coprocessor instruction argument characters
in comment, add a few more words of description for "H".
Chris Demetriou [Thu, 18 Oct 2001 01:42:16 +0000 (01:42 +0000)]
[gas/testsuite/ChangeLog]
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".
Alan Modra [Thu, 18 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
DJ Delorie [Wed, 17 Oct 2001 22:35:28 +0000 (22:35 +0000)]
merge from gcc
Andrew Cagney [Wed, 17 Oct 2001 20:35:31 +0000 (20:35 +0000)]
Functions to convert to/from CORE_ADDR and a string. Use in Insight.
Chris Demetriou [Wed, 17 Oct 2001 19:16:16 +0000 (19:16 +0000)]
2001-10-17 Chris Demetriou <cgd@broadcom.com>
* doc/as.texinfo (MIPS ISA options): Added accidentally
omitted "-mips64" option to list of options.
Matthew Green [Wed, 17 Oct 2001 13:13:16 +0000 (13:13 +0000)]
[gas/ChangeLog]
* 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.
Alan Modra [Wed, 17 Oct 2001 12:01:05 +0000 (12:01 +0000)]
* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
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.
Jason Molenda [Wed, 17 Oct 2001 07:12:57 +0000 (07:12 +0000)]
* symtab.c (lookup_block_symbol): Break out of linear search
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
Alan Modra [Wed, 17 Oct 2001 06:03:41 +0000 (06:03 +0000)]
* config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
(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.
Alan Modra [Wed, 17 Oct 2001 05:51:12 +0000 (05:51 +0000)]
* bit_fix.h: Comment typo fix.
* config/tc-mips.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
Alan Modra [Wed, 17 Oct 2001 05:41:53 +0000 (05:41 +0000)]
* po/POTFILES.in: Regenerate.
Alan Modra [Wed, 17 Oct 2001 05:38:42 +0000 (05:38 +0000)]
* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
that autoheader doesn't duplicate config.in entries.
(DEFAULT_ARCH): Ditto.
* configure: Regenerate.
* config.in: Regenerate.
Jeff Holcomb [Wed, 17 Oct 2001 01:44:50 +0000 (01:44 +0000)]
2001-10-16 Jeff Holcomb <jeffh@redhat.com>
* internal.h (elf_internal_shdr): Make contents a unsigned char *.
Jeff Holcomb [Wed, 17 Oct 2001 01:44:10 +0000 (01:44 +0000)]
2001-10-16 Jeff Holcomb <jeffh@redhat.com>
* elflink.h (elf_link_sort_relocs): Remove unnecessary pointer
casts.
Alan Modra [Wed, 17 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 16 Oct 2001 14:27:03 +0000 (14:27 +0000)]
* config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
Christopher Faylor [Tue, 16 Oct 2001 12:47:31 +0000 (12:47 +0000)]
* filenames.h: Add cygwin to the list of dosish style path systems.
H.J. Lu [Tue, 16 Oct 2001 06:33:52 +0000 (06:33 +0000)]
2001-10-15 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE
for relocations against discarded link-once section.
Christopher Faylor [Tue, 16 Oct 2001 04:50:21 +0000 (04:50 +0000)]
* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load of
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.
Elena Zannoni [Tue, 16 Oct 2001 03:23:35 +0000 (03:23 +0000)]
2001-10-15 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (lookup_block_symbol): Update comment.
DJ Delorie [Tue, 16 Oct 2001 02:55:31 +0000 (02:55 +0000)]
merge from gcc
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:39:43 +0000 (02:39 +0000)]
* gas/sh/err-le.s, gas/sh/err-be.s: New tests.
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:36:20 +0000 (02:36 +0000)]
* config/tc-sh.c (shl): Remove.
(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.
Andrew Cagney [Tue, 16 Oct 2001 01:58:07 +0000 (01:58 +0000)]
* value.h (value_as_address): Rename value_as_pointer.
* 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.
Andrew Cagney [Tue, 16 Oct 2001 01:19:09 +0000 (01:19 +0000)]
202001-10-15 Jim Ingham <jingham@inghji.apple.com>
* valarith.c (value_sub): Don't pass a raw type to
value_from_pointer, it has to go through check_typedef first.
Alan Modra [Tue, 16 Oct 2001 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 15 Oct 2001 23:28:21 +0000 (23:28 +0000)]
* emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
-z nocopyreloc and -z nocombreloc usage strings.
Andrew Cagney [Mon, 15 Oct 2001 21:38:44 +0000 (21:38 +0000)]
Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.
Thiemo Seufer [Mon, 15 Oct 2001 19:48:04 +0000 (19:48 +0000)]
* config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
relocations.
Andrew Cagney [Mon, 15 Oct 2001 18:18:30 +0000 (18:18 +0000)]
Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
funnies to integer to address conversions.
Alan Modra [Mon, 15 Oct 2001 12:58:48 +0000 (12:58 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Report some detail on
bfd_reloc_outofrange and similar errors.
Alan Modra [Mon, 15 Oct 2001 09:45:48 +0000 (09:45 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
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.
Alan Modra [Mon, 15 Oct 2001 07:28:45 +0000 (07:28 +0000)]
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
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.
Alan Modra [Mon, 15 Oct 2001 01:16:16 +0000 (01:16 +0000)]
daily update
Hans-Peter Nilsson [Mon, 15 Oct 2001 00:14:37 +0000 (00:14 +0000)]
* ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
sh*-*-elf.
Mark Kettenis [Sun, 14 Oct 2001 21:04:05 +0000 (21:04 +0000)]
* config/s390/nm-linux.h: Don't include <signal.h>.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
Mark Kettenis [Sun, 14 Oct 2001 20:59:23 +0000 (20:59 +0000)]
* config/nm-linux.h (struct objfile): Remove forward declaration.
(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.
Mark Kettenis [Sun, 14 Oct 2001 20:42:07 +0000 (20:42 +0000)]
* config/nm-linux.h (struct objfile): Remove forward declaration.
(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.
Mark Kettenis [Sun, 14 Oct 2001 17:15:14 +0000 (17:15 +0000)]
* sparc-nat.c (fetch_core_registers): Remove redundant prototype.
Hans-Peter Nilsson [Sun, 14 Oct 2001 16:03:53 +0000 (16:03 +0000)]
* lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
Hans-Peter Nilsson [Sun, 14 Oct 2001 15:18:11 +0000 (15:18 +0000)]
* ld-sh/rd-sh.exp: New framework file.
* 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.
Mark Kettenis [Sun, 14 Oct 2001 11:50:39 +0000 (11:50 +0000)]
* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
Mark Kettenis [Sun, 14 Oct 2001 11:30:37 +0000 (11:30 +0000)]
Fix attaching to cloned processes. This fixes PR gdb/61.
* 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.
Matthew Green [Sun, 14 Oct 2001 01:19:09 +0000 (01:19 +0000)]
[gas/testsuite/ChangeLog]
* 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.
Alan Modra [Sun, 14 Oct 2001 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sat, 13 Oct 2001 22:13:35 +0000 (22:13 +0000)]
S/390 31 & 64 bit target and GNU/Linux native support.
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.
Andrew Cagney [Sat, 13 Oct 2001 19:40:31 +0000 (19:40 +0000)]
From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* gdbarch.c: Regenerate.
Mark Kettenis [Sat, 13 Oct 2001 15:04:02 +0000 (15:04 +0000)]
* thread-db.c: Fix a few formatting mistakes.
Nick Clifton [Sat, 13 Oct 2001 10:00:30 +0000 (10:00 +0000)]
support multiple options to the -w switch
Nick Clifton [Sat, 13 Oct 2001 09:50:02 +0000 (09:50 +0000)]
Replace CONST with const
Nick Clifton [Sat, 13 Oct 2001 09:46:09 +0000 (09:46 +0000)]
Fix formatting
Nick Clifton [Sat, 13 Oct 2001 09:38:04 +0000 (09:38 +0000)]
Use safe-ctype.h not ctype.h
Corinna Vinschen [Sat, 13 Oct 2001 08:36:32 +0000 (08:36 +0000)]
* gdb.base/maint.exp: Treat $EXEEXT as optional in output.
Christopher Faylor [Sat, 13 Oct 2001 04:15:40 +0000 (04:15 +0000)]
Fix capitalization.
Matthew Green [Sat, 13 Oct 2001 02:27:25 +0000 (02:27 +0000)]
oops, fix an error in the previous entry.
Matthew Green [Sat, 13 Oct 2001 01:59:09 +0000 (01:59 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
flags, equivalent to -m7400. New -maltivec to enable AltiVec
instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable
64-bit and 32-bit BookE support, respectively. Change -m403 and
-m405 to set PPC403 option.
(md_show_usage): Adjust for new options.
* doc/all.texi: Set PPC.
* doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
* doc/c-ppc.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
* doc/Makefile.in: Regenerate.
[gas/testsuite/ChangeLog]
* gas/ppc/booke.s: New test for Motorola BookE.
* gas/ppc/booke.d: New file.
* gas/ppc/ppc.exp: Test booke.s.
[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for
BookE and PowerPC403 instructions.
[opcodes/ChangeLog]
* ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
instruction field instruction/extraction functions for new BookE
DE form instructions.
(CT): New macro for CT field in an X form instruction.
(DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
instructions.
(PPC64): Don't include PPC_OPCODE_PPC.
(403): New opcode macro for PPC403 processors.
(BOOKE): New opcode macro for BookE processors.
(bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
(bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
(dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
(stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
(mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
(subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
(subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
(addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
(lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
(stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
(tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
(lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
(stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
(lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
* ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
for a disassembler option of `booke', `booke32' or `booke64' to enable
BookE support in the disassembler.
Christopher Faylor [Sat, 13 Oct 2001 01:20:29 +0000 (01:20 +0000)]
* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list
pointer to beginning rather than one beyond beginning.
Alan Modra [Sat, 13 Oct 2001 00:00:11 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 12 Oct 2001 23:51:30 +0000 (23:51 +0000)]
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
* symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
(make_symbol_completion_list): Likewise.
(make_symbol_overload_list): Likewise.
* buildsym.c (finish_block): Likewise.
* breakpoint.c (get_catch_sals): Likewise.
* mdebugread.c (mylookup_symbol): Likewise.
* objfiles.c (objfile_relocate): Likewise.
* printcmd.c (print_frame_args): Likewise.
* stack.c (print_block_frame_locals): Likewise.
(print_block_frame_labels): Likewise.
(print_frame_arg_vars): Likewise.
* symmisc.c (dump_symtab): Likewise.
* tracepoint.c (add_local_symbols): Likewise.
(scope_info): Likewise.
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
* generic/gdbtk-stack.c (gdb_block_vars): Likewise.
(gdb_get_blocks): Likewise.
(gdb_get_vars_command): Likewise.
5~
Jim Blandy [Fri, 12 Oct 2001 21:10:07 +0000 (21:10 +0000)]
* Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
version of texi2html (1.64) doesn't support this flag any more.
Daniel Jacobowitz [Fri, 12 Oct 2001 19:07:07 +0000 (19:07 +0000)]
* minsyms.c (msymbol_hash): Use better hash function.
(msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
* objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
binaries.
John Healy [Fri, 12 Oct 2001 18:28:57 +0000 (18:28 +0000)]
2001-10-12 John Healy <jhealy@redhat.com>
* cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
for the length when extracting the base part of the insn.
Daniel Jacobowitz [Fri, 12 Oct 2001 17:15:34 +0000 (17:15 +0000)]
* printcmd.c (print_frame_args): Move symbol iteration explicitly
inside the func != NULL block.
Fernando Nasser [Fri, 12 Oct 2001 15:59:11 +0000 (15:59 +0000)]
2001-10-12 Fernando Nasser <fnasser@redhat.com>
* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
maintainer.
Nick Clifton [Fri, 12 Oct 2001 11:16:21 +0000 (11:16 +0000)]
Treat R_ARM_THM_PC22 like R_ARM_PC24.
Nick Clifton [Fri, 12 Oct 2001 10:34:25 +0000 (10:34 +0000)]
Include -z nocopyreloc in usage
Jakub Jelinek [Fri, 12 Oct 2001 09:23:29 +0000 (09:23 +0000)]
* readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.
Nick Clifton [Fri, 12 Oct 2001 08:56:17 +0000 (08:56 +0000)]
Generate warning message if .endr is used without preceeding .rept/.irc/.irp
Nick Clifton [Fri, 12 Oct 2001 08:07:40 +0000 (08:07 +0000)]
Update contact address