Daniel Jacobowitz
bad36eacda
bfd/
...
* elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf32_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(mips_elf64_howto_table_rela): Likewise.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf64_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(elf_mips_howto_table_rela): Likewise.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf32_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elfxx-mips.c: Formatting fixes.
(mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2
and R_MIPS_PC16 identically.
gas/
* config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
(macro_build): Complain for invalid branch displacements.
(mips_validate_fix): Delete.
(md_apply_fix): Re-add pcrel support for branches. Use consistent
text for misaligned branch targets.
(tc_gen_reloc: Re-add pcrel support for branches. Handle strange
BFD pcrel processing. Remove error for unresolved branches.
* config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
gas/testsuite/
* gas/mips/bge.d, gas/mips/bge.s, gas/mips/bgeu.d, gas/mips/bgeu.s,
gas/mips/blt.d, gas/mips/blt.s, gas/mips/bltu.d,
gas/mips/bltu.s: Reactivate external branch tests.
* gas/mips/branch-misc-2.d, gas/mips/branch-misc-2pic.d,
gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic-64.d: New
tests.
* gas/mips/branch-misc-2.l, gas/mips/branch-misc-2pic.l,
gas/testsuite/gas/mips/branch-misc-2pic.s: Remove.
* gas/mips/mips.exp: Adjust branch-misc-2 tests. Add 64-bit
variants.
2005-11-23 14:04:18 +00:00
Alan Modra
a14199dbd5
* elfcode.h (elf_object_p): Delay the setting of start_address
...
until we're sure the backend matches the binary.
2005-11-23 11:46:01 +00:00
Jim Wilson
aa2273ba99
Fix 32-bit host/target --enable-targets=all build failure from Doug Evans.
...
* ia64-gen.c (_opcode_int64_low, _opcode_int64_high,
opcode_fprintf_vma): New.
(print_main_table): New opcode_fprintf_vma instead of fprintf_vma.
2005-11-23 04:58:37 +00:00
Jim Wilson
cb3b8d911b
Fix PR 994, core dump with section switching.
...
* config/tc-ia64.c (slot_index): Emit an error instead of a warning
when the frag chain is broken by section switching.
2005-11-23 04:34:13 +00:00
Jim Wilson
6abae71cc3
Fix PR 1889, infinite loop compiling code with bad user template.
...
* config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
even when manual_bundling isn't set.
2005-11-23 01:40:55 +00:00
Dave Anglin
6e572af013
* gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check for
...
"$DATA$" as well as ".data".
* gas/all/sleb128.d: Likewise.
2005-11-23 00:28:58 +00:00
Jim Blandy
c1947b85a5
2005-11-21 Jim Blandy <jimb@redhat.com>
...
* gdb.texinfo (Tracepoint Packets): Document restrictions on
placement of 'R' actions in tracepoint action packets; document
dependence of 'X' and 'M' actions on a preceding 'R' action for
their registers.
2005-11-23 00:03:15 +00:00
gdbadmin
28b33698fa
*** empty log message ***
2005-11-23 00:00:03 +00:00
Alan Modra
9f13add635
daily update
2005-11-22 23:00:05 +00:00
Joel Brobecker
ab83048167
* top.c (print_gdb_version): Update copyright year.
2005-11-22 19:24:03 +00:00
gdbadmin
73f749ce79
*** empty log message ***
2005-11-22 00:00:33 +00:00
Alan Modra
0f7c2233d4
daily update
2005-11-21 23:00:05 +00:00
Arnold Metselaar
5fde93a1b4
add self as maintainer for target Z80
2005-11-21 14:26:05 +00:00
Arnold Metselaar
190668a2b3
add self as maintainer for target Z80
2005-11-21 13:43:33 +00:00
Mark Kettenis
b457b3dd73
* inf-ptrace.c (inf_ptrace_xfer_partial): Use PIOD_WRITE_I instead
...
of PIOD_WRITE_D.
2005-11-21 09:11:44 +00:00
Hans-Peter Nilsson
5e1f64305e
* sim/cris: New directory with C and assembly tests for the CRIS
...
simulator.
2005-11-21 04:48:19 +00:00
Dave Anglin
6745c7267e
Bug gas/1894 Bug gas/1895
...
* gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*.
* gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for
"$DATA$" as well as ".data".
* gas/all/redef2.d: Likewise.
2005-11-21 04:30:32 +00:00
Jim Blandy
f50e79a459
gdb/ChangeLog:
...
2005-11-19 Jim Blandy <jimb@redhat.com>
* tracepoint.c (memrange_absolute): New enum constant.
(struct memrange, memrange_cmp, add_memrange, collect_symbol,
stringify_collection_list, encode_actions): Use it instead of '-1'
to indicate an fixed-address memory range.
(Suggested by Eli Zaretskii.)
2005-11-21 00:30:22 +00:00
gdbadmin
997299430c
*** empty log message ***
2005-11-21 00:00:32 +00:00
Alan Modra
6f794eaa27
daily update
2005-11-20 23:00:07 +00:00
Dave Anglin
9af1437233
Bug gas/1879
...
* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
* gas/all/weakref1.s: Indent "-ld1 = l".
* gas/all/weakref1g.d: Remove --no-sort option.
* gas/all/weakref1l.d: Likewise.
* gas/all/weakref1u.d: Likewise. Sort expected results.
* gas/all/weakref1w.d: Likewise.
* gas/all/weakref2.s: Indent directives.
* gas/all/weakref3.s: Likewise.
2005-11-20 22:03:25 +00:00
Dave Anglin
f29ba31228
* som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
...
manner as bfd_decode_symclass.
2005-11-20 19:21:06 +00:00
Hans-Peter Nilsson
8b9b39f44a
cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
...
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
TARGET_O_WRONLY.
(cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
F_GETFL on fd 0, 1 and 2.
2005-11-20 14:52:36 +00:00
Jim Blandy
9d29849ad8
gdb/doc/ChangeLog:
...
2005-11-19 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Tracepoint Packets): New node.
(General Query Packets): Add entries for the tracepoint packets,
referring to the "Tracepoint Packets" node.
(Tracepoints): Add reference to "Tracepoint Packets".
2005-11-20 06:12:59 +00:00
gdbadmin
9fb4b40d62
*** empty log message ***
2005-11-20 00:00:02 +00:00
Alan Modra
69d7c8d861
daily update
2005-11-19 23:00:06 +00:00
Jim Blandy
d194871675
2005-11-19 Jim Blandy <jimb@redhat.com>
...
* tracepoint.c (stringify_collection_list): Indicate absolute
memory ranges by using "-1" as the memory range's base register
number, not "FFFFFFFF".
2005-11-19 18:57:28 +00:00
Randolph Chung
9c23835799
2005-11-19 Randolph Chung <tausq@debian.org>
...
* dwarf2loc.c (dwarf2_tracepoint_var_ref): Remove extra add for
DW_OP_fbreg. Handle DW_OP_breg0 through DW_OP_breg31. Print
DWARF opcode for unsupported case.
2005-11-19 13:43:35 +00:00
Randolph Chung
27b08a0cb4
2005-11-19 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Use
HPPA_HPUX_SS_* constants. Ensure "off" is large enough to hold
64-bit offset. Set proper signal context offset for 64-bit
programs. Set pc properly for signal frames.
2005-11-19 12:55:55 +00:00
Randolph Chung
765697c9ec
2005-11-19 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the
unwind record to determine a signal frame, instead of hardcoding
a function name.
2005-11-19 12:47:21 +00:00
Randolph Chung
c4c79048fa
2005-11-19 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (skip_prologue_hard_way): Add one more insn pattern
for "std rp,-0x10(sp)".
(hppa_frame_cache): Likewise.
(hppa_fallback_frame_cache): Likewise.
2005-11-19 12:39:50 +00:00
Randolph Chung
9ed5ba2423
2005-11-19 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_cache): Reformat code and enhance
debugging.
2005-11-19 12:38:56 +00:00
Jim Blandy
6244699480
2005-11-18 Jim Blandy <jimb@redhat.com>
...
* tracepoint.c (collect_symbol): Doc fix.
2005-11-19 04:44:43 +00:00
Jim Blandy
0f570f537e
2005-11-18 Jim Blandy <jimb@redhat.com>
...
* tracepoint.c (struct memrange): Doc fix.
2005-11-19 01:23:26 +00:00
gdbadmin
7148bbdc24
*** empty log message ***
2005-11-19 00:00:34 +00:00
Alan Modra
8ed3a9967b
daily update
2005-11-18 23:00:05 +00:00
Kevin Buettner
9a6253be92
* gdb.texinfo (set remotebreak): Add anchor.
...
(X packet): Likewise.
(Remote Protocol): Add new section `Interrupts' and new index
entry `interrupts (remote protocol)'.
2005-11-18 22:17:09 +00:00
Jim Blandy
5f3bebba9f
* gdb.texinfo (Packets): Move information out of 'q' and 'Q'
...
entries into the General Query Packets section. Add a
cross-reference to that section. Drop description of replies, as
these are covered in the descriptions of each packet.
(General Query Packets): Add introductory text. Explain naming
conventions, and how the end of a name is recognized.
2005-11-18 19:20:56 +00:00
Andrew Stubbs
0be75e0273
2005-11-18 Andrew Stubbs <andrew.stubbs@st.com>
...
* mi/mi-main.c (mi_load_progress): Ensure the use of the correct mi
uiout for the duration of the function.
2005-11-18 17:02:14 +00:00
Jie Zhang
73562ad0c7
* config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
...
* config/bfin-parse.y (asm_1): Check register type for load immediate
instruction.
2005-11-18 14:21:29 +00:00
Nick Roberts
a2140d4d10
(gdb-source-file-list): Declare.
...
(gdbmi): Bind new functions.
(gdbmi-var-list-children-handler, gdbmi-var-list-children-regexp):
Handle string expressions properly. Move "type" field into regexp.
(gdbmi-var-update-regexp, gdbmi-var-update-handler): Handle string
expressions properly. Update speedbar.
(gdbmi-breakpoints-buffer, gdb-stack-buffer, gdb-locals-buffer)
(gdb-registers-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as handlers is defined explicitly.
(gdb-stack-list-locals-handler): Handle string expressions properly.
(gdb-data-list-register-values-handler)
(gdb-data-list-register-values-custom): Fontify buffer.
2005-11-18 06:37:38 +00:00
Nick Roberts
0d983938b1
*** empty log message ***
2005-11-18 06:37:11 +00:00
Nick Roberts
8da2ba18fd
*** empty log message ***
2005-11-18 06:35:02 +00:00
Alan Modra
220c76ddc0
* elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
...
on branches to same section.
2005-11-18 04:52:57 +00:00
Alan Modra
33ec65816e
* ld-powerpc/symtocbase.d: Adjust for alignment change.
2005-11-18 04:41:30 +00:00
Alan Modra
e87deb82cc
* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
...
(.got, .toc1, .opd): Likewise.
2005-11-18 04:26:29 +00:00
Alan Modra
94b50910fb
* ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
...
changes to section alignment.
* ldmisc.c (vfinfo): Handle %ld and %lu.
2005-11-18 04:12:27 +00:00
Dave Anglin
d97a892405
* elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
...
hppa64-hp-hpux11.11.
(elf64_hppa_section_from_phdr): New function.
(elf_backend_section_from_phdr): Define.
2005-11-18 00:48:50 +00:00
gdbadmin
1928f86ce1
*** empty log message ***
2005-11-18 00:00:02 +00:00
Alan Modra
747f9e06fb
daily update
2005-11-17 23:00:05 +00:00