and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 28 Jul, 2006 2 commits
    • nobody's avatar
      This commit was manufactured by cvs2svn to create tag 'binutils-csl- · 537109e5
      nobody authored
      sourcerygxx-4_1-17'.
      
      Sprout from binutils-csl-2_17-branch 2006-07-28 17:26:04 UTC Carlos O'Donell <carlos@codesourcery.com> ''
      Delete:
          compile
          djunpack.bat
          gas/testsuite/gas/mips/vxworks1-el.d
          gas/testsuite/gas/mips/vxworks1-xgot-el.d
          gas/testsuite/gas/mips/vxworks1-xgot.d
          gas/testsuite/gas/mips/vxworks1.d
          gas/testsuite/gas/mips/vxworks1.s
          gas/testsuite/gas/sparc/vxworks-pic.d
          gas/testsuite/gas/sparc/vxworks-pic.s
          ld/elf-hints-local.h
          ld/emulparams/elf32_sparc_vxworks.sh
          ld/emulparams/elf32bfinfd.sh
          ld/emulparams/elf32ebmipvxworks.sh
          ld/emulparams/elf32elmipvxworks.sh
          ld/testsuite/ld-elf/eh1.d
          ld/testsuite/ld-elf/eh1.s
          ld/testsuite/ld-elf/eh1a.s
          ld/testsuite/ld-elf/eh2.d
          ld/testsuite/ld-elf/eh2a.s
          ld/testsuite/ld-elf/eh3.d
          ld/testsuite/ld-elf/eh3.s
          ld/testsuite/ld-elf/eh3a.s
          ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1.ld
          ld/testsuite/ld-mips-elf/stub-dynsym-1.s
          ld/testsuite/ld-mips-elf/tls-hidden3.d
          ld/testsuite/ld-mips-elf/tls-hidden3.got
          ld/testsuite/ld-mips-elf/tls-hidden3.ld
          ld/testsuite/ld-mips-elf/tls-hidden3.r
          ld/testsuite/ld-mips-elf/tls-hidden3a.s
          ld/testsuite/ld-mips-elf/tls-hidden3b.s
          ld/testsuite/ld-mips-elf/tls-hidden4.got
          ld/testsuite/ld-mips-elf/tls-hidden4.r
          ld/testsuite/ld-mips-elf/tls-hidden4a.s
          ld/testsuite/ld-mips-elf/tls-hidden4b.s
          ld/testsuite/ld-mips-elf/vxworks1-lib.dd
          ld/testsuite/ld-mips-elf/vxworks1-lib.nd
          ld/testsuite/ld-mips-elf/vxworks1-lib.rd
          ld/testsuite/ld-mips-elf/vxworks1-lib.s
          ld/testsuite/ld-mips-elf/vxworks1-static.d
          ld/testsuite/ld-mips-elf/vxworks1.dd
          ld/testsuite/ld-mips-elf/vxworks1.ld
          ld/testsuite/ld-mips-elf/vxworks1.rd
          ld/testsuite/ld-mips-elf/vxworks1.s
          ld/testsuite/ld-mips-elf/vxworks2-static.sd
          ld/testsuite/ld-mips-elf/vxworks2.s
          ld/testsuite/ld-mips-elf/vxworks2.sd
          ld/testsuite/ld-sparc/vxworks1-lib.dd
          ld/testsuite/ld-sparc/vxworks1-lib.nd
          ld/testsuite/ld-sparc/vxworks1-lib.rd
          ld/testsuite/ld-sparc/vxworks1-lib.s
          ld/testsuite/ld-sparc/vxworks1-static.d
          ld/testsuite/ld-sparc/vxworks1.dd
          ld/testsuite/ld-sparc/vxworks1.ld
          ld/testsuite/ld-sparc/vxworks1.rd
          ld/testsuite/ld-sparc/vxworks1.s
          ld/testsuite/ld-sparc/vxworks2-static.sd
          ld/testsuite/ld-sparc/vxworks2.s
          ld/testsuite/ld-sparc/vxworks2.sd
      537109e5
    • Carlos O'Donell's avatar
      · d6a5d012
      Carlos O'Donell authored
      2006-07-27  Carlos O'Donell  <carlos@codesourcery.com>
      
      	bfd/
      	* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
      	Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
      	and EF_MIPS_UCODE.
      d6a5d012
  2. 26 Jul, 2006 2 commits
    • Nathan Sidwell's avatar
      bfd/ · 3e23f58a
      Nathan Sidwell authored
      	* Makefile.am: (VERSUFFIX_s): New. Pass it to compiler
      	via -D.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* configure.in: Add --with-versuffix option.
      	* version.h: Add BFD_VERSION_SUFFIX, use it
      	in BFD_VERSION_STRING.
      
      	binutils/
      	* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
      	via -D.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* configure.in: Add --with-bugurl option.
      
      	gas/
      	* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
      	via -D.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* configure.in: Add --with-bugurl option.
      
      	gprof/
      	* Makefile.am: (VERSUFFIX_s, REPORT_BUGS_TO_s): New. Pass
      	them to compiler via -D.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* configure.in: Add --with-versuffix and --with-bugurl option.
      	* gprof.c: Print version suffix.
      
      	ld/
      	* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
      	via -D.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* configure.in: Add --with-bugurl option.
      3e23f58a
    • Richard Sandiford's avatar
      opcodes/ · 50d3e6e1
      Richard Sandiford authored
      	* m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
      	"fdaddl" entry.
      
      gas/testsuite/
      	* gas/m68k/mcf-fpu.s: Add tests for all addressing modes.
      	* gas/m68k/mcf-fpu.d: Update accordingly.
      50d3e6e1
  3. 20 Jul, 2006 1 commit
    • Julian Brown's avatar
      Backport from mainline. · c068d5be
      Julian Brown authored
      	opcodes/
      	* arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
      
      	gas/testsuite/
      	* gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
      	* gas/arm/vfp-neon-syntax_t2.d: Likewise.
      	* gas/arm/vfp2.d: Likewise.
      	* gas/arm/vfp2_t2.d: Likewise.
      c068d5be
  4. 19 Jul, 2006 1 commit
    • Paul Brook's avatar
      2006-07-19 Paul Brook <paul@codesourcery.com> · bd537f75
      Paul Brook authored
      	Backport from mainline.
      	gas/
      	* config/tc-arm.c (insns): Fix rbit Arm opcode.
      	gas/testsuite/
      	* gas/arm/archv6t2.d: Adjust expected output for rbit.
      	opcodes/
      	* armd-dis.c (arm_opcodes): Fix rbit opcode.
      bd537f75
  5. 18 Jul, 2006 2 commits
    • Paul Brook's avatar
      2006-07-18 Paul Brook <paul@codesourcery.com> · 9effaa80
      Paul Brook authored
      	Merge from mainline.
      	bfd/
      	* bfd-in2.h: Regenerate.
      	* libbfd.h: Regenerate.
      	* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
      
      	gas/
      	* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
      	(md_convert_frag): Use correct reloc for add_pc.  Use
      	BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
      	(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
      	(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.
      
      	gas/testsuite/
      	* gas/arm/thumb2_add.d: New test.
      	* gas/arm/thumb2_add.s: New test.
      9effaa80
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · 509d475f
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-07-18 16:44:47 UTC Paul Brook <paul@codesourcery.com> '2006-07-18  Paul Brook  <paul@codesourcery.com>':
          gas/testsuite/gas/arm/thumb2_add.d
          gas/testsuite/gas/arm/thumb2_add.s
      509d475f
  6. 14 Jul, 2006 2 commits
  7. 12 Jul, 2006 2 commits
    • Richard Sandiford's avatar
      bfd/ · 9b5b6e1a
      Richard Sandiford authored
      2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>
      
      	* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
      
      ld/testsuite/
      2006-07-12  Richard Sandiford  <richard@codesourcery.com>
      
      	* ld-m68k/merge-ok-1c.d: New test.
      	* ld-m68k/m68k.exp: Run it.
      9b5b6e1a
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · 82b3f5a9
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-07-12 12:47:00 UTC Richard Sandiford <rdsandiford@googlemail.com> 'bfd/':
          ld/testsuite/ld-elf/eh1.d
          ld/testsuite/ld-elf/eh2.d
          ld/testsuite/ld-elf/eh3.d
          ld/testsuite/ld-m68k/merge-ok-1c.d
      82b3f5a9
  8. 24 Jun, 2006 1 commit
  9. 22 Jun, 2006 2 commits
    • Richard Sandiford's avatar
      binutils/ · 164af26a
      Richard Sandiford authored
      	* objcopy.c (localize_hidden): New variable.
      	(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
      	(copy_options): Add --localize-hidden.
      	(copy_usage): Mention --localize-hidden.
      	(is_hidden_symbol): New function.
      	(filter_symbols): Handle localize_hidden.
      	(copy_object): Call filter_symbols if localize_hidden.
      	(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
      	* doc/binutils.texi (--localize-hidden): Document new option.
      
      binutils/testsuite/
      	* binutils-all/localize-hidden-1.s,
      	* binutils-all/localize-hidden-1.d,
      	* binutils-all/localize-hidden-2.s,
      	* binutils-all/localize-hidden-2.d: New tests.
      	* binutils-all/objcopy.exp: Run them.
      164af26a
    • Richard Sandiford's avatar
      Backport from mainline: · 68cfde24
      Richard Sandiford authored
      	binutils/testsuite/
      	2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* lib/utils-lib.exp (run_dump_test): New.
      	(slurp_options): Likewise.
      	(regexp_diff): Likewise.
      	(file_contents): Likewise.
      	(verbose_eval): Likewise.
      68cfde24
  10. 21 Jun, 2006 1 commit
    • Mark Shinwell's avatar
      ld/ · eaf89de1
      Mark Shinwell authored
      	* ldlang.c (lang_insert_orphan): Correctly handle the case where
      	the section is to end up after the section currently at the end
      	of the list in output_bfd.
      eaf89de1
  11. 20 Jun, 2006 1 commit
    • Paul Brook's avatar
      2006-06-19 Vladimir Prus <vladimir@codesourcery.com> · e80e7921
      Paul Brook authored
      	bfd/
      	* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
      	bit for undefined symbols.
      
      	ld/testsuite
      	* ld-arm/arm-elf.exp: New test.
      	* ld-arm/use-thumb-lib.s: New file.
      	* ld-arm/use-thumb-lib.sym: New file.
      e80e7921
  12. 19 Jun, 2006 1 commit
    • Paul Brook's avatar
      2006-06-19 Vladimir Prus <vladimir@codesourcery.com> · ff8424a6
      Paul Brook authored
      	bfd/
      	* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
      	bit for undefined symbols.
      
      	ld/testsuite
      	* ld-arm/arm-elf.exp: New test.
      	* ld-arm/use-thumb-lib.s: New file.
      	* ld-arm/use-thumb-lib.sym: New file.
      ff8424a6
  13. 15 Jun, 2006 3 commits
    • Mark Shinwell's avatar
      Support for ARM "group relocations" numbers 4, and 57 through 83. · 12785f48
      Mark Shinwell authored
      	* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
      	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.
      12785f48
    • Julian Brown's avatar
      gas/ · 46fc5dd3
      Julian Brown authored
      	* config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
      	(do_neon_ldr_str): Always defer to VFP encoding routines, which handle
      	relocs properly.
      46fc5dd3
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · fb36a5ee
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-06-15 11:03:02 UTC Mark Shinwell <shinwell@codesourcery.com> '	* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}':
          gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.d
          gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.l
          gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.s
          gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.d
          gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.l
          gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.s
          gas/testsuite/gas/arm/group-reloc-alu.d
          gas/testsuite/gas/arm/group-reloc-alu.s
          gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.d
          gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.l
          gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.s
          gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.d
          gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.l
          gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.s
          gas/testsuite/gas/arm/group-reloc-ldc.d
          gas/testsuite/gas/arm/group-reloc-ldc.s
          gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.d
          gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.l
          gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.s
          gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.d
          gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.l
          gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.s
          gas/testsuite/gas/arm/group-reloc-ldr.d
          gas/testsuite/gas/arm/group-reloc-ldr.s
          gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d
          gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.l
          gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.s
          gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d
          gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.l
          gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.s
          gas/testsuite/gas/arm/group-reloc-ldrs.d
          gas/testsuite/gas/arm/group-reloc-ldrs.s
          gas/testsuite/gas/mips/vxworks1-el.d
          gas/testsuite/gas/mips/vxworks1-xgot-el.d
          gas/testsuite/gas/mips/vxworks1-xgot.d
          gas/testsuite/gas/mips/vxworks1.d
          ld/emulparams/elf32bfinfd.sh
          ld/testsuite/ld-arm/group-relocs-alu-bad.d
          ld/testsuite/ld-arm/group-relocs-alu-bad.s
          ld/testsuite/ld-arm/group-relocs-ldc-bad.d
          ld/testsuite/ld-arm/group-relocs-ldc-bad.s
          ld/testsuite/ld-arm/group-relocs-ldr-bad.d
          ld/testsuite/ld-arm/group-relocs-ldr-bad.s
          ld/testsuite/ld-arm/group-relocs-ldrs-bad.d
          ld/testsuite/ld-arm/group-relocs-ldrs-bad.s
          ld/testsuite/ld-arm/group-relocs.d
          ld/testsuite/ld-arm/group-relocs.s
          ld/testsuite/ld-elf/eh1.s
          ld/testsuite/ld-elf/eh1a.s
          ld/testsuite/ld-elf/eh2a.s
          ld/testsuite/ld-elf/eh3.s
          ld/testsuite/ld-elf/eh3a.s
          ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d
          ld/testsuite/ld-mips-elf/stub-dynsym-1.ld
          ld/testsuite/ld-mips-elf/stub-dynsym-1.s
      fb36a5ee
  14. 25 May, 2006 2 commits
  15. 24 May, 2006 2 commits
    • Paul Brook's avatar
      2006-05-24 Paul Brook <paul@codesourcery.com> · d8071884
      Paul Brook authored
      	Backport from mainline.
      	* bfd/elf-bfd.h (elf_backend_data): Add
      	elf_backend_output_arch_local_syms
      	* bfd/elf32-arm.c (output_arch_syminfo): Define.
      	(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
      	elf32_arm_output_arch_local_syms): New functions.
      	(elf_backend_output_arch_local_syms): Define.
      	* bfd/elflink.c (bfd_elf_final_link): Call
      	elf_backend_output_arch_local_syms.
      	* bfd/elfxx-target.h (elf_backend_output_arch_local_syms): Provide
      	default definition.
      	(elfNN_bed): Add elf_backend_output_arch_local_syms.
      	* ld/testsuite/ld-arm/arm-app-abs32.d: Update expected output.
      	* ld/testsuite/ld-arm/arm-app.d: Ditto.
      	* ld/testsuite/ld-arm/arm-lib-plt32.d: Ditto.
      	* ld/testsuite/ld-arm/arm-lib.d: Ditto.
      	* ld/testsuite/ld-arm/mixed-app-v5.d: Ditto.
      	* ld/testsuite/ld-arm/mixed-app.d: Ditto.
      	* ld/testsuite/ld-arm/mixed-lib.d: Ditto.
      d8071884
    • Paul Brook's avatar
      2006-05-24 Paul Brook <paul@codesourcery.com> · 74d03616
      Paul Brook authored
      	Backport form mainline.
      	* bfd/elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
      	(elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
      	elf32_arm_finish_dynamic_symbol): Use them.
      74d03616
  16. 22 May, 2006 1 commit
  17. 20 May, 2006 1 commit
  18. 15 May, 2006 2 commits
    • Paul Brook's avatar
      2006-05-15 Paul Brook <paul@codesourcery.com> · 83276268
      Paul Brook authored
      	Backport from mainline.
      	* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
      	(bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
      	Check symbol name is of specified type.
      	* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol,
      	arm_elf_find_function, elf32_arm_output_symbol_hook): Use
      	bfd_is_arm_special_symbol_name.
      	* bfd/bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
      	BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
      	BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
      	(bfd_is_arm_mapping_symbol_name): Remove prototype.
      	(bfd_is_arm_special_symbol_name): Add prototype.
      	* bfd/bfd-in2.h: Regenerate.
      	* gas/config/tc-arm.c (arm_adjust_symtab): Use
      	bfd_is_arm_special_symbol_name.
      	* ld/testsuite/ld-arm/arm-be8.d: New test.
      	* ld/testsuite/ld-arm/arm-be8.s: New test.
      	* ld/testsuite/ld-arm/arm-elf.exp: Add arm-be8.
      83276268
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · a54c929d
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-05-15 19:57:35 UTC Paul Brook <paul@codesourcery.com> '2006-05-15  Paul Brook  <paul@codesourcery.com>':
          ld/testsuite/ld-arm/arm-be8.d
          ld/testsuite/ld-arm/arm-be8.s
      a54c929d
  19. 12 May, 2006 1 commit
    • Carlos O'Donell's avatar
      · a42549db
      Carlos O'Donell authored
      2006-05-12  Carlos O'Donell  <carlos@codesourcery.com>
      
      	* binutils/doc/binutils.texi: Rename "Index" to "Binutils Index"
      a42549db
  20. 11 May, 2006 1 commit
    • Carlos O'Donell's avatar
      · a4444fbb
      Carlos O'Donell authored
      2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
      
      	* bfd/doc/bfd.texinfo: Rename "Index" to "BFD Index"
      	* ld/ld.texinfo: Rename "Index" to "LD Index"
      	* gas/doc/as.texinfo: Rename "Index" to "AS Index"
      	Rename "ABORT" to "ABORT (COFF)"
      a4444fbb
  21. 06 May, 2006 1 commit
    • Joseph Myers's avatar
      Backport: · e003008a
      Joseph Myers authored
      	2006-03-30  Jakub Jelinek  <jakub@redhat.com>
      	* ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
      	bfd_find_nearest_line succeeded for %C or %D, but filename
      	is NULL, print section+offset at the end.
      e003008a
  22. 05 May, 2006 2 commits
    • Julian Brown's avatar
      * gas/config/tc-arm.c (stdarg.h): include. · 4268c571
      Julian Brown authored
      	(arm_it): Add uncond_value field. Add isvec and issingle to operand
      	array.
      	(arm_reg_type): Add REG_TYPE_VFSD (single or double VFP reg) and
      	REG_TYPE_NSDQ (single, double or quad vector reg).
      	(reg_expected_msgs): Update.
      	(BAD_FPU): Add macro for unsupported FPU instruction error.
      	(parse_neon_type): Support 'd' as an alias for .f64.
      	(parse_typed_reg_or_scalar): Support REG_TYPE_VFSD, REG_TYPE_NSDQ
      	sets of registers.
      	(parse_vfp_reg_list): Don't update first arg on error.
      	(parse_neon_mov): Support extra syntax for VFP moves.
      	(operand_parse_code): Add OP_RVSD, OP_RNSDQ, OP_VRSDLST, OP_RVSD_IO,
      	OP_RNSDQ_RNSC, OP_RVC_PSR, OP_APSR_RR, OP_oRNSDQ.
      	(parse_operands): Support isvec, issingle operands fields, new parse
      	codes above.
      	(do_vfp_nsyn_mrs, do_vfp_nsyn_msr): New functions. Support VFP mrs,
      	msr variants.
      	(do_mrs, do_msr, do_t_mrs, do_t_msr): Add support for above.
      	(NEON_ENC_TAB): Add vnmul, vnmla, vnmls, vcmp, vcmpz, vcmpe, vcmpez.
      	(NEON_ENC_SINGLE, NEON_ENC_DOUBLE): Define macros.
      	(NEON_SHAPE_DEF): New macro. Define table of possible instruction
      	shapes.
      	(neon_shape): Redefine in terms of above.
      	(neon_shape_class): New enumeration, table of shape classes.
      	(neon_shape_el): New enumeration. One element of a shape.
      	(neon_shape_el_size): Register widths of above, where appropriate.
      	(neon_shape_info): New struct. Info for shape table.
      	(neon_shape_tab): New array.
      	(neon_type_mask): Add N_F64, N_VFP. Update N_MAX_NONSPECIAL.
      	(neon_check_shape): Rewrite as...
      	(neon_select_shape): New function to classify instruction shapes,
      	driven by new table neon_shape_tab array.
      	(neon_quad): New function. Return 1 if shape should set Q flag in
      	instructions (or equivalent), 0 otherwise.
      	(type_chk_of_el_type): Support F64.
      	(el_type_of_type_chk): Likewise.
      	(neon_check_type): Add support for VFP type checking (VFP data
      	elements fill their containing registers).
      	(do_vfp_cond_or_thumb): Fill in condition field in ARM mode, or 0xE
      	in thumb mode for VFP instructions.
      	(do_vfp_nsyn_opcode): New function. Look up the opcode in argument,
      	and encode the current instruction as if it were that opcode.
      	(try_vfp_nsyn): New. If this looks like a VFP instruction with ARGS
      	arguments, call function in PFN.
      	(do_vfp_nsyn_add_sub, do_vfp_nsyn_mla_mls, do_vfp_nsyn_mul)
      	(do_vfp_nsyn_abs_neg, do_vfp_nsyn_ldm_stm, do_vfp_nsyn_ldr_str)
      	(do_vfp_nsyn_sqrt, do_vfp_nsyn_div, do_vfp_nsyn_nmul)
      	(do_vfp_nsyn_cmp, nsyn_insert_sp, do_vfp_nsyn_push)
      	(do_vfp_nsyn_pop, do_vfp_nsyn_cvt, do_vfp_nsyn_cvtz): New functions.
      	Redirect Neon-syntax VFP instructions to VFP instruction handlers.
      	(do_neon_dyadic_i_su, do_neon_dyadic_i64_su, do_neon_shl_imm)
      	(do_neon_qshl_imm, do_neon_logic, do_neon_bitfield)
      	(neon_dyadic_misc, neon_compare, do_neon_tst, do_neon_qdmulh)
      	(do_neon_fcmp_absolute, do_neon_step, do_neon_sli, do_neon_sri)
      	(do_neon_qshlu_imm, neon_move_immediate, do_neon_mvn, do_neon_ext)
      	(do_neon_rev, do_neon_dup, do_neon_rshift_round_imm, do_neon_trn)
      	(do_neon_zip_uzp, do_neon_sat_abs_neg, do_neon_pair_long)
      	(do_neon_recip_est, do_neon_cls, do_neon_clz, do_neon_cnt)
      	(do_neon_swp): Use neon_select_shape not neon_check_shape. Use
      	neon_quad.
      	(vfp_or_neon_is_neon): New function. Call if a mnemonic shared
      	between VFP and Neon turns out to belong to Neon. Perform
      	architecture check and fill in condition field if appropriate.
      	(do_neon_addsub_if_i, do_neon_mac_maybe_scalar, do_neon_abs_neg)
      	(do_neon_cvt): Add support for VFP variants of instructions.
      	(neon_cvt_flavour): Extend to cover VFP conversions.
      	(do_neon_mov): Rewrite to use neon_select_shape. Add support for VFP
      	vmov variants.
      	(do_neon_ldr_str): Handle single-precision VFP load/store.
      	(do_neon_ld_st_interleave, do_neon_ld_st_lane, do_neon_ld_dup): Use
      	NS_NULL not NS_IGNORE.
      	(opcode_tag): Add OT_csuffixF for operands which either take a
      	conditional suffix, or have 0xF in the condition field.
      	(md_assemble): Add support for OT_csuffixF.
      	(NCE): Replace macro with...
      	(NCE_tag, NCE, NCEF): New macros.
      	(nCE): Replace macro with...
      	(nCE_tag, nCE, nCEF): New macros.
      	(insns): Add support for VFP insns or VFP versions of insns msr, mrs,
      	vsqrt, vdiv, vnmul, vnmla, vnmls, vcmp, vcmpe, vpush, vpop, vcvtz,
      	vmul, vmla, vmls, vadd, vsub, vabs, vneg, vldm, vldmia, vldbdb, vstm,
      	vstmia, vstmdb, vldr, vstr, vcvt, vmov. Group shared VFP/Neon insns
      	together.
      
      	* gas/testsuite/gas/arm/itblock.s: New file. Helper macro for making
      	all-true IT blocks.
      	* gas/testsuite/gas/arm/neon-cond-bad-inc.s: New test. Make sure
      	unconditional Neon instructions are rejected...
      	* gas/testsuite/gas/arm/neon-cond-bad.s: In ARM mode, and...
      	* gas/testsuite/gas/arm/neon-cond-bad_t2.s: Accepted in Thumb mode
      	(with IT).
      	* gas/testsuite/gas/arm/neon-cond-bad.l: Expected error output in ARM
      	mode.
      	* gas/testsuite/gas/arm/neon-cond-bad.d: Control ARM mode test.
      	* gas/testsuite/gas/arm/neon-cond-bad_t2.d: Expected output in Thumb
      	mode.
      	* gas/testsuite/gas/arm/vfp-neon-syntax-inc.s: Test VFP Neon-style
      	syntax.
      	* gas/testsuite/gas/arm/vfp-neon-syntax.s: ...in ARM mode.
      	* gas/testsuite/gas/arm/vfp-neon-syntax_t2.s: ...and Thumb mode.
      	* gas/testsuite/gas/arm/vfp-neon-syntax.d: Expected output in ARM mode.
      	* gas/testsuite/gas/arm/vfp-neon-syntax_t2.d: Expected output in Thumb
      	mode.
      4268c571
    • Nathan Sidwell's avatar
      * configure: Regenerate. · 89fa0dc0
      Nathan Sidwell authored
      	* configure.in: Enable gprof for cross builds.
      89fa0dc0
  23. 03 May, 2006 2 commits
    • Julian Brown's avatar
    • Paul Brook's avatar
      2006-05-03 Paul Brook <paul@codesourcery.com> · bfe99150
      Paul Brook authored
      	* bfd/elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
      	(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
      	(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
      	* bfd/reloc.c: Ditto.
      	* bfd/bfd-in2.h: Regenerate.
      	* bfd/libbfd.h: Regenerate.
      	* bfd/libcoff.h: Regenerate.
      	* gas/config/tc-arm.c (parse_half): New function.
      	(operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
      	(parse_operands): Ditto.
      	(do_mov16): Reject invalid relocations.
      	(do_t_mov16): Ditto.  Use Thumb reloc numbers.
      	(insns): Replace Iffff with HALF.
      	(md_apply_fix): Add MOVW and MOVT relocs.
      	(tc_gen_reloc): Ditto.
      	* gas/doc/c-arm.texi: Document relocation operators
      	* ld/testsuite/ld-arm/arm-elf.exp: Add arm-movwt.
      	* ld/testsuite/ld-arm/arm-movwt.d: New test.
      	* ld/testsuite/ld-arm/arm-movwt.s: New test.
      	* ld/testsuite/ld-arm/arm.ld: Add .far.
      bfe99150
  24. 02 May, 2006 1 commit
    • Joseph Myers's avatar
      * gas/config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset · 35b1b01f
      Joseph Myers authored
      	by 4 here.
      	(md_apply_fix3): Multiply offset by 4 here for
      	BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
      	* gas/testsuite/gas/arm/iwmmxt.s: Increase offsets for wstrb and
      	wstrh.
      	* gas/testsuite/gas/arm/iwmmxt.d: Update expected results.
      	* gas/testsuite/gas/arm/iwmmxt-bad2.s: Test wstrb, wstrh, wldrb
      	and wldrh.
      	* gas/testsuite/gas/arm/iwmmxt-bad2.l: Update expected error
      	messages.
      35b1b01f
  25. 01 May, 2006 1 commit
    • Paul Brook's avatar
      2006-05-01 Paul Brook <paul@codesourcery.com> · 8e41e2f8
      Paul Brook authored
      	* bfd/elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton
      	bit for R_ARM_REL32.
      	* gas/config/tc-arm.c (arm_optimize_expr): New function.
      	* gas/config/tc-arm.h (md_optimize_expr): Define
      	(arm_optimize_expr): Add prototype.
      	(TC_FORCE_RELOCATION_SUB_SAME): Define.
      	* ld/testsuite/ld-arm/arm-elf.exp: Add thumb-rel32.
      	* ld/testsuite/ld-arm/thumb-rel32.d: New test.
      	* ld/testsuite/ld-arm/thumb-rel32.s: New test.
      8e41e2f8
  26. 29 Apr, 2006 2 commits
    • Paul Brook's avatar
      2006-04-29 Paul Brook <paul@codesourcery.com> · c67de0c0
      Paul Brook authored
      	* opcodes/arm-dis.c (coprocessor_opcodes): Add %c to unconditional
      	arm instructions.
      	(neon_opcodes): Add conditional execution specifiers.
      	(thumb_opcodes): Ditto.
      	(thumb32_opcodes): Ditto.
      	(arm_conditional): Change 0xe to "al" and add "" to end.
      	(ifthen_state, ifthen_next_state, ifthen_address): New.
      	(IFTHEN_COND): Define.
      	(print_insn_coprocessor, print_insn_neon): Print thumb conditions.
      	(print_insn_arm): Change %c to use new values of arm_conditional.
      	(print_insn_thumb16): Print thumb conditions.  Add %I.
      	(print_insn_thumb32): Print thumb conditions.
      	(find_ifthen_state): New function.
      	(print_insn): Track IT block state.
      	* gas/testsuite/gas/arm/thumb2_bcond.d: Update expected output.
      	* gas/testsuite/gas/arm/thumb32.d: Ditto.
      	* gas/testsuite/gas/arm/vfp1_t2.d: Ditto.
      	* gas/testsuite/gas/arm/vfp1xD_t2.d: Ditto.
      	* binutils/testsuite/binutils-all/arm/objdump.exp: New file.
      	* binutils/testsuite/binutils-all/arm/thumb2-cond.s: New test.
      c67de0c0
    • Mark Mitchell's avatar
      * doc/as.texinfo: Mention that some .type syntaxes are not · f79add9e
      Mark Mitchell authored
      	supported on all architectures.
      f79add9e