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.
gdbadmin [Wed, 1 Mar 2006 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***
Alan Modra [Tue, 28 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Kevin Buettner [Tue, 28 Feb 2006 22:38:04 +0000 (22:38 +0000)]
Add am33 linux signal frame support.
Kevin Buettner [Tue, 28 Feb 2006 22:28:21 +0000 (22:28 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
out of pattern match by saving relevant state. Fix stack size
adjustment bug.
Nick Clifton [Tue, 28 Feb 2006 16:09:01 +0000 (16:09 +0000)]
* objcopy.c (use_alt_mach_code): Change type to unsigned long.
(copy_object): If bfd_alt_mach_code fails emit a more helpful message
and if the target architecture is ELF use the alternative as replacement
value for the e_machine number.
(copy_main): Use strtoul to parse the number provided with the
--alt-mach-code switch.
* doc/binutils.texi (--alt-mach-code): Document that this switch can now
set the absolute e_machine value.
Jan Beulich [Tue, 28 Feb 2006 07:57:09 +0000 (07:57 +0000)]
gas/
2006-02-28 Jan Beulich <jbeulich@novell.com>
* macro.c (get_any_string): Don't insert quotes for <>-quoted input.
gas/testsuite/
2006-02-28 Jan Beulich <jbeulich@novell.com>
* gas/all/altmacro.s: Adjust.
* gas/all/altmac2.s: Adjust.
Jan Beulich [Tue, 28 Feb 2006 07:55:36 +0000 (07:55 +0000)]
gas/
2006-02-28 Jan Beulich <jbeulich@novell.com>
PR/1070
* macro.c (getstring): Don't treat parentheses special anymore.
(get_any_string): Don't consider '(' and ')' as quoting anymore.
Special-case '(', ')', '[', and ']' when dealing with non-quoting
characters.
gas/testsuite/
2006-02-28 Jan Beulich <jbeulich@novell.com>
* gas/macros/paren[sd]: New.
* gas/macros/macros.exp: Run new test.
Richard Sandiford [Tue, 28 Feb 2006 07:17:33 +0000 (07:17 +0000)]
ld/testsuite/
* ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
* ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
* ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
* ld-i386/i386.exp: Run it.
Richard Sandiford [Tue, 28 Feb 2006 07:16:12 +0000 (07:16 +0000)]
bfd/
* elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_compute_jump_table_size): Use it instead of
srelplt->reloc_count.
(allocate_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
ld/testsuite/
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
* ld-i386/i386.exp: Run it.
Alexandre Oliva [Tue, 28 Feb 2006 04:29:10 +0000 (04:29 +0000)]
gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New. Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr. Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
Alan Modra [Tue, 28 Feb 2006 00:38:19 +0000 (00:38 +0000)]
* dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
gdbadmin [Tue, 28 Feb 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Jakub Jelinek [Mon, 27 Feb 2006 23:21:41 +0000 (23:21 +0000)]
Fix up ChangeLog entry.
Jakub Jelinek [Mon, 27 Feb 2006 23:07:06 +0000 (23:07 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
(_bfd_elf_write_section_eh_frame): Likewise.
gas/
* dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
field.
(CFI_signal_frame): Define.
(cfi_pseudo_table): Add .cfi_signal_frame.
(dot_cfi): Handle CFI_signal_frame.
(output_cie): Handle cie->signal_frame.
(select_cie_for_fde): Don't share CIE if signal_frame flag is
different. Copy signal_frame from FDE to newly created CIE.
* doc/as.texinfo: Document .cfi_signal_frame.
Alan Modra [Mon, 27 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Carlos O'Donell [Mon, 27 Feb 2006 16:26:26 +0000 (16:26 +0000)]
bfd/doc/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add html target.
* Makefile.in: Regenerate.
bfd/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add html target.
binutils/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add html target.
gas/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* doc/Makefile.am: Add html target.
* doc/Makefile.in: Regenerate.
* po/Make-in: Add html target.
gprof/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add html target.
ld/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add html target.
* Makefile.in: Regenerate.
* po/Make-in: Add html target.
opcodes/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add html target.
etc/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: TEXI2HTML uses makeinfo. Define
HTMLFILES. Add html targets.
* configure.texi: Use ifnottex. Add alternative
image format specifier as jpg.
* standards.texi: Use ifnottex.
intl/
2006-10-14 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html target.
H.J. Lu [Mon, 27 Feb 2006 15:35:37 +0000 (15:35 +0000)]
gas/
2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (output_insn): Support Intel Merom New
Instructions.
* gas/config/tc-i386.h (CpuMNI): New.
(CpuUnknownFlags): Add CpuMNI.
gas/testsuite/
2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Add merom and x86-64-merom.
* gas/i386/merom.d: New file.
* gas/i386/merom.s: Likewise.
* gas/i386/x86-64-merom.d: Likewise.
* gas/i386/x86-64-merom.s: Likewise.
include/opcode/
2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Support Intel Merom New Instructions.
opcodes/
2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by
Intel Merom New Instructions.
(THREE_BYTE_0): Likewise.
(THREE_BYTE_1): Likewise.
(three_byte_table): Likewise.
(dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use
THREE_BYTE_1 for entry 0x3a.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(print_insn): Handle 3-byte opcodes used by Intel Merom New
Instructions.
Richard Sandiford [Mon, 27 Feb 2006 08:48:28 +0000 (08:48 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
* elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
* elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. Also use
the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
* elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
David S. Miller [Mon, 27 Feb 2006 06:14:51 +0000 (06:14 +0000)]
2006-02-26 David S. Miller <davem@sunset.davemloft.net>
* config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
* config/sparc/linux64.mt (TDEPFILES): Likewise.
gdbadmin [Mon, 27 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 26 Feb 2006 23:42:59 +0000 (23:42 +0000)]
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
(ppc_linux_remove_watchpoint): Likewise, and args.
Alan Modra [Sun, 26 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 26 Feb 2006 13:03:33 +0000 (13:03 +0000)]
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
"soft" interrupts.