binutils-gdb.git
17 years ago2007-03-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 24 Mar 2007 01:29:00 +0000 (01:29 +0000)]
2007-03-24  Paul Brook  <paul@codesourcery.com>
Mark Shinwell  <shinwell@codesourcery.com>

gas/
* config/tc-arm.c (operand_parse_code): Add OP_oRRw.
(parse_operands): Don't expect comma if first operand missing.
Handle OP_oRRw.
(do_srs): Encode register number, checking it is r13.  Update comment.
(insns): Update SRS entries to take a register.

gas/testsuite/
* gas/arm/archv6.s: Add new SRS tests.
* gas/arm/archv6.d: Update expected output.
* gas/arm/thumb32.s: Add new SRS tests.
* gas/arm/thumb32.d: Update expected output.
* gas/arm/srs-t2.d: New.
* gas/arm/srs-t2.l: New.
* gas/arm/srs-t2.s: New.
* gas/arm/srs-arm.d: New.
* gas/arm/srs-arm.l: New.
* gas/arm/srs-arm.s: New.

opcodes/
* arm-dis.c (arm_opcodes): Print SRS base register.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 23 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago PR gas/3811
Kaz Kojima [Fri, 23 Mar 2007 21:26:23 +0000 (21:26 +0000)]
PR gas/3811
* readelf.c (debug_apply_rela_addends): Do nothing for SH.

17 years ago2003-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:14:08 +0000 (17:14 +0000)]
2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

17 years ago2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:11:54 +0000 (17:11 +0000)]
2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.

17 years agogas/
H.J. Lu [Fri, 23 Mar 2007 16:17:21 +0000 (16:17 +0000)]
gas/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_begin): Allow '.' in mnemonic.

gas/testsuite/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/rex.s: Add tests for rex.WRXB.
* gas/i386/rex.d: Updated.

* gas/i386/rex.d: Replace rex64XYZ with rex.WRXB.
* gas/i386/x86-64-io-intel.d : Likewise.
* gas/i386/x86-64-io-suffix.d: Likewise.
* gas/i386/x86-64-io.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.

* i386-opc.c (i386_optab): Add rex.wrxb.

17 years ago* gdb.base/sigbpt.exp: Fix the message when skipping test.
Maciej W. Rozycki [Fri, 23 Mar 2007 12:41:18 +0000 (12:41 +0000)]
* gdb.base/sigbpt.exp: Fix the message when skipping test.
* gdb.base/signull.exp: Similarly.

17 years agoTypo correction.
Mark Shinwell [Fri, 23 Mar 2007 10:44:08 +0000 (10:44 +0000)]
Typo correction.

17 years ago gas/
Mark Shinwell [Fri, 23 Mar 2007 10:43:35 +0000 (10:43 +0000)]
gas/
* config/tc-arm.c (md_apply_fix): Turn CZB instructions that
attempt to jump to the next instruction into NOPs.

17 years agobfd:
Joseph Myers [Fri, 23 Mar 2007 02:51:30 +0000 (02:51 +0000)]
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.

config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.

17 years ago * ld-spu/ovl.s (f4_a2): Tail call.
Alan Modra [Fri, 23 Mar 2007 00:48:05 +0000 (00:48 +0000)]
* ld-spu/ovl.s (f4_a2): Tail call.
* ld-spu/ovl.d: Add --emit-relocs to ld options, -r to objdump.
Update expected results.

17 years ago * config/tc-spu.c: Don't include opcode/spu.h.
Alan Modra [Fri, 23 Mar 2007 00:42:26 +0000 (00:42 +0000)]
* config/tc-spu.c: Don't include opcode/spu.h.
(md_assemble): Set tc_fix_data.insn_tag and arg_format.
(md_apply_fix): Adjust.
* config/tc-spu.h: Include opcode/spu.h.
(struct tc_fix_info): New.
(TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
(TC_FORCE_RELOCATION): Define.

17 years ago * elf32-spu.c (spu_stub_name): Don't put input section in stub name.
Alan Modra [Fri, 23 Mar 2007 00:42:00 +0000 (00:42 +0000)]
* elf32-spu.c (spu_stub_name): Don't put input section in stub name.
Remove input_sec param.  Adjust all calls.
(write_one_stub): Adjust stub symbol.
(needs_ovl_stub): New function, extracted from..
(spu_elf_size_stubs): ..here.
(spu_elf_relocate_section): Use needs_ovl_stub.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Mar 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ld-sh/ld-r-1.d: Update.
Kaz Kojima [Fri, 23 Mar 2007 00:00:23 +0000 (00:00 +0000)]
* ld-sh/ld-r-1.d: Update.
* ld-sh/shared-1.d: Likewise.

17 years ago * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.
Alan Modra [Thu, 22 Mar 2007 23:44:00 +0000 (23:44 +0000)]
* ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.

17 years agodaily update
Alan Modra [Thu, 22 Mar 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years agobfd:
Joseph Myers [Thu, 22 Mar 2007 21:18:34 +0000 (21:18 +0000)]
bfd:
* Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi
if nonempty.
* configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix.
* Makefile.in, configure, doc/Makefile.in: Regenerate.

binutils:
* doc/binutils.texi: Include VERSION_PACKAGE when reporting
version.

gas:
* doc/as.texinfo: Include VERSION_PACKAGE when reporting version.

gprof:
* Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
(AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
* Makefile.in: Regenerate.
* gprof.texi: Include bfdver.texi.  Report both VERSION_PACKAGE
and VERSION.

ld:
* ld.texinfo: Include VERSION_PACKAGE when reporting version.

17 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
H.J. Lu [Thu, 22 Mar 2007 16:02:56 +0000 (16:02 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

17 years agobfd/
H.J. Lu [Thu, 22 Mar 2007 15:52:29 +0000 (15:52 +0000)]
bfd/

2003-03-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4210
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual
address and virtual size of the last section for the image
size.

ld/testsuite/

2003-03-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4210
* ld-pe/image_size.d: New file.
* ld-pe/image_size.s: Likewise.
* ld-pe/image_size.t: Likewise.

* ld-pe/pe.exp: Run image_size.

17 years agobfd/
H.J. Lu [Thu, 22 Mar 2007 15:50:38 +0000 (15:50 +0000)]
bfd/

2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4007
* elf.c (assign_file_positions_for_load_sections): Check if
all sections are in the segment.

ld/testsuite/

2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4007
* ld-elf/note-1.d: New file.
* ld-elf/note-1.s: Likewise.
* ld-elf/note-1.t: Likewise.
* ld-i386/alloc.d: Likewise.
* ld-i386/alloc.s: Likewise.
* ld-i386/alloc.t: Likewise.

* ld-i386/i386.exp: Run "alloc".

17 years ago* remote-mips.c (mips_xfer_memory): Update prototype.
Maciej W. Rozycki [Thu, 22 Mar 2007 14:21:02 +0000 (14:21 +0000)]
* remote-mips.c (mips_xfer_memory): Update prototype.

17 years ago * symfile.h: #include "symtab.h"
Joel Brobecker [Thu, 22 Mar 2007 13:35:05 +0000 (13:35 +0000)]
    * symfile.h: #include "symtab.h"

17 years ago2007-03-22 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Thu, 22 Mar 2007 09:58:53 +0000 (09:58 +0000)]
2007-03-22  Denis Pilat  <denis.pilat@st.com>

* utils.c (pagination_on_command, pagination_off_command):
Remove useless prototypes.

17 years ago2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 22 Mar 2007 00:27:14 +0000 (00:27 +0000)]
2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Check 0x90 instead of
xchg for xchg %rax,%rax.

17 years ago*** empty log message ***
gdbadmin [Thu, 22 Mar 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * fix PR2232 according to patch submitted
Pierre Muller [Wed, 21 Mar 2007 23:57:14 +0000 (23:57 +0000)]
 * fix PR2232 according to patch submitted

17 years agodaily update
Alan Modra [Wed, 21 Mar 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agogas/
H.J. Lu [Wed, 21 Mar 2007 21:23:44 +0000 (21:23 +0000)]
gas/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.

include/opcode/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (REX_MODE64): Renamed to ...
(REX_W): This.
(REX_EXTX): Renamed to ...
(REX_R): This.
(REX_EXTY): Renamed to ...
(REX_X): This.
(REX_EXTZ): Renamed to ...
(REX_B): This.

opcodes/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (REX_MODE64): Remove definition.
(REX_EXTX): Likewise.
(REX_EXTY): Likewise.
(REX_EXTZ): Likewise.
(USED_REX): Use REX_OPCODE instead of 0x40.
Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
REX_R, REX_X and REX_B respectively.

17 years agogas/
H.J. Lu [Wed, 21 Mar 2007 20:45:14 +0000 (20:45 +0000)]
gas/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* config/tc-i386.c (match_template): Properly handle 64bit mode
"xchg %eax, %eax".

gas/testsuite/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* gas/i386/nops.s: Add testcases for nop r/m.
* gas/i386/x86-64-nops.s: Likewise.

* gas/i386/x86-64-opcode.s: Add testcases for xchg with %ax,
%eax and %rax.

* gas/i386/nops.d: Updated.
* gas/i386/x86-64-nops.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* i386-dis.c (PREGRP38): New.
(dis386): Use PREGRP38 for 0x90.
(prefix_user_table): Add PREGRP38.
(print_insn): Set uses_REPZ_prefix to 1 for pause.
(NOP_Fixup1): Properly handle REX bits.
(NOP_Fixup2): Likewise.

* i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
Allow register with nop.

17 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
Richard Sandiford [Wed, 21 Mar 2007 20:11:06 +0000 (20:11 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob.  Quote arguments with single quotes too.
* configure: Regenerate.

17 years ago2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 21 Mar 2007 19:33:06 +0000 (19:33 +0000)]
2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops-3.

* gas/i386/nops-3.d: New file.
* gas/i386/nops-3.s: Likewise.

17 years agoPR gas/4124
Nick Clifton [Wed, 21 Mar 2007 16:08:14 +0000 (16:08 +0000)]
PR gas/4124
* config/tc-alpha.c (emit_ustX): Fix ustq code generation.

17 years ago2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 21 Mar 2007 15:37:21 +0000 (15:37 +0000)]
2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run dep-am.
* Makefile.in: Regenerated.

* config/tc-i386.c: Don't include "opcodes/i386-opc.h".

* config/tc-i386.h: Include "opcodes/i386-opc.h".
(NOP_OPCODE): Removed.
(template): Likewise.

17 years ago * config/tc-i386.h (NOP_OPCODE): Restore.
Andreas Schwab [Wed, 21 Mar 2007 10:26:15 +0000 (10:26 +0000)]
* config/tc-i386.h (NOP_OPCODE): Restore.

17 years ago2003-03-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 21 Mar 2007 04:03:09 +0000 (04:03 +0000)]
2003-03-19  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4208
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing
matching LO16 relocation for HI16 relocation.

17 years ago* m32c.cpu (f-dsp-40-u20, f-dsp-48-u20, Dsp-40-u20, Dsp-40-u20,
DJ Delorie [Wed, 21 Mar 2007 02:53:50 +0000 (02:53 +0000)]
* m32c.cpu (f-dsp-40-u20, f-dsp-48-u20, Dsp-40-u20, Dsp-40-u20,
mem20): New.
(src16-16-20-An-relative-*): New.
(dst16-*-20-An-relative-*): New.
(dst16-16-16sa-*): New
(dst16-16-16ar-*): New
(dst32-16-16sa-Unprefixed-*): New
(jsri): Fix operands.
(setzx): Fix encoding.

* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.h: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Wed, 21 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 20 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2007-03-20 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 20 Mar 2007 20:19:07 +0000 (20:19 +0000)]
2007-03-20  Paul Brook  <paul@codesourcery.com>

ld/
* emultempl/armelf.em (pic_veneer): New variable.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
(PARSE_AND_LIST_ARGS_CASES): Ditto.
(PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
(PARSE_AND_LIST_OPTIONS): Ditto.
* ld.texinfo: Document --pic-veneer.

ld/testsuite/
* ld-arm/arm-elf.exp (ld-arm/arm-elf.exp): Add arm-pic-veneer.
* ld-arm/arm-pic-veneer.d: New test.
* ld-arm/arm-pic-veneer.s: New test.

bfd/
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer.
(record_arm_to_thumb_glue): Use globals->pic_veneer.
(elf32_arm_create_thumb_stub): Ditto.
(bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer.

17 years ago bfd/
Mark Shinwell [Tue, 20 Mar 2007 14:24:57 +0000 (14:24 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *"
argument and extra last argument.
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning
member.
(bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and
extra last argument.  Set no_enum_size_warning appropriately.
(elf32_arm_merge_eabi_attributes): Improve enum sizes
diagnostic, suppressing it when no_enum_size_warning dictates.

ld/
* ld.texinfo: Document --no-enum-size-warning.
* emultempl/armelf.em (no_enum_size_warning): New.
(arm_elf_create_output_section_statements): Correct typo
in comment.  Pass no_enum_size_warning to
bfd_elf32_arm_set_target_relocs.
(PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
(PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
case.

17 years ago gas/testsuite/
Mark Shinwell [Tue, 20 Mar 2007 13:01:47 +0000 (13:01 +0000)]
gas/testsuite/
* gas/arm/mul-overlap.s: Don't use %type.
* gas/arm/mul-overlap.l: Update line numbers.
* gas/arm/mul-overlap-v6.s: Don't use %type.

17 years agoPR binutils/3535
Nick Clifton [Tue, 20 Mar 2007 12:18:18 +0000 (12:18 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Widen the scope of Solaris specific
  conditions that need the program headers to be rewritten.

17 years ago*** empty log message ***
gdbadmin [Tue, 20 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
H.J. Lu [Mon, 19 Mar 2007 23:06:06 +0000 (23:06 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 19 Mar 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
Kevin Buettner [Mon, 19 Mar 2007 19:00:50 +0000 (19:00 +0000)]
* mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
Specify frame type in calls to frame_func_unwind().

17 years ago * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
Bernd Schmidt [Mon, 19 Mar 2007 17:31:31 +0000 (17:31 +0000)]
* configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
(bfin-*-linux-uclibc*): New target.

17 years ago*** empty log message ***
gdbadmin [Mon, 19 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 18 Mar 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2003-03-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 18 Mar 2007 17:20:07 +0000 (17:20 +0000)]
2003-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec
only if BFD64 is defined.

17 years ago gas/
Mark Shinwell [Sun, 18 Mar 2007 16:21:27 +0000 (16:21 +0000)]
gas/
* config/tc-arm.c (do_mul): Don't warn about overlapping
Rd and Rm operands when assembling for v6 or above.
Correctly capitalize register names in the messages.
(do_mlas): Likewise.  Delete spurious blank line.

gas/testsuite/
* gas/arm/mul-overlap.s: New.
* gas/arm/mul-overlap.d: New.
* gas/arm/mul-overlap.l: New.
* gas/arm/mul-overlap-v6.s: New.
* gas/arm/mul-overlap-v6.d: New.

17 years agoCorrect attribution
Vladimir Prus [Sun, 18 Mar 2007 09:14:30 +0000 (09:14 +0000)]
Correct attribution

17 years ago*** empty log message ***
gdbadmin [Sun, 18 Mar 2007 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 17 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub
Alan Modra [Sat, 17 Mar 2007 02:56:37 +0000 (02:56 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub
on setjmp calls.

17 years ago*** empty log message ***
gdbadmin [Sat, 17 Mar 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 16 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
Kazu Hirata [Fri, 16 Mar 2007 18:08:58 +0000 (18:08 +0000)]
* config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.

17 years ago * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
Ulrich Weigand [Fri, 16 Mar 2007 15:29:00 +0000 (15:29 +0000)]
* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
messages available to test cases (like chng-sym.exp).

17 years agoUse pc-relative relocation instead of an absolute relocation for x86_64-pc-mingw32...
Nick Clifton [Fri, 16 Mar 2007 15:13:21 +0000 (15:13 +0000)]
Use pc-relative relocation instead of an absolute relocation for x86_64-pc-mingw32 target.

17 years agodaily update
Alan Modra [Fri, 16 Mar 2007 01:23:08 +0000 (01:23 +0000)]
daily update

17 years ago * cp-demangle.c (d_encoding): Exit early on error.
Geoffrey Keating [Fri, 16 Mar 2007 01:09:26 +0000 (01:09 +0000)]
* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.

17 years ago*** empty log message ***
gdbadmin [Fri, 16 Mar 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agogas/
H.J. Lu [Thu, 15 Mar 2007 17:30:31 +0000 (17:30 +0000)]
gas/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_begin): Use i386_regtab_size to scan
i386_regtab.
(parse_register): Use i386_regtab_size instead of ARRAY_SIZE
on i386_regtab.

opcodes/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.c: Include "libiberty.h".
(i386_regtab): Remove the last entry.
(i386_regtab_size): New.
(i386_float_regtab_size): Likewise.

* i386-opc.h (i386_regtab_size): New.
(i386_float_regtab_size): Likewise.

17 years ago2007-03-15 Alexandre Oliva <aoliva@redhat.com>
H.J. Lu [Thu, 15 Mar 2007 14:58:05 +0000 (14:58 +0000)]
2007-03-15  Alexandre Oliva  <aoliva@redhat.com>

PR gas/4184
* app.c (do_scrub_chars): PUT after setting states.

17 years agogas/
H.J. Lu [Thu, 15 Mar 2007 14:31:24 +0000 (14:31 +0000)]
gas/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
"opcode/i386.h".
(md_begin): Check reg_name != NULL for the last entry in
i386_regtab.

* config/tc-i386.h: Move many entries to opcode/i386.h and
opcodes/i386-opc.h.

* configure.in (need_opcodes): Set true for i386.
* configure: Regenerated.

include/opcode/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h: Add entries from config/tc-i386.h and move tables
to opcodes/i386-opc.h.

opcodes/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CFILES): Add i386-opc.c.
(ALL_MACHINES): Add i386-opc.lo.
Run "make dep-am".
* Makefile.in: Regenerated.

* configure.in: Add i386-opc.lo for bfd_i386_arch.
* configure: Regenerated.

* i386-dis.c: Include "opcode/i386.h".
(MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
(FWAIT_OPCODE): Remove definition.
(UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
(MAX_OPERANDS): Remove definition.

* i386-opc.c: New file.
* i386-opc.h: Likewise.

17 years ago2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 15 Mar 2007 14:21:59 +0000 (14:21 +0000)]
2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* doc/Makefile.in: Regenerated.

17 years ago2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 15 Mar 2007 14:20:32 +0000 (14:20 +0000)]
2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.

17 years agobfd/
H.J. Lu [Thu, 15 Mar 2007 14:17:20 +0000 (14:17 +0000)]
bfd/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (bfdver.h): Substitute report_bugs_to.  Also
create doc/bfdver.texi.
* Makefile.in: Regenerated.

* configure.in (--with-bugurl): New option.
* configure: Regenerated.

* version.h (REPORT_BUGS_TO): New.

binutils/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.

* bucomm.c: Don't include bfdver.h.
* objdump.c: Likewise.
* version.c: Likewise.

* bucomm.h: Include bfdver.h.

* configure.in (--with-bugurl): Removed.
* configure: Regenerated.

* doc/Makefile.am (binutils_TEXINFOS): Removed.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(config.texi): Removed.
(MOSTLYCLEANFILES): Remove config.texi.
* doc/Makefile.in: Regenerated.

* doc/binutils.texi: Include bfdver.texi instead of
config.texi.

gas/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.

* configure.in (--with-bugurl): Removed.
* configure: Regenerated.

* doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(gasver.texi): Removed.
(MOSTLYCLEANFILES): Remove gasver.texi.
(as.1): Don't depend on gasver.texi.
* doc/Makefile.in: Regenerated.

* doc/as.texi: Include bfdver.texi instead of gasver.texi.

gprof/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.

* configure.in (--with-bugurl): Removed.
* configure: Regenerated.

ld/

2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ld_TEXINFOS): Remove ldver.texi.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
(ldver.texi): Likewise.
(ld.1): Don't depend on ldver.texi.
(MOSTLYCLEANFILES): Remove ldver.texi.
* Makefile.in: Regenerated.

* configure.in (--with-bugurl): Removed.
* configure: Regenerated.

* lexsup.c: Include bfdver.h.

* ld.texinfo: Include bfdver.texi instead of ldver.texi.

17 years ago gas/
Daniel Jacobowitz [Thu, 15 Mar 2007 12:11:50 +0000 (12:11 +0000)]
gas/
* config/tc-arm.c (arm_copy_symbol_attributes): New.
* config/tc-arm.h (arm_copy_symbol_attributes): Declare.
(TC_COPY_SYMBOL_ATTRIBUTES): Define.
* gas/symbols.c (copy_symbol_attributes): Use
TC_COPY_SYMBOL_ATTRIBUTES.

gas/testsuite/
* gas/arm/thumbver.d, gas/arm/thumbver.s: New test.

17 years ago*** empty log message ***
gdbadmin [Thu, 15 Mar 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 14 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2007-03-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 14 Mar 2007 21:12:13 +0000 (21:12 +0000)]
2007-03-14  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.

gas/testsuite/
* gas/arm/thumb2_add.d: Add tests using sp.
* gas/arm/thumb2_add.s: Ditto.

17 years ago * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
Andreas Schwab [Wed, 14 Mar 2007 15:15:37 +0000 (15:15 +0000)]
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.

17 years ago * gas/all/gas.exp: Run relax.
H.J. Lu [Wed, 14 Mar 2007 13:39:54 +0000 (13:39 +0000)]
* gas/all/gas.exp: Run relax.

17 years ago PR 4029
Alan Modra [Wed, 14 Mar 2007 11:04:12 +0000 (11:04 +0000)]
PR 4029
* gas/all/relax.s: New.
* gas/all/relax.d: New.
* gas/all/gas.exp: Run it.

17 years ago PR 4029
Alan Modra [Wed, 14 Mar 2007 11:03:38 +0000 (11:03 +0000)]
PR 4029
* write.c (relax_segment): Insert extra alignment padding
to break infinite relax loop when given impossible
gcc_except_table assembly.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 03:26:06 +0000 (03:26 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 02:56:45 +0000 (02:56 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3826
* elf-bfd.h (elf_backend_data): Add elf_osabi.
(_bfd_elf_set_osabi): New.

* elf.c (_bfd_elf_set_osabi): New.

* elf32-hppa.c (elf32_hppa_post_process_headers): Removed.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
(ELF_OSABI): Properly defined for each target.

* elf32-i370.c (i370_elf_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf_i386_post_process_headers): Set EI_OSABI with elf_osabi.

* elf32-msp430.c (elf32_msp430_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with
elf_osabi.

* elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI
with elf_osabi.
(ELF_OSABI): Properly defined for each target.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi for Linux.

* elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target
with any ELF target of the compatible machine for which we do not
have a specific backend.

* elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI
with elf_osabi.

* elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE.
(elfNN_bed): Initialize elf_osabi with ELF_OSABI.

17 years ago*** empty log message ***
gdbadmin [Wed, 14 Mar 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 13 Mar 2007 23:00:37 +0000 (23:00 +0000)]
daily update

17 years ago * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
Daniel Jacobowitz [Tue, 13 Mar 2007 17:34:23 +0000 (17:34 +0000)]
* rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
(rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
(refine_prologue_limit): Delete.
(skip_prologue): Don't call it.  Use extract_unsigned_integer.
Assume lim_pc is set.  Correct check for incomplete prologues.
Do not skip clobbers of the frame pointer.
* symtab.c (skip_prologue_using_sal): Fail if there is only one
sal.

* gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
(optimized_1): New.
(main): Call optimized_1.
(gdb2029): Correct typos.  Call gdb2029_marker.
* gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
for gdb2029.

17 years ago* readelf.c (dump_section): Also test for SHT_REL sections when producing
Nick Clifton [Tue, 13 Mar 2007 17:17:15 +0000 (17:17 +0000)]
* readelf.c (dump_section): Also test for SHT_REL sections when producing
  the warning about unapplied relocs.

17 years ago * frame.c (frame_pop): Check to see whether there's a frame to
Nathan Froyd [Tue, 13 Mar 2007 14:05:25 +0000 (14:05 +0000)]
* frame.c (frame_pop): Check to see whether there's a frame to
which we can pop first.

17 years ago * MAINTAINERS (Write After Approval): Add myself.
Nathan Froyd [Tue, 13 Mar 2007 14:00:53 +0000 (14:00 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years ago*** empty log message ***
gdbadmin [Tue, 13 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 12 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
Mark Kettenis [Mon, 12 Mar 2007 21:58:19 +0000 (21:58 +0000)]
    * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
        as tabs.  Remove redundant test pattern.

17 years ago2007-03-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 12 Mar 2007 21:36:23 +0000 (21:36 +0000)]
2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
on i.tm.base_opcode.
(match_template): Likewise.
(process_operands): Use ~0x3 mask to match MOV_AX_DISP32.

* config/tc-i386.h (Opcode_D): New.
(Opcode_FloatR): Likewise.
(Opcode_FloatD): Likewise.
(D): Redefined.
(W): Likewise.
(FloatMF): Likewise.
(FloatR): Likewise.
(FloatD): Likewise.

17 years ago2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
DJ Delorie [Mon, 12 Mar 2007 20:19:44 +0000 (20:19 +0000)]
2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

17 years ago*** empty log message ***
gdbadmin [Mon, 12 Mar 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 11 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * emultempl/mmixelf.em: Remove incorrect '#line' directive.
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:48:27 +0000 (11:48 +0000)]
* emultempl/mmixelf.em: Remove incorrect '#line' directive.

17 years ago * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:22:52 +0000 (11:22 +0000)]
* gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
Adjust for change in readelf output.

17 years ago*** empty log message ***
gdbadmin [Sun, 11 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 10 Mar 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.base/long_long.exp: Accept optional symbol name in <...>
Ulrich Weigand [Sat, 10 Mar 2007 01:13:43 +0000 (01:13 +0000)]
* gdb.base/long_long.exp: Accept optional symbol name in <...>
for /a format output.

17 years ago*** empty log message ***
gdbadmin [Sat, 10 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***