aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-06-192006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka2-1/+7
* configure.tgt: Add gdbserver support for m32r-linux.
2006-06-19*** empty log message ***gdbadmin1-1/+1
2006-06-19daily updateAlan Modra1-1/+1
2006-06-18Skip for non-ELF targets.Nick Clifton13-0/+27
2006-06-18* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.Mark Kettenis2-1/+5
2006-06-18daily updateAlan Modra1-1/+1
2006-06-18*** empty log message ***gdbadmin1-1/+1
2006-06-17(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELFNick Clifton2-7/+12
targeted ARM ports can build.
2006-06-17*** empty log message ***gdbadmin1-1/+1
2006-06-17daily updateAlan Modra1-1/+1
2006-06-162006-06-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-42/+255
* config/tc-i386.h (processor_type): New. (arch_entry): Add type. * config/tc-i386.c (cpu_arch_tune): New. (cpu_arch_tune_flags): Likewise. (cpu_arch_isa_flags): Likewise. (cpu_arch): Updated. (set_cpu_arch): Also update cpu_arch_isa_flags. (md_assemble): Update cpu_arch_isa_flags. (OPTION_MARCH): New. (OPTION_MTUNE): Likewise. (md_longopts): Add -march= and -mtune=. (md_parse_option): Support -march= and -mtune=. (md_show_usage): Add -march=CPU/-mtune=CPU. (i386_target_format): Also update cpu_arch_isa_flags, cpu_arch_tune and cpu_arch_tune_flags. * doc/as.texinfo: Add -march=CPU/-mtune=CPU. * doc/c-i386.texi: Document -march=CPU/-mtune=CPU.
2006-06-16 * infrun.c (insert_step_resume_breakpoint_at_caller): New function,Daniel Jacobowitz2-18/+59
based on insert_step_resume_breakpoint_at_frame. (handle_inferior_event): Update comments. Use insert_step_resume_breakpoint_at_caller. (insert_step_resume_breakpoint_at_frame): Revise comments.
2006-06-16daily updateAlan Modra1-1/+1
2006-06-16*** empty log message ***gdbadmin1-1/+1
2006-06-15 * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}Mark Shinwell54-90/+5299
to R_ARM_LDC_SB_G{0,1,2} respectively. bfd/ * bfd-in2.h: Regenerate. * elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0, R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0, R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1, R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1, R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): New relocation types. (R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1 and friends. (elf32_arm_howto_table_3): Delete; contents merged into elf32_arm_howto_table_2. (elf32_arm_howto_from_type): Adjust correspondingly. (elf32_arm_reloc_map): Extend with the above relocations. (calculate_group_reloc_mask): New function. (identify_add_or_sub): New function. (elf32_arm_final_link_relocate): Support for the above relocations. * reloc.c: Add enumeration entries for BFD_RELOC_ARM_... codes to correspond to the above relocations. gas/ * config/tc-arm.c (enum parse_operand_result): New. (struct group_reloc_table_entry): New. (enum group_reloc_type): New. (group_reloc_table): New array. (find_group_reloc_table_entry): New function. (parse_shifter_operand_group_reloc): New function. (parse_address_main): New function, incorporating code from the old parse_address function. To be used via... (parse_address): wrapper for parse_address_main; and (parse_address_group_reloc): new function, likewise. (enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR, OP_ADDRGLDRS, OP_ADDRGLDC. (parse_operands): Support for these new operand codes. New macro po_misc_or_fail_no_backtrack. (encode_arm_cp_address): Preserve group relocations. (insns): Modify to use the above operand codes where group relocations are permitted. (md_apply_fix): Handle the group relocations ALU_PC_G0_NC through LDC_SB_G2. (tc_gen_reloc): Likewise. (arm_force_relocation): Leave group relocations for the linker. (arm_fix_adjustable): Likewise. gas/testsuite/ * gas/arm/group-reloc-alu.d: New test. * gas/arm/group-reloc-alu-encoding-bad.d: New test. * gas/arm/group-reloc-alu-encoding-bad.l: New test. * gas/arm/group-reloc-alu-encoding-bad.s: New test. * gas/arm/group-reloc-alu-parsing-bad.d: New test. * gas/arm/group-reloc-alu-parsing-bad.l: New test. * gas/arm/group-reloc-alu-parsing-bad.s: New test. * gas/arm/group-reloc-alu.s: New test. * gas/arm/group-reloc-ldc.d: New test. * gas/arm/group-reloc-ldc-encoding-bad.d: New test. * gas/arm/group-reloc-ldc-encoding-bad.l: New test. * gas/arm/group-reloc-ldc-encoding-bad.s: New test. * gas/arm/group-reloc-ldc-parsing-bad.d: New test. * gas/arm/group-reloc-ldc-parsing-bad.l: New test. * gas/arm/group-reloc-ldc-parsing-bad.s: New test. * gas/arm/group-reloc-ldc.s: New test. * gas/arm/group-reloc-ldr.d: New test. * gas/arm/group-reloc-ldr-encoding-bad.d: New test. * gas/arm/group-reloc-ldr-encoding-bad.l: New test. * gas/arm/group-reloc-ldr-encoding-bad.s: New test. * gas/arm/group-reloc-ldr-parsing-bad.d: New test. * gas/arm/group-reloc-ldr-parsing-bad.l: New test. * gas/arm/group-reloc-ldr-parsing-bad.s: New test. * gas/arm/group-reloc-ldr.s: New test. * gas/arm/group-reloc-ldrs.d: New test. * gas/arm/group-reloc-ldrs-encoding-bad.d: New test. * gas/arm/group-reloc-ldrs-encoding-bad.l: New test. * gas/arm/group-reloc-ldrs-encoding-bad.s: New test. * gas/arm/group-reloc-ldrs-parsing-bad.d: New test. * gas/arm/group-reloc-ldrs-parsing-bad.l: New test. * gas/arm/group-reloc-ldrs-parsing-bad.s: New test. * gas/arm/group-reloc-ldrs.s: New test. ld/testsuite/ * ld-arm/group-relocs-alu-bad.d: New test. * ld-arm/group-relocs-alu-bad.s: New test. * ld-arm/group-relocs.d: New test. * ld-arm/group-relocs-ldc-bad.d: New test. * ld-arm/group-relocs-ldc-bad.s: New test. * ld-arm/group-relocs-ldr-bad.d: New test. * ld-arm/group-relocs-ldr-bad.s: New test. * ld-arm/group-relocs-ldrs-bad.d: New test. * ld-arm/group-relocs-ldrs-bad.s: New test. * ld-arm/group-relocs.s: New test. * ld-arm/arm-elf.exp: Wire in new tests.
2006-06-15 * config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...Julian Brown2-52/+13
(do_neon_ldr_str): Always defer to VFP encoding routines, which handle relocs properly.
2006-06-15remove conflict indicatorsPaolo Bonzini1-1/+0
2006-06-152006-06-15 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-2/+13
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate.
2006-06-15daily updateAlan Modra1-1/+1
2006-06-15*** empty log message ***gdbadmin1-1/+1
2006-06-14 * gas/mips/elf-rel6.d, gas/mips/elf-rel6.s: Extend testcase.Thiemo Seufer6-2/+52
* gas/mips/elf-rel6.d-n32.d, gas/mips/elf-rel6-n64.d: New files. * gas/mips/mips.exp: Run new testcases.
2006-06-14 * dwarf2read.c (read_unspecified_type): New function.Julian Brown2-0/+26
(read_type_die): Handle DW_TAG_unspecified_type. (Committed by Julian Brown.)
2006-06-14 * gas/mips/mips16e-jrc.d, gas/mips/mips16e-save.d,Thiemo Seufer5-4/+10
gas/mips/mips32-dsp.d, gas/mips/mips32-mt.d: Explicitly specify o32 ABI.
2006-06-14bfd/Richard Sandiford10-142/+366
* elf32-m68k.c (elf_m68k_plt_info): New structure. (elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends. (elf_m68k_plt_entry): Likewise. (elf_m68k_plt_info): New table. (CFV4E_PLT_ENTRY_SIZE): Rename to... (ISAB_PLT_ENTRY_SIZE): ...this. (CFV4E_FLAG): Delete. (elf_cfv4e_plt0_entry): Rename to... (elf_isab_plt0_entry): ...this. Adjust comments. Use (-6,%pc,%d0) for the second instruction too. (elf_cfv4e_plt_entry): Rename to... (elf_isab_plt_entry): ...this. Adjust comments and use (-6,%pc,%d0). (elf_isab_plt_info): New table. (CPU32_FLAG): Delete. (PLT_CPU32_ENTRY_SIZE): Rename to... (CPU32_PLT_ENTRY_SIZE): ...this. (elf_cpu32_plt0_entry): Update bounds accordingly. Add R_68K_PC32- style in-place addends. (elf_cpu32_plt_entry): Likewise. (elf_cpu32_plt_info): New table. (elf_m68k_link_hash_table): Add a plt_info field. (elf_m68k_link_hash_table_create): Initialize it. (elf_m68k_get_plt_info): New function. (elf_m68k_always_size_sections): Likewise. (elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field. (elf_m68k_install_pc32): New function. (elf_m68k_finish_dynamic_symbol): Factor code using plt_info and elf_m68k_install_pc32. (elf_m68k_finish_dynamic_sections): Likewise. (elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info. (elf_backend_always_size_sections): Define. ld/testsuite/ * ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files. * ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise. * ld-m68k/plt1-isab.d: Likewise. * ld-m68k/m68k.exp: Run new PLT tests.
2006-06-14 * ld.texinfo: Document new -z lazy option.Alan Modra3-0/+19
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle new option. (gld${EMULATION_NAME}_list_options): Update help text.
2006-06-14daily updateAlan Modra1-1/+1
2006-06-14*** empty log message ***gdbadmin1-1/+1
2006-06-13 Sync from gcc:Dave Anglin3-2/+10
2006-06-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * configure.in: Don't enable libgomp on hpux10. * configure: Rebuilt.
2006-06-13 * symfile.c (load_command): Check for a changed executable beforeDaniel Jacobowitz2-0/+10
"load".
2006-06-13Approved by Daniel Jacobowitz.Fred Fish2-0/+71
2006-06-13 Fred Fish <fnf@specifix.com> * mips-tdep.c (mips_find_long_section): New function. (mips_gdbarch_init): Use it to set long and pointer sizes.
2006-06-13 * elflink.c (elf_link_add_object_symbols): Save and restoreAlan Modra2-0/+15
struct bfd_hash_table table, size and count fields for as-needed libs.
2006-06-132006-06-13 David Ayers <d.ayers@inode.at>David Ayers3-174/+186
Sync from gcc: 2006-06-12 David Ayers <d.ayers@inode.at> PR bootstrap/27963 PR target/19970 * configure.in: Remove target-boehm-gc from noconfigdirs where ${libgcj} is specified. * configure: Regenerate.
2006-06-13 * lib/gdb.exp (gdb_load_cmd): New.Nathan Sidwell2-0/+46
2006-06-13 gdb/Nathan Sidwell6-26/+56
* remote-file.io.c (remote_fileio_func_system): Treat zero length string as NULL. Adjust for NULL pointer argument. * doc/gdb.texinfo (system): Document behaviour with zero length string. gdb/testsuite/ * gdb.base/fileio.c: Add system(NULL) test. * gdb.base/fileio.exp: Check it.
2006-06-13 * gdb.base/break.c: Add 10a breakpoint at }Nathan Sidwell10-90/+141
* gdb.base/break.exp: Add test for breakpoint at } * gdb.cp/anon-union.cc: Add code at end of function. * gdb.cp/anon-union.exp: Adjust end of function breakpoint. * gdb.mi/var-cmd.c: Add code at end of function. * gdb.mi/mi-var-display.exp: Adjust end of next. * gdb.mi/mi2-var-display.exp: Likewise. * gdb.base/fileio.c: Add stop function and insert calls at stopping places. * gdb.base/fileio.exp: Breakpoint stop function and remove explicit line number references.
2006-06-13 * common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.Richard Earnshaw35-36/+119
* common/common.m4: Likewise. * */configure: Regenerate.
2006-06-13Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw2-2/+9
Alexandre Oliva <aoliva@redhat.com> * (ZW_GNU_GETTEXT_SISTER_DIR): Add optional argument for where to search for NLS config file.
2006-06-13*** empty log message ***gdbadmin1-1/+1
2006-06-13daily updateAlan Modra1-1/+1
2006-06-12 * remote.c (set_remote_protocol_packet_cmd)Daniel Jacobowitz2-75/+42
(show_remote_protocol_packet_cmd): New prototypes. (remote_set_cmdlist, remote_show_cmdlist): Move higher. (struct packet_config): Make name and title const. (add_packet_config_cmd): Remove unnecessary arguments. (_initialize_remote): Update calls.
2006-06-12gas/testsuite/H.J. Lu10-3/+85
2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run nops and x86-64-nops. * gas/i386/nops.d: New file. * gas/i386/nops.s: Likewise. * gas/i386/x86-64-nops.d: Likewise. * gas/i386/x86-64-nops.s: Likewise. include/opcode/ 2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Add "nop" with memory reference. opcodes/ 2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f. (twobyte_has_modrm): Set 1 for 0x1f.
2006-06-12gas/H.J. Lu11-17/+74
2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_suffix): Don't add rex64 for "xchg %rax,%rax". gas/testsuite/ 2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/opcode.s: Add "xchg %ax,%ax". * gas/i386/opcode.d: Updated. * gas/i386/x86-64-opcode.s: Add xchg %ax,%ax, xchg %eax,%eax, xchg %rax,%rax, rex64 xchg %rax,%rax and xchg %rax,%r8. * gas/i386/x86-64-opcode.d: Updated. include/opcode/ 2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Update comment for 64bit NOP. opcodes/ 2006-06-12 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (NOP_Fixup): Removed. (NOP_Fixup1): New. (NOP_Fixup2): Likewise. (dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.
2006-06-12 * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signedJulian Brown2-1/+8
on 64-bit hosts.
2006-06-12Reviewed and approved by Daniel Jacobowitz and Thiemo SeuferFred Fish2-0/+14
2006-06-12 Fred Fish <fnf@specifix.com> * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections generated by mips gcc.
2006-06-12 [ bfd/ChangeLog ]Thiemo Seufer9-17/+40
* elf32-mips.c: Expand comment about ABI-mandated pagesize values. (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way. * elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6. Delete old comments. (ELF_COMMONPAGESIZE): Define in a more obvious way. [ ld/ChangeLog ] * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE): Define. [ ld/testsuite/ChangeLog ] * ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of ELF_MAXPAGESIZE.
2006-06-12PR binutils/2735Nick Clifton3-7/+52
* elflink.c (elf_link_add_object_symbols): Fix the warning message about mismatched alignments to allow for the case where the common alignment has been deduced from the section alignment. * bfd.c (_bfd_default_error_handler): Update comment to explain why bfd and asection varargs are out of order. Explicitly catch and abort on NULL bfd and asection arguments.
2006-06-12*** empty log message ***gdbadmin1-1/+1
2006-06-12daily updateAlan Modra1-1/+1
2006-06-11bfd/Richard Sandiford11-39/+252
* elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size. (STUB_ORI): New macro. (STUB_LI16U): Fix formatting. (MIPS_FUNCTION_STUB_SIZE): Delete. (MIPS_FUNCTION_STUB_MAX_SIZE): Likewise. (MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro. (MIPS_FUNCTION_STUB_BIG_SIZE): Likewise. (_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size instead of MIPS_FUNCTION_STUB_SIZE. (count_section_dynsyms): New function, split out from _bfd_mips_elf_final_link. (_bfd_mips_elf_always_size_sections): Get a worst-case estimate of the number of dynamic symbols needed and use it to set up function_stub_size. Use function_stub_size rather than MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section. Use 16-byte stubs for 0x10000 dynamic symbols. (_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size instead of MIPS_FUNCTION_STUB_SIZE. Fix formatting. (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Change the size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to MIPS_FUNCTION_STUB_BIG_SIZE. Tweak the check for unhandled dynindxes. Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20. Use STUB_ORI rather than STUB_LI16U for big stubs. (_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size. (_bfd_mips_elf_final_link): Use count_section_dynsyms. ld/testsuite/ * ld-mips-elf/stub-dynsym-1.s, * ld-mips-elf/stub-dynsym-1.ld, * ld-mips-elf/stub-dynsym-1-7fff.d, * ld-mips-elf/stub-dynsym-1-8000.d, * ld-mips-elf/stub-dynsym-1-fff0.d, * ld-mips-elf/stub-dynsym-1-10000.d, * ld-mips-elf/stub-dynsym-1-2fe80.d: New test. * ld-mips-elf/mips-elf.exp: Run it.
2006-06-11*** empty log message ***gdbadmin1-1/+1