Paolo Bonzini [Tue, 14 Mar 2006 16:26:44 +0000 (16:26 +0000)]
2006-03-14 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in: Regenerate.
Paolo Bonzini [Tue, 14 Mar 2006 16:10:08 +0000 (16:10 +0000)]
2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2006-03-10 Aldy Hernandez <aldyh@redhat.com>
* configure.in: Handle --disable-<component> generically.
* configure: Regenerate.
2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>
* Makefile.tpl (BUILD_CONFIGDIRS): Remove.
(TARGET_CONFIGDIRS): Remove.
* configure.in: Remove AC_SUBST(target_configdirs).
* Makefile.in, configure: Regenerated.
Richard Sandiford [Tue, 14 Mar 2006 07:47:49 +0000 (07:47 +0000)]
bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
out from...
(_bfd_mips_elf_relocate_section): ...here. Use it to adjust r_addend
for final links too.
ld/testsuite/
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
* ld-mips/mips-elf.exp: Run it.
Jim Blandy [Tue, 14 Mar 2006 06:16:13 +0000 (06:16 +0000)]
2006-03-13 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS: Use my work address.
DJ Delorie [Tue, 14 Mar 2006 04:23:52 +0000 (04:23 +0000)]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Likewise.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
DJ Delorie [Tue, 14 Mar 2006 04:20:53 +0000 (04:20 +0000)]
* m32c.cpu (Bit3-S): New.
(btst:s): New.
* m32c.opc (parse_bit3_S): New.
DJ Delorie [Tue, 14 Mar 2006 03:34:28 +0000 (03:34 +0000)]
* mem.c (mem_put_byte): Hook simulated UART to stdout.
(mem_put_hi): Hook in simulated trace port.
(mem_get_byte): Hook in simulated uart control port.
* opc2c: Be more picky about matching special comments.
* r8c.opc (shift_op): Limit shift counts to -16..16.
(BMcnd): Map conditional codes.
* reg.c (condition_true): Mask condition code to 4 bits.
* syscalls.c: Include local syscall.h.
* syscall.h: New, copied from libgloss.
DJ Delorie [Tue, 14 Mar 2006 02:37:35 +0000 (02:37 +0000)]
* MAINTAINERS: Add self as m32c sim maintainer.
DJ Delorie [Tue, 14 Mar 2006 00:30:59 +0000 (00:30 +0000)]
i* m32c-desc.c: Regenerate.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
DJ Delorie [Tue, 14 Mar 2006 00:29:59 +0000 (00:29 +0000)]
* m32c.cpu (decimal-subtraction16-insn): Add second operand.
(btst): Add optional :G suffix for MACH32.
(or.b:S): New.
(pop.w:G): Add optional :G suffix for MACH16.
(push.b.imm): Fix syntax.
gdbadmin [Tue, 14 Mar 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 13 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Ben Elliston [Mon, 13 Mar 2006 22:27:22 +0000 (22:27 +0000)]
* bucomm.c (display_target_list): Make local variable `a' to be of
type enum bfd_architecture. Thus no need to cast enums to int.
(display_info_table): Likewise.
Bob Wilson [Mon, 13 Mar 2006 21:46:53 +0000 (21:46 +0000)]
* config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
flag and avoid double underscore prefixes.
DJ Delorie [Mon, 13 Mar 2006 20:00:44 +0000 (20:00 +0000)]
merge from gcc
Richard Sandiford [Mon, 13 Mar 2006 19:14:23 +0000 (19:14 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
gdbadmin [Mon, 13 Mar 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 12 Mar 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 11 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 11 Mar 2006 15:01:18 +0000 (15:01 +0000)]
2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2443
* dwarf2.c (concat_filename): Don't issue an error if file is
0.
DJ Delorie [Sat, 11 Mar 2006 02:23:19 +0000 (02:23 +0000)]
* m32c.cpu (mul.l): New.
(mulu.l): New.
* m32c-desc.c: Regenerate with mul.l, mulu.l.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
gdbadmin [Sat, 11 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Michael Snyder [Fri, 10 Mar 2006 20:15:42 +0000 (20:15 +0000)]
2006-03-09 Michael Snyder <msnyder@redhat.com>
* linux-nat.c (kill_inferior): Just call target_mourn_inferior
instead of getting tricky for the multi-fork case.
* linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
for each fork, and then use init_fork_list to delete them.
Paul Brook [Fri, 10 Mar 2006 17:20:30 +0000 (17:20 +0000)]
2006-03-10 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
(elf32_arm_print_private_bfd_data): Ditto.
binutils/
* readelf.c (decode_ARM_machine_flags): Handle EABIv5.
gas/
* config/tc-arm.c (md_begin): Handle EABIv5.
(arm_eabis): Add EF_ARM_EABI_VER5.
* doc/c-arm.texi: Document -meabi=5.
include/elf/
* arm.h (EF_ARM_EABI_VER5): Define.
Paul Brook [Fri, 10 Mar 2006 17:16:49 +0000 (17:16 +0000)]
2006-03-10 Paul Brook <paul@codesourcery.com>
include/opcode/
* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
Alan Modra [Fri, 10 Mar 2006 13:30:10 +0000 (13:30 +0000)]
* dwarf.c (process_extended_line_op): Remove pointer_size param.
Use length instead to determine address size.
(get_pointer_size_and_offset_of_comp_unit): Delete.
(display_debug_lines): Adjust for above.
(display_debug_aranges): Don't stop on finding two zeros.
(display_debug_frames): For warning, print offset not pointer.
Ben Elliston [Fri, 10 Mar 2006 10:57:18 +0000 (10:57 +0000)]
* app.c (do_scrub_chars): Simplify string handling.
Joel Brobecker [Fri, 10 Mar 2006 02:05:51 +0000 (02:05 +0000)]
* MAINTAINERS (Patch Champions): Remove self.
gdbadmin [Fri, 10 Mar 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Thu, 9 Mar 2006 23:05:59 +0000 (23:05 +0000)]
2006-03-09 Paul Brook <paul@codesourcery.com>
bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.
gas/testsuite/
* gas/arm/nomapping.d: New test.
* gas/arm/nomapping.s: New test.
Alan Modra [Thu, 9 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Danny Smith [Thu, 9 Mar 2006 21:50:53 +0000 (21:50 +0000)]
* dlltool.c: Update copyright year.
* doc/binutils.texi: Likewise.
Jim Blandy [Thu, 9 Mar 2006 21:44:27 +0000 (21:44 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
Jim Blandy [Thu, 9 Mar 2006 21:42:31 +0000 (21:42 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Target Commands): Update text describing how to
specify a target. Refer to the detailed section on remote
debugging, not the brief mention.
Danny Smith [Thu, 9 Mar 2006 20:28:49 +0000 (20:28 +0000)]
* dlltool.c (add_stdcall_underscore): New flag.
(xlate): Also add underscore to stdcall symbol if
add_stdcall_underscore set.
(usage): Document --add-stdcall-underscore option.
(OPTION_ADD_STDCALL_UNDERSCORE): New define.
(long_options): Use it for --add-stdcall-underscore option.
(main): Handle it.
* doc/binutils.texi: Document --add-stdcall-underscore option
and differentiate from --add-underscore.
Jim Blandy [Thu, 9 Mar 2006 17:59:12 +0000 (17:59 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Organize the different 'target remote'
connection methods into a table. Add a 'target remote' index
entry. (!!!)
Nick Clifton [Thu, 9 Mar 2006 17:28:11 +0000 (17:28 +0000)]
Update Swedish translations
Nick Clifton [Thu, 9 Mar 2006 17:06:58 +0000 (17:06 +0000)]
* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.
Alexandre Oliva [Thu, 9 Mar 2006 00:22:09 +0000 (00:22 +0000)]
gdb/ChangeLog:
* solib-svr4.c (svr4_current_sos): Move up initialization of
l_addr, such that it clearly covers all cases.
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
gdbadmin [Thu, 9 Mar 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 8 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 8 Mar 2006 21:24:22 +0000 (21:24 +0000)]
2006-03-08 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
Andreas Schwab [Wed, 8 Mar 2006 15:28:17 +0000 (15:28 +0000)]
* ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt uses of
libunwind_frame_prev_register to use a gdb_byte buffer and
extract_unsigned_integer.
(ia64_libunwind_sigtramp_frame_prev_register): Likewise.
* libunwind-frame.c (libunwind_frame_prev_register): Change type
of last argument to `gdb_byte *'
* libunwind-frame.h: Adjust declaration.
Paul Brook [Wed, 8 Mar 2006 14:22:47 +0000 (14:22 +0000)]
2006-03-08 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
(arm_frame_align): New function.
(arm_gdbarch_init): Use it.
gdbadmin [Wed, 8 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 7 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Paul Brook [Tue, 7 Mar 2006 21:40:50 +0000 (21:40 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.base/assign.exp: Correct fail message.
H.J. Lu [Tue, 7 Mar 2006 20:18:06 +0000 (20:18 +0000)]
gas/testsuite/
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* gas/i386/i386.exp: Add rep, rep-suffix, x86-64-rep and
x86-64-rep-suffix.
* gas/i386/naked.d: Replace repz with rep.
* gas/i386/x86_64.d: Likewise.
* gas/i386/rep-suffix.d: New file.
* gas/i386/rep-suffix.s: Likewise.
* gas/i386/rep.d: Likewise.
* gas/i386/rep.s: Likewise.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/x86-64-rep-suffix.s: Likewise.
* gas/i386/x86-64-rep.d: Likewise.
* gas/i386/x86-64-rep.s: Likewise.
opcodes/
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* i386-dis.c (REP_Fixup): New function.
(AL): Remove duplicate.
(Xbr): New.
(Xvr): Likewise.
(Ybr): Likewise.
(Yvr): Likewise.
(indirDXr): Likewise.
(ALr): Likewise.
(eAXr): Likewise.
(dis386): Updated entries of ins, outs, movs, lods and stos.
Paul Brook [Tue, 7 Mar 2006 19:55:55 +0000 (19:55 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
Paul Brook [Tue, 7 Mar 2006 18:51:56 +0000 (18:51 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.
Paul Brook [Tue, 7 Mar 2006 15:23:33 +0000 (15:23 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.arch/e500-abi.exp: Ditto.
* gdb.arch/e500-regs.exp: Ditto.
* gdb.base/all-bin.exp: Ditto.
* gdb.base/annota1.exp: Ditto.
* gdb.base/annota3.exp: Ditto.
* gdb.base/args.exp: Ditto.
* gdb.base/arithmet.exp: Ditto.
* gdb.base/assign.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/bang.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/jump.exp: Ditto.
* gdb.base/logical.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pc-fp.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sep.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.trace/actions.exp: Ditto.
* gdb.trace/backtrace.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/limits.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* lib/gdb.exp: Ditto.
(gdb_compile): Handle nowarning option.
Richard Sandiford [Tue, 7 Mar 2006 08:39:21 +0000 (08:39 +0000)]
bfd/
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise. Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it. Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
r_addend fields of relocs. On rela targets, skip any code that
adjusts in-place addends. When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks. Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
.rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.
ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.
Alexandre Oliva [Tue, 7 Mar 2006 05:05:29 +0000 (05:05 +0000)]
* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
* gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
Rename executable to prelinkt. Don't re-prelink if we didn't
get a core file. Test prelink -u exit status to tell whether
prelinking failed. Use gdb_test_multiple.
gdbadmin [Tue, 7 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 6 Mar 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Bob Wilson [Mon, 6 Mar 2006 18:02:06 +0000 (18:02 +0000)]
* config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
even when using the text-section-literals option.
Nathan Sidwell [Mon, 6 Mar 2006 13:46:53 +0000 (13:46 +0000)]
missing changelog entry for my 2006-02-07 patch
* m68k.h (m68008, m68ec030, m68882): Remove.
(m68k_mask): New.
(cpu_m68k, cpu_cf): New.
(mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407
Nathan Sidwell [Mon, 6 Mar 2006 13:42:05 +0000 (13:42 +0000)]
bfd:
* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
New. Adjust other variants.
(bfd_default_scan): Update.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c: Adjust.
(bfd_m68k_compatible): New. Use it for architectures.
* elf32-m68k.c (elf32_m68k_object_p): Adjust.
(elf32_m68k_merge_private_bfd_data): Adjust. Correct isa-a/b
mismatch.
(elf32_m68k_print_private_bfd_data): Adjust.
* ieee.c (ieee_write_processor): Adjust.
binutils:
* readelf.c (get_machine_flags): Adjust.
gas:
* config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
and cf.
(m68k_ip): <case 'J'> Check we have some control regs.
(md_parse_option): Allow raw arch switch.
(m68k_init_arch): Better detection of arch/cpu mismatch. Detect
whether 68881 or cfloat was meant by -mfloat.
(md_show_usage): Adjust extension display.
(m68k_elf_final_processing): Adjust.
gas/testsuite:
* gas/m68k/arch-cpu-1.s: Tweak.
* gas/m68k/arch-cpu-1.d: Tweak.
include/elf:
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
(EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
(EF_M68K_HW_DIV, EF_M68K_USP): Remove.
(EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
(EF_M68K_EMAC_B): New.
ld/testsuite:
* ld-m68k: New tests.
Alan Modra [Mon, 6 Mar 2006 04:52:03 +0000 (04:52 +0000)]
* dwarf2.c: Formatting.
(add_line_info): Remove outer loop.
H.J. Lu [Mon, 6 Mar 2006 01:36:52 +0000 (01:36 +0000)]
2006-03-05 H.J. Lu <hongjiu.lu@intel.com>
Alan Modra <amodra@bigpond.net.au>
PR binutils/2338
* dwarf2.c (loadable_section): New struct.
(dwarf2_debug): Add loadable_section_count and
loadable_sections.
(new_line_sorts_after): New.
(add_line_info): Use new_line_sorts_after to compare line
addresses.
(check_function_name): Removed.
(unset_sections): New.
(place_sections): New.
(_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
and unset_sections on relocatable files.
(_bfd_dwarf2_find_line): Likewise.
gdbadmin [Mon, 6 Mar 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 5 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Sun, 5 Mar 2006 08:38:53 +0000 (08:38 +0000)]
* cgen-ibld.in (insert_normal): Cope with attempts to insert a signed 32-bit
value into an unsigned 32-bit field when the host is a 64-bit machine.
gdbadmin [Sun, 5 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 4 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Dave Anglin [Sat, 4 Mar 2006 22:11:48 +0000 (22:11 +0000)]
* hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
first. Correct mask of bb "B" opcode.
gdbadmin [Sat, 4 Mar 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Fri, 3 Mar 2006 23:08:12 +0000 (23:08 +0000)]
Index: ChangeLog
2006-03-03 Khem Raj <khem@mvista.com>
* remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
Committed by Andrew Cagney.
Alan Modra [Fri, 3 Mar 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Fri, 3 Mar 2006 18:29:40 +0000 (18:29 +0000)]
* dwarf.c (frame_display_row, display_debug_frames): Handle
DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
Nick Clifton [Fri, 3 Mar 2006 15:57:43 +0000 (15:57 +0000)]
Fix parseing functions to return an error message if the parse failed
Nick Clifton [Fri, 3 Mar 2006 15:54:23 +0000 (15:54 +0000)]
Update formatting to ISO-C90
Nick Clifton [Fri, 3 Mar 2006 15:25:31 +0000 (15:25 +0000)]
Add linker relaxation support for the AVR
Daniel Jacobowitz [Fri, 3 Mar 2006 14:48:55 +0000 (14:48 +0000)]
* remote-utils.c (prepare_resume_reply): Move declaration
of gdb_id_from_wait to the top of the block.
Richard Sandiford [Fri, 3 Mar 2006 09:32:01 +0000 (09:32 +0000)]
ld/
* emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
(EXTRA_EM_FILE): Define.
* emultempl/vxworks.em: New file.
* ld.texinfo (--force-dynamic): Document.
* Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
on vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-i386/vxworks1-static.d, ld-i386/vxworks2.s,
* ld-i386/vxworks2.sd, ld-i386/vxworks2-static.sd: New tests.
* ld-i386/i386.exp: Run them.
* ld-powerpc/vxworks1-static.d, ld-powerpc/vxworks2.s,
* ld-powerpc/vxworks2.sd, ld-powerpc/vxworks2-static.sd: New tests.
* ld-powerpc/powerpc.exp: Run them.
DJ Delorie [Fri, 3 Mar 2006 03:13:49 +0000 (03:13 +0000)]
* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
calculations.
Jim Wilson [Fri, 3 Mar 2006 01:10:42 +0000 (01:10 +0000)]
Fix problem with double-stop-bit after itc.i instruction.
* config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
change the template, then clear md.slot[curr].end_of_insn_group.
gdbadmin [Fri, 3 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 2 Mar 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Richard Sandiford [Thu, 2 Mar 2006 15:16:27 +0000 (15:16 +0000)]
ld/testsuite/
* ld-powerpc/vxworks1.ld: Use a page alignment of 0x10000.
* ld-powerpc/vxworks1.dd: Update accordingly.
* ld-powerpc/vxworks1-lib.nd: Likewise.
* ld-powerpc/vxworks1-lib.rd: Likewise.
* ld-powerpc/vxworks1.rd: Likewise.
Richard Sandiford [Thu, 2 Mar 2006 09:44:23 +0000 (09:44 +0000)]
bfd/
* elf32-ppc.c (is_ppc_elf_target): Return true if the target is
bfd_elf32_powerpc_vxworks_vec.
ld/testsuite/
* ld-i386/vxworks1.ld (.data): New section.
* ld-i386/vxworks1-lib.s: Add a pointer to a local symbol.
* ld-i386/vxworks1-lib.rd: Test for the associated reloc.
* ld-powerpc/vxworks1.ld (.data): New section.
* ld-powerpc/vxworks1-lib.s: Add a pointer to a local symbol.
* ld-powerpc/vxworks1-lib.rd: Test for the associated reloc.
Nick Clifton [Thu, 2 Mar 2006 09:38:57 +0000 (09:38 +0000)]
Initialise 'gap'.
Corinna Vinschen [Thu, 2 Mar 2006 09:31:23 +0000 (09:31 +0000)]
* mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
address to MDR register.
Richard Sandiford [Thu, 2 Mar 2006 08:57:00 +0000 (08:57 +0000)]
bfd/
* elf32-i386.c (elf_i386_create_dynamic_sections): Use
elf_vxworks_create_dynamic_sections.
(elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
symbol handling.
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
elf_vxworks_create_dynamic_sections.
(ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
symbol handling.
* elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
* elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
ld/testsuite/
* ld-i386/ld-i386/vxworks1-lib.nd: New test.
* ld-i386/i386.exp: Run it.
* ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test.
* ld-powerpc/powerc.exp: Run it.
Richard Sandiford [Thu, 2 Mar 2006 08:54:43 +0000 (08:54 +0000)]
ld/testsuite/
* ld-i386/vxworks1.ld: Use bigger alignments. Make sure .bss isn't
placed as an orphan.
* ld-i386/vxworks1-lib.dd, ld-i386/vxworks1.dd,
* ld-i386/vxworks1.rd: Update accordingly.
* ld-i386/vxworks1-lib.rd: Likewise. Remove symbol indexes.
Richard Sandiford [Thu, 2 Mar 2006 08:52:49 +0000 (08:52 +0000)]
bfd/
* elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
same interface as elf_backend_link_output_symbol_hook.
* elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
prototype accordingly.
Richard Sandiford [Thu, 2 Mar 2006 08:50:04 +0000 (08:50 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
(ppc_elf_link_hash_table): Replace old_got and new_got with
plt_type and can_use_new_plt.
(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that
this function should not be called for VxWorks targets.
(ppc_elf_tls_setup): Use plt_type instead of old_got.
(allocate_got): Likewise. Rearrange so that max_before_header
is only used for PLT_OLD and PLT_NEW.
(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
ld/
* emulparams/elf32ppccommon.sh: New file, extracted from...
* emulparams/elf32ppc.sh: ...here.
* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
instead of elf32ppc.sh.
(BSS_PLT): Remove override.
* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
(eelf32ppclinux.c): Likewise.
(eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
* ld-powerpc/powerpc.exp: Run it.
Ben Elliston [Thu, 2 Mar 2006 00:54:27 +0000 (00:54 +0000)]
Import from the GCC tree:
2006-03-01 Jakub Jelinek <jakub@redhat.com>
* dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
from DWARF 3.
(DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
(DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
(DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
(DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
DW_DS_leading_separate, DW_DS_trailing_separate): New.
(DW_END_default, DW_END_big, DW_END_little): New.
(DW_END_lo_user, DW_END_hi_user): Define.
(DW_LNE_lo_user, DW_LNE_hi_user): Define.
(DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
(DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
DW_LANG_D): New.
gdbadmin [Thu, 2 Mar 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 1 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 1 Mar 2006 19:34:46 +0000 (19:34 +0000)]
gdb/
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
calls.
gdb/testsuite/
* gdb.cp/inherit.exp (test_print_mi_member_types): New function.
(do_tests): Call it.
H.J. Lu [Wed, 1 Mar 2006 17:40:34 +0000 (17:40 +0000)]
2006-03-01 H.J. Lu <hongjiu.lu@intel.com>
PR libgcj/17311
* ltmain.sh: Don't use "$finalize_rpath" for compile.
Nick Clifton [Wed, 1 Mar 2006 10:25:01 +0000 (10:25 +0000)]
Update information about: config-ml.in; makefile.vms; mkdep; setup.com;
etc/; intl/; utils/; compile; depcomp; install-sh; missing; ylwrap;
config/
Randolph Chung [Wed, 1 Mar 2006 05:47:46 +0000 (05:47 +0000)]
2006-03-01 Randolph Chung <tausq@debian.org>
* somread.c (som_symfile_read): Update comment and remove unneeded
use of a deprecated variable.
Randolph Chung [Wed, 1 Mar 2006 05:43:03 +0000 (05:43 +0000)]
2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (unwind_table_entry): Update field names to match HP
runtime specification.
* hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
(unwind_command): Likewise.
Randolph Chung [Wed, 1 Mar 2006 05:22:38 +0000 (05:22 +0000)]
2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
Pseudo_SP_Set in unwind record.
Randolph Chung [Wed, 1 Mar 2006 05:19:13 +0000 (05:19 +0000)]
2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
TDEP->is_elf to determine if we are working with a SOM binary.
(null_symtab_and_line): Remove unused variable.
* config/pa/hppa64.mt: Use tm-hppa.h.
* config/pa/tm-hppa64.h: Remove file.
Wu Zhou [Wed, 1 Mar 2006 01:37:26 +0000 (01:37 +0000)]
* f-typeprint.c (f_type_print_base): Delete the redundant space.