Commit Graph

46156 Commits

Author SHA1 Message Date
Andreas Schwab fefa18880b * m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h".
(m68k_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
	svr4_ilp32_fetch_link_map_offsets and gdbarch_skip_solib_resolver
	to glibc_skip_solib_resolver.
	* config/m68k/linux.mt (TDEPFILES): Add glibc-tdep.o.  Remove
	solib-legacy.o.
	* Makefile.in (m68klinux-tdep.o): Update dependencies.
2004-11-21 01:51:16 +00:00
gdbadmin 27a987e351 *** empty log message *** 2004-11-21 00:00:02 +00:00
Dave Anglin d564a7d4b1 * infttrace.h (ttrace_write_reg_64): Add prototype.
* hppah-nat.c (store_inferior_registers): Fix warning from ambiguous
	expression.
	(store_inferior_registers): Correct formatting.  Replace uses of
	deprecated_registers with calls to regcache_raw_read,
	regcache_raw_write_part and regcache_raw_read_part.
2004-11-20 23:56:18 +00:00
Mark Kettenis 3f70a5e974 * config/pa/hppahpux.mh: Remove file.
* config/pa/hpux1020.mh: Remove file.
2004-11-20 23:04:53 +00:00
Alan Modra 77ee03ac8e daily update 2004-11-20 23:00:05 +00:00
Andreas Schwab ced0d73d51 * configure.host: Set host floatformat for m68k. 2004-11-20 18:16:34 +00:00
Eli Zaretskii fcf54f50e5 Resolve file-name clash between
hppa-hpux-tdep.c and the new hppa-hpux-nat.c.
2004-11-20 18:08:33 +00:00
Mark Kettenis eeb8076cc0 * hppa-hpux-nat.c: New file.
* config/pa/hpux.mh (NATDEPFILES): New file.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c.
(hppa-hpux-nat.o): New dependency.
* configure.host: Remove hppa*-*-hpux10.20.
(hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh.
2004-11-20 17:23:57 +00:00
Mark Kettenis f6ffd89b00 * inf-ptrace.c: Fix coding style. 2004-11-20 17:03:38 +00:00
Dave Anglin 3dd2fcf06b * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
make_bfd_asection.
2004-11-20 16:54:15 +00:00
Mark Kettenis f1bc22da72 * gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
* infptrace.c (call_ptrace): Simply call ptrace with four
arguments.
2004-11-20 16:52:22 +00:00
Mark Kettenis e31272c3a6 * dbxread.c (process_one_symbol): Fix a few coding standard
issues.  Improve code formatting.
2004-11-20 12:38:38 +00:00
Mark Kettenis 91f54576a2 * dbxread.c: Include "gdb_string.h".
(record_minimal_symbol, read_ofile_symtab): Replace
DEPRECATED_STREQ and DEPRECATED_STREQN with strcmp and strncmp.
* Makefile.in (dbxread.o): Update dependencies.
2004-11-20 10:20:33 +00:00
Mark Kettenis a728960949 * dwarf2-frame.c (read_encoded_value): Correctly calculate number
of bytes read for aligned LEB128 encodings.
2004-11-20 10:10:17 +00:00
DJ Delorie 3e0f14040c merge from gcc 2004-11-20 03:00:47 +00:00
gdbadmin ef81051b92 *** empty log message *** 2004-11-20 00:00:34 +00:00
Alan Modra 60575ce718 daily update 2004-11-19 23:00:08 +00:00
Mark Kettenis 57ac95b8fc * bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.
2004-11-19 21:55:24 +00:00
Mark Mitchell 6b3221b47a * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
(earmelf_linux_eabi.c): New target.
	* configure.tgt (arm*-*-linux-gnueabi): Handle it.
	* emulparams/armelf_linux_eabi.sh: New file.
	* Makefile.in: Regenerated.
2004-11-19 19:28:40 +00:00
Alan Modra 5da8bf1b0b * or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.
2004-11-19 12:38:56 +00:00
Alan Modra ca4f237785 * maxq-dis.c: Formatting.
(print_insn): Warning fix.
2004-11-19 12:34:13 +00:00
Alan Modra f5c7edf4d6 include/opcode/
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
	struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
gas/
	* config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
	struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
2004-11-19 12:28:03 +00:00
Alan Modra a4528eebc0 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
(coff_adjust_symtab): Adjust call.
	(crawl_symbols): Likewise.
	* config/obj-coff.h (c_dot_file_symbol): Add "app" param.
	(obj_app_file): Adjust.
2004-11-19 12:20:25 +00:00
Alan Modra de52dba4ab * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
	* nlmcode.h (nlm_write_object_contents): Warning fix.
2004-11-19 11:58:02 +00:00
Nick Clifton 9cd6d51a56 PR 518
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.
2004-11-19 09:38:04 +00:00
Nick Clifton 3ec5763260 Add ORIGIN and LENGTH linker script operators. 2004-11-19 09:31:55 +00:00
Bob Wilson 288f74fae9 * elf32-xtensa.c (ebb_propose_action): Fix argument order. 2004-11-19 00:28:58 +00:00
gdbadmin c457f63246 *** empty log message *** 2004-11-19 00:00:31 +00:00
Alan Modra 36ed297bac daily update 2004-11-18 23:00:06 +00:00
Mark Kettenis ceddaf06ac * dbxread.c (process_one_symbol): Do not adjust address of first
N_SLINE stab for a function for code generated by non-GCC
compilers.
2004-11-18 22:37:22 +00:00
Kevin Buettner 915a2d21dd * solib-null.c: New file. 2004-11-18 17:23:05 +00:00
Nick Clifton 444bf5f39e Enable bfd_assembler by default for the MAXQ port.
Adjust the testsuite expected disassemblies to take this into account.
2004-11-18 16:20:11 +00:00
Richard Earnshaw 15f5e61fb4 In last change: macros not rules. 2004-11-18 10:56:28 +00:00
Richard Earnshaw 08cd376098 * Make-common.in (sim-*_h): Add rules for all sim headers. Also
add sub-dependencies for other sim files that they include.
(sim_main_headers): Use sim-*_h rules.
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.
2004-11-18 10:21:39 +00:00
Andrew Cagney 92790ee734 2004-11-17 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Drop MIPS and remote.
2004-11-18 00:16:33 +00:00
gdbadmin 90f90d2cef *** empty log message *** 2004-11-18 00:00:03 +00:00
Alan Modra 4a709ceef9 daily update 2004-11-17 23:00:07 +00:00
Daniel Jacobowitz b7693d0213 bfd/
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
	(elf32_arm_plt_thumb_stub): New.
	(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
	and plt_got_offset.
	(elf32_arm_link_hash_traverse): Fix typo.
	(elf32_arm_link_hash_table): Add obfd.
	(elf32_arm_link_hash_newfunc): Initialize new fields.
	(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
	(elf32_arm_link_hash_table_create): Initialize obfd.
	(record_arm_to_thumb_glue): Mark the glue as a local ARM function.
	(record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
	(bfd_elf32_arm_get_bfd_for_interworking): Verify that the
	interworking BFD is not dynamic.
	(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32.  Do
	not emit glue for PLT references.
	(elf32_arm_final_link_relocate): Handle Thumb functions.  Do not
	emit glue for PLT references.  Support the Thumb PLT prefix.
	(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
	plt_thumb_refcount.
	(elf32_arm_check_relocs): Likewise.
	(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
	plt_thumb_refcount.
	(allocate_dynrelocs): Handle Thumb PLT references.
	(elf32_arm_finish_dynamic_symbol): Likewise.
	(elf32_arm_symbol_processing): New function.
	(elf_backend_symbol_processing): Define.
opcodes/
	* arm-dis.c (WORD_ADDRESS): Define.
	(print_insn): Use it.  Correct big-endian end-of-section handling.
gas/testsuite/
	* gas/arm/mapping.d: Expect F markers for Thumb code.
	* gas/arm/unwind.d: Update big-endian pattern.
ld/
	* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
	a dynamic object for stubs.
ld/testsuite/
	* ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s,
	ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r,
	ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld,
	ld-arm/arm-lib.ld: New files.
	* ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d,
	ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r,
	ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d,
	ld-arm/arm-static-app.r: Update for big-endian.
	* ld-arm/arm-elf.exp: Run the new tests.
2004-11-17 17:50:28 +00:00
Nick Clifton e2cb164148 Run the relax test. 2004-11-17 15:31:46 +00:00
gdbadmin 4f151830a9 *** empty log message *** 2004-11-17 00:00:02 +00:00
Alan Modra 5a0a6f7a13 daily update 2004-11-16 23:00:07 +00:00
Hans-Peter Nilsson 27509da04b Fix consistenco; it's triplets, not triples 2004-11-16 16:22:09 +00:00
Hans-Peter Nilsson 310ca70ce2 * lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail". 2004-11-16 16:20:32 +00:00
Andreas Schwab 99b5727687 * Makefile.in (defines.h): Depend on tmp-defines.
(hw.c hw.h): Depend on tmp-hw.
	(pk.h): Depend on tmp-pk.
2004-11-16 10:21:19 +00:00
Richard Sandiford 353057a53c * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
add_fde_encoding.  Remove need_relative.
	* elf-eh-frame.c (extra_augmentation_string_bytes)
	(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
	(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
	in cases where the CIE has no existing 'R' augmentation.  Use
	size_of_output_cie_fde when assigning offsets.  Use the final offset
	as the new section size.
	(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
	Account for any extra augmentation bytes in the returned offset.
	(_bfd_elf_write_section_eh_frame): Rework so that the entries are
	moved before being modified.  Pad growing entries with DW_CFA_nops.
	Add 'z' and 'R' augmentations as directed by add_augmentation_size
	and add_fde_encoding.
2004-11-16 10:16:30 +00:00
Mark Mitchell b32d3aa2a0 * elf32-arm.c (elf32_arm_relocate_section): Use
arm_real_reloc_type.
2004-11-16 10:08:00 +00:00
Richard Sandiford 5d41f0b6e5 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
for discard relocations; don't add an R_MIPS_NONE to the main body
	of .rel.dyn.
2004-11-16 09:54:10 +00:00
Hans-Peter Nilsson 1d72487d99 * sim-config.c (sim_config): Recognize when a bfd has unspecified
endian information.
2004-11-16 07:16:57 +00:00
Hans-Peter Nilsson 5eba45c188 * lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
2004-11-16 07:06:17 +00:00
Hans-Peter Nilsson 1afbf1866f * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
$(remote_sim_h) too.
	(sim_main_headers): Add sim-utils.h.
2004-11-16 07:02:26 +00:00