Commit Graph

42028 Commits

Author SHA1 Message Date
Richard Sandiford 0a6ace1e0e gas/
* config/tc-mips.c (macro): Switch misordered call to frag_grow()
	and setting of tc_fr_offset.

gas/testsuite/
	* gas/mips/elf-rel16.[sd]: New test.
	* gas/mips/mips.exp: Run it.
	* gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)".
	* gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-12-06 13:52:23 +00:00
Kazu Hirata b76033d904 Fia x comment typo. 2003-12-06 10:02:06 +00:00
Alan Modra 0bec1a8421 * common.h (DT_HIOS): Correct value. 2003-12-06 05:32:21 +00:00
Michael Chastain 374451f0e9 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/rtti.exp: Accept new wording of warning from
	cp_lookup_rtti_type.
2003-12-06 04:40:42 +00:00
Michael Chastain ba9b20a7b1 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/scope.exp (test_at_main): Replace references to
	gcc_compiled with calls to test_compiler_info.
	(test_at_foo): Likewise.
	(test_at_bar): Likewise.
2003-12-06 02:06:22 +00:00
Mark Mitchell 09d92015d3 * gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
	* gas/arm/archv6.s: Likewise.
	* gas/arm/thumbv6.d: Likewise.
	* gas/arm/thumbv6.s: Likewise.

	Add V6 support.
	* config/tc-arm.c (ARM_EXT_V6): New macro.
	(ARM_ARCH_V6): Likewise.
	(SHIFT_IMMEDIATE): Likewise.
	(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
	(SHIFT_ASR_IMMEDIATE): Likewise.
	(SHIFT_LSL_IMMMEDIATE): Likewise.
	(do_cps): New function.
	(do_cpsi): Likewise.
	(do_ldrex): Likewise.
	(do_pkhbt): Likewise.
	(do_pkhtb): Likewise.
	(do_qadd16): Likewise.
	(do_rev): Likewise.
	(do_rfe): Likewise.
	(do_sxtah): Likewise.
	(do_sxth): Likewise.
	(do_setend): Likewise.
	(do_smlad): Likewise.
	(do_smlald): Likewise.
	(do_smmul): Likewise.
	(do_ssat): Likewise.
	(do_usat): Likewise.
	(do_srs): Likewise.
	(do_ssat16): Likewise.
	(do_usat16): Likewise.
	(do_strex): Likewise.
	(do_umaal): Likewise.
	(do_cps_mode): Likewise.
	(do_cps_flags): Likewise.
	(do_endian_specifier): Likewise.
	(do_pkh_core): Likewise.
	(do_sat): Likewise.
	(do_sat16): Likewise.
	(insns): Add V6 instructions.
	(do_t_cps): New function.
	(do_t_cpy): Likewise.
	(do_t_setend): Likewise.
	(THUMB_CPY): New macro.
	(tinsns): Add V6 instructions.
	(decode_shift): Handle V6 restricted-shift options.
	(thumb_mov_compare): Support CPY.
	(arm_cores): Add arm1136js and arm1136jfs.
	(arm_archs): Add armv6.
	(arm_fpus): Add arm1136jfs.
	* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
	armv6 options.

	* gas/arm/arm.exp: Add archv6 and thumbv6.
	* gas/arm/archv6.d: New file.
	* gas/arm/archv6.s: Likewise.
	* gas/arm/thumbv6.d: Likewise.
	* gas/arm/thumbv6.s: Likewise.

	* arm-dis.c (print_arm_insn): Add 'W' macro.
	* arm-opc.h (arm_opcodes): Add V6 instructions.
	(thumb_opcodes): Likewise.
2003-12-06 01:25:29 +00:00
Jeff Johnston 32edc941e1 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
        format to be the i387 extended float format which is used for
        long doubles stored in memory.
2003-12-06 00:17:04 +00:00
Kazu Hirata aaad4cf36a * ChangeLog-9197: Fix comment typos.
* coffgrok.c: Likewise.
	* filemode.c: Likewise.
	* objcopy.c: Likewise.
	* objdump.c: Likewise.
	* prdbg.c: Likewise.
	* stabs.c: Likewise.
	* unwind-ia64.c: Likewise.
2003-12-06 00:06:12 +00:00
gdbadmin e1f1f9b8c3 *** empty log message *** 2003-12-06 00:00:31 +00:00
Christian Groessler f69532ae1b * config/tc-z8k.c (parse_reg): Be case insensitive when checking
register names.
	(get_ctrl_operand): Be case insensitive when checking ctrl names.
2003-12-05 23:40:04 +00:00
Christian Groessler 24bc63c55a * gas/z8k/ctrl-names.d: New file.
* gas/z8k/ctrl-names.s: New file.
	* gas/z8k/z8k.exp: Run new tests.
2003-12-05 23:37:02 +00:00
Alan Modra 15466f2da7 daily update 2003-12-05 23:00:09 +00:00
Michael Snyder 2469ef8b79 2003-12-02 Alexandre Oliva <aoliva@redhat.com>
* sh-opc.h: Add support for sh4a and no-fpu variants.
        * sh-dis.c: Ditto.
2003-12-05 22:16:11 +00:00
Michael Snyder bbf5b05dbf Don't blame aoliva for my work. 2003-12-05 22:00:39 +00:00
Mark Kettenis 2af2aeb01d From Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.
2003-12-05 21:14:49 +00:00
Nick Clifton 2acb89ed54 Fix SH compilation problems introduced by previous delta 2003-12-05 11:55:01 +00:00
Nick Clifton d3793eaa60 Fixes for use of ARM_26D reloc in arm-wince toolchain. 2003-12-05 11:30:18 +00:00
Michael Chastain 362ff85603 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR c++/1465.
	Fix for PR c++/1377.
	* cp-support.h (cp_lookup_rtti_type): New function.
	* cp-support.c (cp_lookup_rtti_type): New function.
	* gnu-v2-abi.c: Update copyright years.
	(gnuv2_rtti_type): Call cp_lookup_rtti_type.
	* gnu-v3-abi.c: Update copyright years.
	(gnuv3_rtti_type): Call cp_lookup_rtti_type.
2003-12-05 04:25:09 +00:00
Michael Snyder aeadede63f 2003-12-02 Alexandre Oliva <aoliva@redhat.com>
* sh-opc.h: Add support for sh4a and no-fpu variants.
	* sh-dis.c: Ditto.
2003-12-05 02:02:32 +00:00
Michael Snyder 88da98f3d4 2003-12-03 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh.c: Add support for sh4a and no-fpu variants,
	with appropriate additions to md_show_usage.
	* testsuite/gas/sh/basic.exp: Call tests for sh4a.
	* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
	err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
	sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
	New files, tests for sh4a and related variants.
	* doc/c-sh.texi: Document new -isa options.
	* doc/c-sh64.texi: Ditto.
	* NEWS: Mention new support for sh4a.
2003-12-05 01:59:55 +00:00
Michael Chastain b74b6d0b9f 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
	to test_compiler_info.
2003-12-05 01:53:46 +00:00
Joel Brobecker 149d821b1e * stabsread.c (read_type): Save a reference to types that are defined
as cross references to other types.
2003-12-05 00:45:39 +00:00
gdbadmin d97d0546d3 *** empty log message *** 2003-12-05 00:00:01 +00:00
Alan Modra ff60b193ca daily update 2003-12-04 23:00:07 +00:00
H.J. Lu a070c2b16c 2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
2003-12-04 22:48:20 +00:00
H.J. Lu d9c458fcc1 bfd/
2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

	* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
	need_relax_finalize field in link_info instead of
	relax_finalizing to check if the relax finalize pass is being
	done.

include/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

	* bfdlink.h (bfd_link_info): Change relax_finalizing to
	need_relax_finalize.

ld/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

	* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
	link_info.need_relax_finalize to TRUE.

	* ldlang.c (lang_process): Use link_info.need_relax_finalize
	instead of link_info.relax_finalizing.
	* ldmain.c (main): Likewise.
2003-12-04 22:43:36 +00:00
DJ Delorie 858b45cfbf merge from gcc 2003-12-04 20:03:39 +00:00
Nick Clifton f57a841aea Do not copy the object if the output file's format cannot be set to that of
the input file.	 If the input file's format is unknown, fail.
2003-12-04 18:24:07 +00:00
Nick Clifton 2051433802 Define RELOCATEABLE_OUTPUT_FORMAT 2003-12-04 17:51:43 +00:00
Nick Clifton d21356d8ba Change ARM26* to ARM_26* in comments to match definitions.
Replace hard-coded constants with appropriate definitions (ARM_26*).
2003-12-04 17:46:24 +00:00
Alan Modra f2241121e3 * ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
	* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
	* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
	* Makefile.in: Regenerate.
2003-12-04 12:09:25 +00:00
Alan Modra 1a101a4220 * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
	(mn10300_elf_relax_section): Likewise.
	* nlm32-alpha.c (ONES): Define.
	(nlm32_alpha_howto_table): Use it to avoid warnings.
2003-12-04 12:08:42 +00:00
Alan Modra 8f8077465d * openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.
2003-12-04 11:07:22 +00:00
Michael Chastain ccfa340233 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-04 04:37:54 +00:00
Alan Modra 66becf3266 * elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
	* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
	* elf32-sh.c (sh_elf_object_p): Likewise.
	* elf32-sparc.c (elf32_sparc_object_p): Likewise.
	* elf64-alpha.c (elf64_alpha_object_p): Likewise.
	* elf64-s390.c (elf_s390_object_p): Likewise.
	* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
2003-12-04 03:03:27 +00:00
H.J. Lu b80901c73f 2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
	matching .ent.
2003-12-04 00:54:16 +00:00
Roland McGrath 77f091ddb5 . 2003-12-04 00:20:51 +00:00
Roland McGrath cdbc0b18d6 2003-12-02 Roland McGrath <roland@redhat.com>
* thread-db.c (enable_thread_event): Change return type to
	td_err_e.  Return TD_OK or error code.
	(enable_thread_event_reporting): Update callers.
2003-12-04 00:20:25 +00:00
gdbadmin 4a9ecc4bcb *** empty log message *** 2003-12-04 00:00:02 +00:00
Alan Modra 147f6d69f4 * tc.h (md_pcrel_from): Don't declare if defined as a macro. 2003-12-03 23:39:38 +00:00
Alan Modra e9485be588 daily update 2003-12-03 23:00:05 +00:00
Ian Lance Taylor 59659be2f6 * NEWS: Mention new C++ demangler code. 2003-12-03 19:53:11 +00:00
Andrew Cagney 56d0d96a62 2003-12-03 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (store_register, fetch_register): Convert
	between ptrace and regcache's wordsize.
	(ppc_register_u_addr): Use the ptrace wordsize.
2003-12-03 19:37:03 +00:00
DJ Delorie b52927b711 merge from gcc 2003-12-03 19:03:29 +00:00
Nick Clifton eb764db865 oops - forogot to mention the new support here. 2003-12-03 17:42:12 +00:00
Nick Clifton 8884595866 Add support for the M32R2 processor. 2003-12-03 17:38:48 +00:00
Nick Clifton f8fc344381 Add vax-linux-gnu target 2003-12-03 15:07:17 +00:00
Nick Clifton a46a5b5851 Add "msp" to list of expected architectures. 2003-12-03 10:48:53 +00:00
Nick Clifton f2f489ac6f (HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.
2003-12-03 10:44:50 +00:00
Kevin Buettner 251a3ae3a6 * frv-tdep.c (frv_gdbarch_init): Add case for fr550. 2003-12-03 04:50:33 +00:00