Commit Graph

32819 Commits

Author SHA1 Message Date
Jason Thorpe ec32e4bec5 * alpha-tdep.c: Update copyright years.
(alpha_next_pc): New function.
(alpha_software_single_step): Ditto.
* config/alpha/tm-alpha.h: Add prototype for
alpha_software_single_step.
2002-01-18 18:00:44 +00:00
Jason Thorpe e771a87134 * alphabsd-nat.c: Update copyright years.
(fill_gregset): Use regcache_collect.
(fill_fpregset): Likewise.
(fetch_inferior_registers): Only fetch integer registers
if requested to do so.
(store_inferior_registers): Only store integer registers
if requested to do so.
2002-01-18 17:47:13 +00:00
Richard Earnshaw 395213c846 2002-01-18 Keith Walker <keith.walker@arm.com>
* arm-opc.h (arm_opcodes): Add bxj instruction.
2002-01-18 17:33:49 +00:00
Richard Earnshaw 03b1477f5d * NEWS: Mention new ARM command-line options and VFP support.
* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE.  All
uses changed.
(ARM_CEXT_MAVERICK): Similarly.
(ARM_ANY): Now means any core instruction.
(CPU_DEFAULT): Default to ARM_ANY.
(uses_apcs_26, atcps, support_interwork, uses_apcs_float)
(pic_code): Declare for all object types.  Make type int.
(legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
(march_fpu_opt, mfpu_opt): Declare.
(md_longopts): Tidy up conditional definitions.
(arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
(arm_long_opts): New tables.
(arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
(arm_parse_extension): New function.
(md_parse_option): Rewrite using new table-driven system.
(md_show_usage): Use new table-driven system.
(md_begin): Calculate cpu_variant from command line option data.
* doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
command-line options.
* doc/c-arm.texi: Likewise.

Testsuite:
* gas/arm/vfp1.d: Use new command-line options.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/arm.exp (vfp-bad): Likewise.
* gas/arm/maverick.d: Likewise.
2002-01-18 17:01:55 +00:00
Andreas Jaeger 2a538ba50c gas:
2002-01-18  Andreas Jaeger  <aj@suse.de>

	* as.c (parse_args): Update year.

binutils:
2002-01-18  Andreas Jaeger  <aj@suse.de>

	* version.c (print_version): Update year.

ld:
2002-01-18  Andreas Jaeger  <aj@suse.de>

	* ldver.c (ldversion): Update year.
2002-01-18 11:28:42 +00:00
Andrew Cagney 7708fa0111 Remove XDEPFILES from GDB. 2002-01-18 04:51:10 +00:00
Alan Modra 40b8271bdd * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
dynamic function descriptor symbol, not the associated function
	symbol.
2002-01-18 01:22:02 +00:00
Jim Blandy ecace851a6 * gdb.asm/asm-source.exp (info symbol): Take another shot at
anchoring the pattern matching the entry point symbol's name.
2002-01-18 00:13:00 +00:00
gdbadmin 590a5fb55e *** empty log message *** 2002-01-18 00:00:04 +00:00
Alan Modra 285d1771e7 * readelf.c (get_machine_name): Handle EM_PPC64.
(guess_is_rela): Here too.
2002-01-17 23:36:03 +00:00
Andrew Cagney 375fc98382 Change behavour of internal-error to quit and dump core by default. 2002-01-17 23:33:39 +00:00
Nick Clifton 3ab9460d38 fixed braino in changelog entry for replacement of "switches" with "options" 2002-01-17 23:13:52 +00:00
Andrew Cagney eb12ee304f Add an appendix for maintenance commands. 2002-01-17 23:06:47 +00:00
Alan Modra c2408ccfbb daily update 2002-01-17 23:00:04 +00:00
Andrew Cagney c9ccaa9289 Remove links from @node 2002-01-17 22:56:48 +00:00
Andrew Cagney 8926118ce2 Remove else clause to #if UI_OUT. 2002-01-17 22:15:18 +00:00
Daniel Jacobowitz db728ff7cd 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
        gdbserver/low-nbsd.c, gdbserver/low-sim.c,
        gdbserver/low-sparc.c, gdbserver/low-sun3.c,
        gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
2002-01-17 21:13:50 +00:00
Daniel Jacobowitz 45b7b34510 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
* low-hppabsd.c (myattach): New function, returning -1.
        * low-lynx.c (myattach): Likewise.
        * low-nbsd.c (myattach): Likewise.
        * low-sim.c (myattach): Likewise.
        * low-sparc.c (myattach): Likewise.
        * low-sun3.c (myattach): Likewise.

        * low-linux.c (myattach): New function.

        * server.c (attach_inferior): New function.
        (main): Handle "--attach".
2002-01-17 20:46:16 +00:00
Eric Christopher 55baa95bb2 2002-01-17 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
2002-01-17 20:06:48 +00:00
Timothy Wall b1ffc25745 Add a more instructive error message on bad syntax 2002-01-17 17:41:24 +00:00
H.J. Lu 6c6fb00d71 2002-01-17 H.J. Lu (hjl@gnu.org)
* support/config.guess: Import from master sources, rev 1.225.
	* support/config.sub: Import from master sources, rev 1.238.
2002-01-17 17:21:31 +00:00
Nick Clifton 328577adeb Regenerate .pot and .po files 2002-01-17 14:12:08 +00:00
Alan Modra af746e92cb * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
Remove "Elf_Internal_Shdr *" param.
	(_bfd_mips_elf_section_from_bfd_section): Ditto.
	* elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
	* elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
	* elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
	* elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
	* elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
	* elf.c (_bfd_elf_section_from_bfd_section): Allow backend
	function to override special sections.  Remove hdr arg from
	backend call, and don't loop.
2002-01-17 13:02:40 +00:00
Nick Clifton 06f030db35 Add no-c-format comment to prevent confusion when translating string. 2002-01-17 11:28:49 +00:00
Andreas Schwab ce5fe2c658 Remove leftover conflict marker. 2002-01-17 11:01:39 +00:00
Eli Zaretskii 6826cf005f * gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and
for monstrous @multitable (from Brian Youmans).

	* fdl.texi: New file.

	* Makefile.in (SFILES_INCLUDED): Add fdl.texi.
2002-01-17 08:54:12 +00:00
Eric Christopher 175e996239 2002-01-16 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
	on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
	relocations requiring gp0 and gp.
2002-01-17 08:19:08 +00:00
Andrew Cagney 8de3c354c7 Daniel J as C++ maintainer. 2002-01-17 02:04:27 +00:00
gdbadmin 0423f018bc *** empty log message *** 2002-01-17 00:00:33 +00:00
H.J. Lu b020f6ace7 2002-01-16 H.J. Lu (hjl@gnu.org)
* config.guess: Import from master sources, rev 1.225.
	* config.sub: Import from master sources, rev 1.238.

	* MAINTAINERS: Updated notes on config.guess and config.sub.
2002-01-16 23:20:25 +00:00
Alan Modra 4c2ef66dbb daily update 2002-01-16 23:00:04 +00:00
Thiemo Seufer 394f9b3adb * config/tc-mips.c (percent_op): Ensure longer percent_op's are
matched before the shorter ones.
	(my_getSmallParser): Fix handling of nested parentheses in
	percent_op's. Code cleanup.
	(my_getPercentOp): New function, code from my_getSmallParser.
	(my_getSmallExpression): Fix handling of closing parentheses.
	Code cleanup. Better comments.
2002-01-16 21:30:47 +00:00
Richard Earnshaw 96a846ea23 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
EF_ARM_VFP_FLOAT.
(elf32_arm_print_private_bfd_data): Likewise.
2002-01-16 13:01:54 +00:00
Richard Earnshaw ca4ebd1e04 * coff/arm.h (F_VFP_FLOAT): Define.
* elf/arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
2002-01-16 11:35:18 +00:00
Nick Clifton af3ae48ddd Import new Turkish translations. 2002-01-16 10:17:48 +00:00
Alan Modra 10ed1bba5b * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
(ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
	(ORI_R0_R0_0): Correct.
2002-01-16 07:32:04 +00:00
Alan Modra f1cb7e1728 * readelf.c (get_ppc64_dynamic_type): New.
(get_dynamic_type): Call it.
2002-01-16 05:53:08 +00:00
Alan Modra 1f808cd5d7 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
* Makefile.in: Regenerate.
	* emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
	* emultempl/ppc64elf.em: New file.
2002-01-16 05:52:38 +00:00
Alan Modra 5d1634d792 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
when plt_not_loaded.
	* elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
	clear .plt SEC_CODE here.  Create .stub and correct .glink flags.
	(PLT_INITIAL_ENTRY_SIZE): Set to 24.
	(ppc64_elf_glink_code): Delete.
	(PPC64_ELF_GLINK_SIZE): Delete.
	(ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
	BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
	ORI_R0_R0_0): Define.
	(PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
	(struct ppc_link_hash_table): Add sstub and plt_overflow.
	(ppc64_elf_link_hash_table_create): Init them.
	(ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
	Don't copy to shared lib.
	(ppc64_elf_check_relocs): Call bfd_set_error on errors.
	(ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
	(allocate_dynrelocs <plt>): Don't change function sym here.  Make
	room for .stub and .glink code.
	(ppc64_elf_size_dynamic_sections): Handle .stub.  Make entry for
	DT_PPC64_GLINK.
	(ppc64_elf_final_link): Rename to ppc64_elf_set_toc.  Don't call
	bfd_elf64_bfd_final_link.
	(bfd_elf64_bfd_final_link): Don't define.
	(ppc64_elf_size_stubs): New.
	(build_plt_stub): New.
	(build_one_stub): New.
	(ppc64_elf_build_stubs): New.
	(ppc64_elf_relocate_section <toc relocs>): Remove assert.
	(ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
	(ppc64_elf_finish_dynamic_symbol): Don't build stubs here.  Set
	DT_PPC64_GLINK entry.  Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
	case output sections not separate.  Adjust DT_RELASZ to not
	include plt relocs.  Set reserved got entry.  Set got and plt
	entry size.
	(elf_backend_got_header_size): Set to 8.
	* elf64-ppc.h: New file.
2002-01-16 05:50:03 +00:00
Alan Modra b84da006ed * ppc.h (DT_PPC64_GLINK): Define. 2002-01-16 05:48:56 +00:00
Alan Modra c601ffdbb0 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
sections, use bfd_section_list_remove.
	* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
	* elflink.h (elf_link_add_object_symbols): When removing all
	sections, use bfd_section_list_clear.
2002-01-16 05:37:10 +00:00
Daniel Jacobowitz b012904272 * c-typeprint.c (is_type_conversion_operator): Add additional
check for non-conversion operators.
2002-01-16 02:43:38 +00:00
DJ Delorie 335c561080 * scripttempl/pe.sc: Add support for constructor priorities. 2002-01-16 01:48:43 +00:00
gdbadmin 391c4305e8 *** empty log message *** 2002-01-16 00:00:06 +00:00
Alan Modra 69add918a1 daily update 2002-01-15 23:00:05 +00:00
Michael Snyder ba8679fb81 Fix oops with previous checkin. 2002-01-15 20:14:04 +00:00
Michael Snyder 2bf543a6e7 2002-01-10 Michael Snyder <msnyder@redhat.com>
* linux-proc.c: Add "info proc" command, a la procfs.c.
	(read_mapping): New function, abstract and re-use code.
	(linux_find_memory_regions): Use new func read_mapping.
	(linux_info_proc_cmd): New function, implement "info proc".
	(_initialize_linux_proc): Add new command "info proc".
2002-01-15 20:10:55 +00:00
Michael Snyder e4f9b4d584 2002-01-15 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Use bfd_map_over_sections method
	instead of manipulating bfd structure members directly.
	(add_section_size_callback): New function, bfd sections callback
        used by generic_load.
	(load_sections_callback): New function, bfd sections callback
        used by generic_load.
2002-01-15 20:00:56 +00:00
Elena Zannoni 08cf96df0e 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
[Based on work by Jim Blandy]

	* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
	(builtin_type_vec128): Export.

	* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
	types.
	(builtin_type_vec128): New builtin type for 128 bit vector
	registers.
	(build_gdbtypes): Initialize builtin_type_v16qi and
	builtin_type_v8hi. Create the vec128 register builtin type
	structure.
	(build_builtin_type_vec128): New function.
 	(_initialize_gdbtypes): Register builtin_type_v16qi and
	builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.

	* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
	AltiVec register to new builtin type.
2002-01-15 19:38:19 +00:00
Andrew Cagney 7064928b62 Doh. s/kdb/kbd/ 2002-01-15 19:06:22 +00:00