Commit Graph

53524 Commits

Author SHA1 Message Date
Ulrich Weigand fe5febed21 * spu-tdep.c (spu_in_function_epilogue_p): New function.
(spu_gdbarch_init): Install it.
2007-03-09 03:51:04 +00:00
Ulrich Weigand b8953b0e7e * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
for -var-create lpcharacter test.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-03-09 02:20:04 +00:00
Ulrich Weigand 7acd5c40d2 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
2007-03-09 01:14:12 +00:00
Ulrich Weigand 9c6759c1a1 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
2007-03-09 00:14:07 +00:00
gdbadmin 9addded633 *** empty log message *** 2007-03-09 00:00:32 +00:00
Ulrich Weigand 9dea8ca21c * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
2007-03-08 23:54:24 +00:00
Alan Modra 5d34f09a02 daily update 2007-03-08 23:00:07 +00:00
Ulrich Weigand 7b3dc0b75b * spu-tdep.c (spu_frame_align): New function.
(spu_gdbarch_init): Install it.  Set call dummy location to ON_STACK.
2007-03-08 21:32:22 +00:00
Ulrich Weigand 118dfbaf1f * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
(spu_software_single_step): Likewise.
	(spu_read_pc, spu_write_pc): New functions.
	(spu_gdbarch_init): Install them.
2007-03-08 21:18:01 +00:00
Ulrich Weigand a2f1aeb4a0 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
(fetch_all_registers): New function, uses gdb_test_multiple and
	exp_continue to fetch inferior output line-by-line.
	Replace all uses of do_get_all_registers by fetch_all_registers.
2007-03-08 20:08:02 +00:00
Ulrich Weigand 46579ac2da * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
in target_info.
2007-03-08 17:59:13 +00:00
Richard Sandiford 6d59ad8298 ld/testsuite/
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
	to 0.
2007-03-08 17:54:29 +00:00
Ulrich Weigand 29e4017ddc * cli/cli-dump.c (struct callback_data): load_offset needs to
have signed long type.
2007-03-08 16:54:02 +00:00
Alan Modra 3dd2d30bfa duh. commit correct version of patch. 2007-03-08 11:38:58 +00:00
Alan Modra d4c87fc14d include/elf/
* v850.h (V850_OTHER_TDA_BYTE): Delete.
	(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
	that don't clash with visibility bits.
bfd/
	* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
	V850_OTHER_* bits.
2007-03-08 11:28:35 +00:00
Alan Modra 1620f33de1 Regenerate. 2007-03-08 11:14:20 +00:00
Alan Modra 6f12865c0e * symbols.c (symbol_relc_make_sym): Comment typo fixes. 2007-03-08 06:59:25 +00:00
Alan Modra a5da764d0c * m32r.opc: Formatting. 2007-03-08 06:56:20 +00:00
Alan Modra a6d04ec4ce * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
2007-03-08 05:36:12 +00:00
Alan Modra 59624e302f regenerate 2007-03-08 05:35:31 +00:00
Alan Modra 9c6fc49d7e * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo.
(BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c.
	Run "make dep-am".
	* Makefile.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
2007-03-08 05:35:01 +00:00
Alan Modra 91eb6c46de * ldlang.c (lang_size_sections_1): Correct backwards dot move
test to not trigger on overlays.  Only warn on backwards move
	if non-default lma.
2007-03-08 04:38:45 +00:00
gdbadmin cb9f45d79f *** empty log message *** 2007-03-08 00:00:05 +00:00
Alan Modra 3051989ce9 daily update 2007-03-07 23:00:07 +00:00
Joseph Myers ad22bfe862 binutils:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
	bug-reporting URL.
	* doc/Makefile.am (config.texi): Define BUGURL.
	* doc/binutils.texi: Use BUGURL.  Remove text about large files
	and uuencoding.
	* Makefile.in, configure, doc/Makefile.in: Regenerate.

gas:
	* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
	bug-reporting URL.
	* doc/Makefile.am (gasver.texi): Define BUGURL.
	* doc/as.texinfo: Use BUGURL.
	* Makefile.in, configure, doc/Makefile.in: Regenerate.

ld:
	* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
	bug-reporting URL.
	* Makefile.am (ldver.texi): Define BUGURL.
	* ld.texinfo: Use BUGURL.
	* Makefile.in, configure: Regenerate.
2007-03-07 22:50:01 +00:00
H.J. Lu faed74d627 2007-03-07 H.J. Lu <hongjiu.lu@intel.com>
* config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec.
	(x86_64-*-kfreebsd*-gnu): Likewise.
	(x86_64-*-netbsd*): Likewise.
	(x86_64-*-openbsd*): Likewise.
	(x86_64-*-linux-*): Likewise.

	* configure.in: Support bfd_efi_app_x86_64_vec.
	* configure: Regenerated.

	* efi-app-x86_64.c: New file.

	* targets.c (bfd_efi_app_x86_64_vec): New.
	(_bfd_target_vector): Add bfd_efi_app_x86_64_vec.
2007-03-07 21:35:28 +00:00
Joel Brobecker 6de5b84957 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
Revert the previous change that had some unexpected side-effects
        on mips32.
        (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
        function to get the address of the calling instruction.
2007-03-07 21:32:47 +00:00
H.J. Lu 15344ad748 2007-03-07 Kai Tietz <kai.tietz@onevision.com>
* reloc.c (bfd_generic_get_relocated_section_contents): Remove
	const for type reloc_howto_type.
2007-03-07 14:40:33 +00:00
Andreas Schwab b8025f3436 * configure: Regenerate.
config/:
	* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
	AC_MSG_RESULT.
2007-03-07 14:02:20 +00:00
Denis Pilat 7490ba4f78 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
get_selected_frame by deprecated_safe_get_selected_frame.
2007-03-07 10:29:47 +00:00
Alan Modra f78039904e xfail hppa 2007-03-07 10:25:11 +00:00
Alan Modra 689d9c8c25 * common.h (ELF_ST_VISIBILITY): Comment typo fix. 2007-03-07 10:18:56 +00:00
Alan Modra ab96bf03fd PR 3958
bfd/
	* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link.
	(elf_discarded_section): Move..
	* bfd-in.h: ..to here.
	* bfd-in2.h: Regenerate.
	* elflink.c (elf_link_input_bfd): Don't zap relocs against symbols
	from discarded sections before relocate_section has done its job.
	* reloc.c (bfd_generic_get_relocated_section_contents): Handle
	relocs against symbols from discarded sections.
	* elf-hppa.h (elf_hppa_howto_table): Set size.  Set dst_mask on
	SECREL32.
	(elf_hppa_relocate_section): Handle relocatable link after setting
	sec, sym, h etc. for final link.  Squash error messages for
	relocatable link.  Clear section contents for relocs against
	symbols in discarded sections, and zero reloc.  Remove existing
	zero r_symndx code.
	* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
	* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
	* elf32-arm.c (elf32_arm_relocate_section): Likewise.
	* elf32-avr.c (elf32_avr_relocate_section): Likewise.
	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
	(bfin_relocate_section): Likewise.
	* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
	* elf32-cris.c (cris_elf_relocate_section): Likewise.
	* elf32-crx.c (elf32_crx_relocate_section): Likewise.
	* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
	* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
	* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
	* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
	* elf32-i370.c (i370_elf_relocate_section): Likewise.
	* elf32-i386.c (elf_i386_relocate_section): Likewise.
	* elf32-i860.c (elf32_i860_relocate_section): Likewise.
	* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
	* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
	* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
	* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
	* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
	* elf32-mep.c (mep_elf_relocate_section): Likewise.
	* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
	* elf32-mt.c (mt_elf_relocate_section): Likewise.
	* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
	* elf32-s390.c (elf_s390_relocate_section): Likewise.
	* elf32-score.c (_bfd_score_elf_relocate_section): Likewise.
	* elf32-sh.c (sh_elf_relocate_section): Likewise.
	* elf32-spu.c (spu_elf_relocate_section): Likewise.
	* elf32-v850.c (v850_elf_relocate_section): Likewise.
	* elf32-vax.c (elf_vax_relocate_section): Likewise.
	* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
	* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
	* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
	* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
	(elf64_alpha_relocate_section): Likewise.
	* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
	* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
	* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

	* elf32-arm.c (elf32_arm_relocate_section): Always adjust section
	symbols for relocatable link.  Don't use always-zero st_value.
	(elf_backend_rela_normal): Don't define.
	* elf32-bfin.c (bfinfdpic_relocate_section): Use
	RELOC_FOR_GLOBAL_SYMBOL.
	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
	* elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE
	section symbol adjustments with same for relocatable link.
	* elf32-i386.c (elf_i386_relocate_section): Likewise.
	* elf32-m68hc1x.c (m68hc11_get_relocation_value): Move..
	(elf32_m68hc11_check_relocs): ..to here.
	* elf32-score.c (score_elf_final_link_relocate): Remove zero
	r_symndx code.
	* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

ld/testsuite/
	* ld-elf/linkonce1.d: New.
	* ld-elf/linkonce1a.s: New.
	* ld-elf/linkonce1b.s: New.
	* ld-elf/linkonce2.d: New.
	* ld-i386/pcrel16abs.d: New.
	* ld-i386/pcrel16abs.s: New.
	* ld-i386/i386.exp: Run it.
2007-03-07 08:54:35 +00:00
Nick Clifton 057cac0830 PR ld/4023
* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
  from any paths being inserted into the output binary's DT_RPATH.
2007-03-07 07:52:09 +00:00
H.J. Lu d64cc92a74 2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4144
	* ld-elf/nobits-1.d: New file.
	* ld-elf/nobits-1.s: Likewise.
	* ld-elf/nobits-1.t: Likewise.
2007-03-07 03:58:44 +00:00
Alan Modra 0e922b770e PR 4144
* elf.c (assign_file_positions_for_load_sections): Don't
	adjust p_memsz for !SEC_LOAD section vma modulo page size.
	Instead, use the same lma based adjustment for SEC_LOAD
	sections.
2007-03-07 02:14:40 +00:00
gdbadmin 5a95d5a969 *** empty log message *** 2007-03-07 00:00:35 +00:00
Alan Modra 6ee4c85808 daily update 2007-03-06 23:00:07 +00:00
DJ Delorie e04d761119 merge from gcc 2007-03-06 19:00:57 +00:00
Martin Schwidefsky b5639b37c5 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
	INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU,	INSTR_RRR_F0FF): New
	instruction formats added.
	(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
	MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
	masks added.
	* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
	instructions added.
	* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
	(main): z9-ec cpu type option added.
	* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/tc-s390.c (md_parse_option): z9-ec option added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gas/s390/zarch-z9-ec.d: New file.
	* gas/s390/zarch-z9-ec.s: New file.
	* gas/s390/s390.exp: Run the z9-ec testcases.
2007-03-06 13:19:08 +00:00
H.J. Lu 412cc54eb9 2007-03-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/3918
	* lib/gas-defs.exp (gas_started): New variable. Initialized to
	0.
	(gas_start): Set gas_started to 1.
	(gas_finish): Skip if gas_started is 0.  Reset gas_started to 0.
2007-03-06 02:08:25 +00:00
gdbadmin 5a38199b18 *** empty log message *** 2007-03-06 00:00:32 +00:00
DJ Delorie a3ca38d268 Merge from gcc:
+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+	* configure.ac: Add "--with-pdfdir" configure option,
+	which defines pdfdir variable.
+	* Makefile.def (target=fixincludes): Add install-pdf to
+	missing targets.
+	(recursive_targets): Add install-pdf target.
+	(flags_to_pass): Add pdfdir.
+	* Makefile.tpl: Add pdfdir handling, add do-install-pdf
+	target.
+	* configure: Regenerate
+	* Makefile.in: Regenerate
+
+2007-02-28  Eric Christopher  <echristo@apple.com>
+
+	Revert:
+	2006-12-07  Mike Stump  <mrs@apple.com>
+
+	* Makefile.def (dependencies): Add dependency for
+	install-target-libssp and install-target-libgomp on
+	install-gcc.
+	* Makefile.in: Regenerate.
+
+2007-02-27  Matt Kraai  <kraai@ftbfs.org>
+
+	* configure: Regenerate.
+	* configure.ac: Move statements after variable declarations.
+
2007-03-05 23:19:10 +00:00
Alan Modra c526a6baf7 daily update 2007-03-05 23:00:07 +00:00
DJ Delorie d7831e7c47 merge from gcc 2007-03-05 22:15:41 +00:00
gdbadmin ad8bd7f8c1 *** empty log message *** 2007-03-05 00:00:04 +00:00
Alan Modra f66a453495 daily update 2007-03-04 23:00:06 +00:00
gdbadmin 18845502dd *** empty log message *** 2007-03-04 00:00:02 +00:00
Alan Modra 07725c1926 daily update 2007-03-03 23:00:05 +00:00
gdbadmin f157d00c98 *** empty log message *** 2007-03-03 00:00:38 +00:00