OSDN Git Service
Richard Earnshaw [Sat, 27 Nov 2004 11:18:29 +0000 (11:18 +0000)]
Tweak last entry.
Richard Earnshaw [Sat, 27 Nov 2004 11:09:21 +0000 (11:09 +0000)]
* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
architecuture defining the insn.
(arm_opcodes, thumb_opcodes): Delete. Move to ...
* arm-dis.c (arm_opcodes, thumb_opcodes): Here.
Also include opcode/arm.h.
* Makefile.am (arm-dis.lo): Update dependency list.
* Makefile.in: Regenerate.
gdbadmin [Sat, 27 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Dave Anglin [Fri, 26 Nov 2004 23:57:58 +0000 (23:57 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.
Alan Modra [Fri, 26 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update
gdbadmin [Fri, 26 Nov 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 25 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Jan Beulich [Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)]
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.
gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.
include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
Fred Fish [Thu, 25 Nov 2004 02:48:27 +0000 (02:48 +0000)]
Approved by Kevin Buettner <kevinb@redhat.com>
2004-11-24 Fred Fish <fnf@specifixinc.com>
* rs6000-tdep.c (skip_prologue): Use line table info to skip over
compiler generated function calls made as part of a prologue.
H.J. Lu [Thu, 25 Nov 2004 02:14:10 +0000 (02:14 +0000)]
2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
PR 574:
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
Paul Brook [Thu, 25 Nov 2004 00:55:57 +0000 (00:55 +0000)]
2004-11-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf.c (assign_section_numbers): Number SHT_GROUP sections first.
gas/testsuite/
* gas/elf/group0a.d: Adjust expected secion ordering.
* gas/elf/group1a.d: Ditto.
* gas/elf/section4.d: Ditto.
gdbadmin [Thu, 25 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 24 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update
Paul Brook [Wed, 24 Nov 2004 14:44:42 +0000 (14:44 +0000)]
2004-11-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_swap_symbol_in): New function.
(elf32_arm_swap_symbol_out): New function.
(elf32_arm_size_info): Add.
(elf_backend_size_info): Define.
ld/testsuite/
* ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.
DJ Delorie [Wed, 24 Nov 2004 03:00:34 +0000 (03:00 +0000)]
merge from gcc
gdbadmin [Wed, 24 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 23 Nov 2004 21:14:33 +0000 (21:14 +0000)]
* inf-ttrace.c: New file.
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET. Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.
Randolph Chung [Tue, 23 Nov 2004 21:05:23 +0000 (21:05 +0000)]
2004-11-23 Randolph Chung <tausq@debian.org>
* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static. Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.
Randolph Chung [Tue, 23 Nov 2004 19:51:35 +0000 (19:51 +0000)]
2004-11-16 Randolph Chung <tausq@debian.org>
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
Joel Brobecker [Tue, 23 Nov 2004 18:59:14 +0000 (18:59 +0000)]
* sparc-tdep.c (sparc_is_unimp_insn): New function.
(sparc32_frame_cache): For functions where there is no debugging
information to help us determine whether it's a struct-return
function or not, fallback on checking whether the instruction
at the return address is an "unimp" instruction or not.
Eli Zaretskii [Tue, 23 Nov 2004 12:12:15 +0000 (12:12 +0000)]
Fix last change.
Eli Zaretskii [Tue, 23 Nov 2004 12:05:28 +0000 (12:05 +0000)]
* gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.
Jan Beulich [Tue, 23 Nov 2004 07:55:12 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.
include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).
Dave Anglin [Tue, 23 Nov 2004 01:11:18 +0000 (01:11 +0000)]
* MAINTAINERS: Add myself to write after approval section.
Dave Anglin [Tue, 23 Nov 2004 01:01:59 +0000 (01:01 +0000)]
* hppa-hpux-nat.c (child_suppress_run): Add variable to allow
hpux-thread.c to suppress children from running.
(hppa_hpux_child_can_run): New function.
(_initialize_hppa_hpux_nat): Use hppa_hpux_child_can_run.
* hpux-thread.c: Include string.h and hppa-tdep.h.
(FLAGS_REGNUM, SP_REGNUM, PC_REGNUM): Rename to HPPA_FLAGS_REGNUM,
HPPA_SP_REGNUM and HPPA_PCOQ_HEAD_REGNUM, respectively.
(hpux_thread_store_registers): Replace deprecated_registers with
calls to regcache_raw_read.
* config/pa/hpux11.mh, config/pa/hpux11w.mh: Delete HOST_IPC.
gdbadmin [Tue, 23 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 22 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 22 Nov 2004 17:43:59 +0000 (17:43 +0000)]
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
change to the short immediate syntax.
* gas/arc/ld.s: Add check of load of a long immediate.
* gas/arc/ld.d: Add expected disassembly.
gdbadmin [Mon, 22 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 21 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 21 Nov 2004 20:22:56 +0000 (20:22 +0000)]
* sparc64fbsd-nat.c: Update copyright year.
(_initialize_sparc64fbsd_nat): Construct and add target vector.
* config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o.
Daniel Jacobowitz [Sun, 21 Nov 2004 20:11:09 +0000 (20:11 +0000)]
* sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL.
Daniel Jacobowitz [Sun, 21 Nov 2004 20:10:02 +0000 (20:10 +0000)]
* linux-nat.c (my_waitpid): New function.
(linux_test_for_tracefork): Make more robust and verbose. Take
an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first.
(linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID
argument. Update calls to linux_test_for_tracefork.
(linux_enable_event_reporting, child_follow_fork)
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update calls to
linux_supports_tracefork and linux_supports_tracevforkdone.
Daniel Jacobowitz [Sun, 21 Nov 2004 19:52:13 +0000 (19:52 +0000)]
* valarith.c (value_subscript): Copy VALUE_FRAME_ID.
(value_subscripted_rvalue): Likewise.
* valops.c (search_struct_field, value_slice): Likewise.
Mark Kettenis [Sun, 21 Nov 2004 13:51:53 +0000 (13:51 +0000)]
* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
Reorder includes a bit. Fix comment.
* Makefile.in (inf-ptrace.o): Update dependencies.
Andreas Schwab [Sun, 21 Nov 2004 03:09:39 +0000 (03:09 +0000)]
* linux-m68k-low.c (m68k_num_gregs): Define.
(m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
(m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
(m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
(m68k_breakpoint_at): New. Add to the_low_target.
* configure.srv (m68*-*-linux*): Set srv_linux_regsets and
srv_linux_thread_db to yes.
Andreas Schwab [Sun, 21 Nov 2004 01:51:16 +0000 (01:51 +0000)]
* 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.
gdbadmin [Sun, 21 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Dave Anglin [Sat, 20 Nov 2004 23:56:18 +0000 (23:56 +0000)]
* 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.
Mark Kettenis [Sat, 20 Nov 2004 23:04:53 +0000 (23:04 +0000)]
* config/pa/hppahpux.mh: Remove file.
* config/pa/hpux1020.mh: Remove file.
Alan Modra [Sat, 20 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Sat, 20 Nov 2004 18:16:34 +0000 (18:16 +0000)]
* configure.host: Set host floatformat for m68k.
Eli Zaretskii [Sat, 20 Nov 2004 18:08:33 +0000 (18:08 +0000)]
Resolve file-name clash between
hppa-hpux-tdep.c and the new hppa-hpux-nat.c.
Mark Kettenis [Sat, 20 Nov 2004 17:23:57 +0000 (17:23 +0000)]
* 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.
Mark Kettenis [Sat, 20 Nov 2004 17:03:38 +0000 (17:03 +0000)]
* inf-ptrace.c: Fix coding style.
Dave Anglin [Sat, 20 Nov 2004 16:54:15 +0000 (16:54 +0000)]
* hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
make_bfd_asection.
Mark Kettenis [Sat, 20 Nov 2004 16:52:22 +0000 (16:52 +0000)]
* gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
* infptrace.c (call_ptrace): Simply call ptrace with four
arguments.
Mark Kettenis [Sat, 20 Nov 2004 12:38:38 +0000 (12:38 +0000)]
* dbxread.c (process_one_symbol): Fix a few coding standard
issues. Improve code formatting.
Mark Kettenis [Sat, 20 Nov 2004 10:20:33 +0000 (10:20 +0000)]
* 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.
Mark Kettenis [Sat, 20 Nov 2004 10:10:17 +0000 (10:10 +0000)]
* dwarf2-frame.c (read_encoded_value): Correctly calculate number
of bytes read for aligned LEB128 encodings.
DJ Delorie [Sat, 20 Nov 2004 03:00:47 +0000 (03:00 +0000)]
merge from gcc
gdbadmin [Sat, 20 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 19 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 19 Nov 2004 21:55:24 +0000 (21:55 +0000)]
* 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.
Alan Modra [Fri, 19 Nov 2004 12:38:56 +0000 (12:38 +0000)]
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.
Alan Modra [Fri, 19 Nov 2004 12:34:13 +0000 (12:34 +0000)]
* maxq-dis.c: Formatting.
(print_insn): Warning fix.
Alan Modra [Fri, 19 Nov 2004 12:28:01 +0000 (12:28 +0000)]
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.
Alan Modra [Fri, 19 Nov 2004 11:58:02 +0000 (11:58 +0000)]
* 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.
Bob Wilson [Fri, 19 Nov 2004 00:28:58 +0000 (00:28 +0000)]
* elf32-xtensa.c (ebb_propose_action): Fix argument order.
Keith Seitz [Fri, 19 Nov 2004 00:19:56 +0000 (00:19 +0000)]
* generic/gdbtk-wrapper.c (wrap_type_print): Use value_type instead
of VALUE_TYPE.
* generic/gdbtk-cmds.c (gdb_eval): Likewise.
gdbadmin [Fri, 19 Nov 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 18 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 18 Nov 2004 22:37:22 +0000 (22:37 +0000)]
* dbxread.c (process_one_symbol): Do not adjust address of first
N_SLINE stab for a function for code generated by non-GCC
compilers.
Kevin Buettner [Thu, 18 Nov 2004 17:23:05 +0000 (17:23 +0000)]
* solib-null.c: New file.
Richard Earnshaw [Thu, 18 Nov 2004 10:56:28 +0000 (10:56 +0000)]
In last change: macros not rules.
Richard Earnshaw [Thu, 18 Nov 2004 10:21:39 +0000 (10:21 +0000)]
* 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.
Andrew Cagney [Thu, 18 Nov 2004 00:16:33 +0000 (00:16 +0000)]
2004-11-17 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Drop MIPS and remote.
gdbadmin [Thu, 18 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 17 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 17 Nov 2004 17:50:28 +0000 (17:50 +0000)]
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.
gdbadmin [Wed, 17 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 16 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Tue, 16 Nov 2004 16:22:09 +0000 (16:22 +0000)]
Fix consistenco; it's triplets, not triples
Hans-Peter Nilsson [Tue, 16 Nov 2004 16:20:32 +0000 (16:20 +0000)]
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
Andreas Schwab [Tue, 16 Nov 2004 10:21:19 +0000 (10:21 +0000)]
* Makefile.in (defines.h): Depend on tmp-defines.
(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.
Richard Sandiford [Tue, 16 Nov 2004 10:16:28 +0000 (10:16 +0000)]
* 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.
Mark Mitchell [Tue, 16 Nov 2004 10:08:00 +0000 (10:08 +0000)]
* elf32-arm.c (elf32_arm_relocate_section): Use
arm_real_reloc_type.
Richard Sandiford [Tue, 16 Nov 2004 09:54:10 +0000 (09:54 +0000)]
* 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.
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:16:57 +0000 (07:16 +0000)]
* sim-config.c (sim_config): Recognize when a bfd has unspecified
endian information.
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:06:17 +0000 (07:06 +0000)]
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:02:26 +0000 (07:02 +0000)]
* Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
$(remote_sim_h) too.
(sim_main_headers): Add sim-utils.h.
DJ Delorie [Tue, 16 Nov 2004 01:18:39 +0000 (01:18 +0000)]
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, compile: Import from automake.
* config.guess, config.sub: Import from savannnah.
gdbadmin [Tue, 16 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Mon, 15 Nov 2004 23:21:26 +0000 (23:21 +0000)]
bfd/
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype.
* elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument.
(_bfd_elf_slurp_version_tables): Add extra argument. Create extra
default version definition for unversioned symbols.
* elfcode.h (elf_slurp_symbol_table): Pass extra argument.
* elflink.c (elf_link_add_object_symbols): Pass extra argument to
_bfd_elf_slurp_version_tables. Set default version for unversioned
imported symbols.
include/
* bfdlink.h (bfd_link_info): Add default_imported_symver.
ld/
* ld.texinfo: Document --default-imported-symver.
* ldmain.c (main): Set link_info.default_imported_symver.
* lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
(ld_options): Add --default-imported-symver.
(parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
Alan Modra [Mon, 15 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 15 Nov 2004 22:17:59 +0000 (22:17 +0000)]
2004-11-15 Andrew Cagney <cagney@gnu.org>
* findvar.c (value_of_register): Set the frame ID.
* value.c (value_primitive_field): Copy the frame ID.
* valops.c (value_assign): Simplify lval_register case, there's
always a frame.
Paul Brook [Mon, 15 Nov 2004 12:39:01 +0000 (12:39 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't assume version
indices are consecutive.
Richard Sandiford [Mon, 15 Nov 2004 09:09:13 +0000 (09:09 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
composite relocations against the personality data.
gdbadmin [Mon, 15 Nov 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 14 Nov 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Sun, 14 Nov 2004 19:29:46 +0000 (19:29 +0000)]
* Makefile.in (mips-linux-tdep.o): Update dependencies.
* mips-linux-tdep.c: Include "regcache.h".
(fill_fpregset, mips64_fill_fpregset): Use regcache_raw_collect.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:53:32 +0000 (18:53 +0000)]
* Makefile.in (linux-thread-db.o): Fix typo in last change.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:47:52 +0000 (18:47 +0000)]
* linux-thread-db.c: New file, renamed from thread-db.c.
* thread-db.c: Remove.
* Makefile.in (linux-thread-db.o): Rename from thread-db.o rule.
* config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o
to linux-thread-db.o.
* config/arm/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/sparc/linux.mh (NATDEPFILES): Likewise.
* config/sparc/linux64.mh (NATDEPFILES): Likewise.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:45:17 +0000 (18:45 +0000)]
* gdb.threads/threadapply.exp: Correct "macro details" test.
Andrew Cagney [Sun, 14 Nov 2004 03:57:04 +0000 (03:57 +0000)]
2004-11-13 Andrew Cagney <cagney@gnu.org>
* config/i386/i386lynx.mh: Delete file.
* config/i386/i386lynx.mt: Delete file.
* Makefile.in (ALLDEPFILES, i386ly-tdep.o): Remove i386ly-tdep.c.
* i386ly-tdep.c: Delete.
Andrew Cagney [Sun, 14 Nov 2004 03:09:26 +0000 (03:09 +0000)]
2004-11-13 Andrew Cagney <cagney@gnu.org>
* config/tm-lynx.h: Delete, inline contents ...
* config/rs6000/tm-rs6000ly.h: ... here.
Andrew Cagney [Sun, 14 Nov 2004 02:56:34 +0000 (02:56 +0000)]
2004-11-13 Andrew Cagney <cagney@gnu.org>
* config/tm-sysv4.h: Delete file, inlining contents.
* config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.
Andrew Cagney [Sun, 14 Nov 2004 01:11:07 +0000 (01:11 +0000)]
2004-11-13 Andrew Cagney <cagney@gnu.org>
* regcache.h (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
* regcache.c (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
(deprecated_read_register_byte, _initialize_regcache)
(deprecated_write_register_bytes, build_regcache): Update.
* config/powerpc/ppc-sim.mt (TDEPFILES): Remove ppc-bdm.o and
remote-sds.o.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Ditto.
* config/mips/embed.mt (TDEPFILES): Remove remote-mips.o.
Andrew Cagney [Sun, 14 Nov 2004 00:10:55 +0000 (00:10 +0000)]
2004-11-13 Andrew Cagney <cagney@gnu.org>
* NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and
v850-*-* under removed.
* configure.host: Delete ns32k-*-netbsd*.
* configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*,
ns32k-*-netbsd*, and v850*-*-*.
* MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as
"Deleted"
* config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete.
* h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete.
* mcore-tdep.c, config/mn10300/mn10300.mt: Delete.
* mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete.
* config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete.
* config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete.
* ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete.
* ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete.
* v850-tdep.c: Delete.