summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-09-06 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-18Paul Brook2006-09-061-0/+9
| | | | | | | | | gas/ * config/tc-arm.c (parse_operands): Mark operand as present. gas/testsuite/ * gas/arm/neon-omit.s: Test three-argument variants. * gas/arm/neon-omit.d: Update expected output.
* gas/Julian Brown2006-09-051-0/+10
| | | | | | | | | * config/tc-arm.c (parse_qfloat_immediate): Fix hex immediates, handle 0.0 and -0.0 specially. gas/testsuite/ * gas/arm/neon-const.s: Use FP syntax for 0/-0. * gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1.
* 2006-09-05 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-051-0/+12
| | | | | | | | | | | | gas/ * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt and vacle. gas/testsuite/ * gas/arm/neon-cov.d: Adjust expected output. * gas/arm/neon-omit.s: Add tests for vcgt and vcle. Reorder vacle and vacle. * gas/arm/neon-omit.d: Adjust expected output.
* 2006-09-05 Vladimir Prus <vladimir@codesourcery.com>Paul Brook2006-09-052-2/+12
| | | | | | | | | | | | bfd/ * elf32-arm.c (elf32_arm_swap_symbol_out): Remove unconditionall setting of low bit for Thumb symbol mistakenly left behind after check for external symbols was added. ld/testsuite/ * ld-arm/use-thumb-lib.sym: Use regexps instead of absolute addresses, for robustness.
* gas/Julian Brown2006-09-051-0/+6
| | | | | * config/tc-arm.c (parse_qfloat_immediate): Disallow integer syntax for floating-point immediates.
* 2006-09-04 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-042-1/+17
| | | | | | | | | | | | | | | | gas/ * config/tc-arm.c (do_neon_dyadic_if_i): Remove. (do_neon_dyadic_if_i_d): Avoid setting U bit. (do_neon_mac_maybe_scalar): Ditto. (do_neon_dyadic_narrow): Force operand type to NT_integer. (insns): Remove out of date comments. gas/testsuite/ * gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes. * gas/arm/neon-cov.d: Adjust expected output. opcodes/ * arm-dis.c (neon_opcode): Fix suffix on VMOVN.
* bfd/Mark Shinwell2006-09-012-2/+8
| | | | | * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for R_ARM_THM_PC12 relocation.
* ld/testsuite/Nathan Sidwell2006-09-011-0/+6
| | | | * ld-elf/loadaddr.s: Copy from mainline.
* bfd/Mark Shinwell2006-08-312-6/+89
| | | | | | | * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations. (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
* ld/testsuite/Joseph Myers2006-08-311-0/+5
| | | | * ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.
* bfd/Mark Shinwell2006-08-302-6/+41
| | | | | | | * elf32-arm.c (elf32_arm_final_link_relocate): Add support for R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL, R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and R_ARM_THM_MOVT_BREL relocations.
* Add comment about my ldexp.c changebinutils-csl-renesas-4_1-9Nathan Sidwell2006-08-291-0/+1
|
* * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.Nathan Sidwell2006-08-291-0/+4
|
* ld/Nathan Sidwell2006-08-291-0/+19
| | | | | | | | | | | | | | | | | | Backport 2006-08-28 Alan Modra <amodra@bigpond.net.au> * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will not match random object files in a path containing "crtbegin" or "crtend" as part of a directory name. * scripttempl/armbpabi.sc: Likewise. * scripttempl/crisaout.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mmo.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
* ld/Nathan Sidwell2006-08-291-0/+11
| | | | | | | | | | * ldexp.c (fold_name): Loadaddrs of sections with an lma_region are absolute. ld/testsuite/ * ld-elf/loadaddr3.t: New. * ld-elf/loadaddr3a.d: New. * ld-elf/loadaddr3b.d: New.
* bfd/Mark Shinwell2006-08-242-13/+68
| | | | | | | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_howto_table_1): Change offset for R_THM_CALL to 25 and remove FIXME comment. (using_thumb2): New function. (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding. ld/testsuite/ * arm-elf.exp: Add thumb1-bl, thumb2-bl, thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests. * thumb1-bl.d: New. * thumb1-bl.s: New. * thumb2-bl-as-thumb1-bad.d: New. * thumb2-bl-as-thumb1-bad.s: New. * thumb2-bl-bad.d: New. * thumb2-bl-bad.s: New. * thumb2-bl.d: New. * thumb2-bl.s: New.
* bfd/Mark Shinwell2006-08-242-13/+45
| | | | | | | | * elf32-arm.c (elf32_arm_final_link_relocate): Add cases for R_ARM_ABS32_NOI and R_ARM_REL32_NOI. (elf32_arm_gc_sweep_hook): Likewise. (elf32_arm_check_relocs): Likewise. (allocate_dynrelocs): Likewise.
* Merge changes between binutils-csl-2_17-branchpoint andJoseph Myers2006-08-2279-3763/+12500
| | | | binutils-2_17, except for the addition of generated files to CVS.
* bfd/Mark Shinwell2006-08-212-1/+7
| | | | | * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in comment for target1_is_rel.
* gas/Joseph Myers2006-08-191-0/+11
| | | | | | | | | | * config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for merging with previous long opcode. gas/testsuite/ * gas/arm/unwind.s: Test not merging iWMMXt register save with previous long opcode. * gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.
* 2006-08-18 Paul Brook <paul@codesourcery.com>binutils-csl-renesas-4_1-8Paul Brook2006-08-182-25/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | Backport from mainline. bfd/ * elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue. (elf32_arm_link_hash_newfunc): Initialize export_glue. (record_arm_to_thumb_glue): Return stub symbol. (elf32_arm_create_thumb_stub): New function. (elf32_arm_to_thumb_stub): Use it. (elf32_arm_to_thumb_export_stub): New function. (elf32_arm_begin_write_processing): New function. (allocate_dynrelocs): Allocate Arm stubs. (elf_backend_begin_write_processing): Define. (elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED. Call elf32_arm_begin_write_processing. ld/ * emultempl/armelf.em (arm_elf_before_allocation): Call gld${EMULATION_NAME}_before_allocation after setting interworking bfd. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so. Add -use-blx to mixed-lib.so * ld-arm/armthumb-lib.d: New file. * ld-arm/armthumb-lib.sym: New file.
* libiberty/Julian Brown2006-08-182-60/+57
| | | | | | | * floatformat.c (get_field): Fix segfault with little-endian word order on 64-bit hosts. (put_field): Likewise. (min): Move definition.
* * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates asJulian Brown2006-08-182-1/+9
| | | | signed on 64-bit hosts.
* gas/Julian Brown2006-08-161-0/+15
| | | | | | | | | | | | | * config/tc-arm.c (md_assemble): Improve diagnostic when attempting to use ARM instructions on non-ARM-supporting cores. (autoselect_thumb_from_cpu_variant): New function. Switch on Thumb mode automatically based on cpu variant. (md_begin): Call above function. gas/testsuite/ * gas/arm/noarm.s: Add test for disabled ARM insns. * gas/arm/noarm.d: Drive test for above. * gas/arm/noarm.l: Expected error output.
* * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to beJulian Brown2006-08-161-0/+5
| | | | recognized in non-unified syntax mode.
* Correction to add missing "gas/" from previous ChangeLog.csl entry.Mark Shinwell2006-08-151-0/+1
|
* * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. ParseMark Shinwell2006-08-151-0/+11
| | | | | | | | | | a directive saving VFP registers for ARMv6 or later. (s_arm_unwind_save): Add parameter arch_v6 and call s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as appropriate. (md_pseudo_table): Add entry for new "vsave" directive. * doc/c-arm.texi: Correct error in example for "save" directive (fstmdf -> fstmdx). Also document "vsave" directive.
* Backport from mainline.binutils-csl-renesas-4_1-7binutils-csl-renesas-4_1-6Joseph Myers2006-08-031-0/+22
| | | | | | | | | | | | | | | | | | | | gas/ * config/tc-arm.c (parse_operands): Handle invalid register name for OP_RIWR_RIWC. gas/testsuite/ * gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and wstrw. * gas/arm/iwmmxt-bad.l: Update. gas/ * config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG. (parse_operands): Handle it. (insns): Use it for tmcr and tmrc. gas/testsuite/ * gas/arm/iwmmxt.s: Test tmcr and tmrc with wcgr registers. * gas/arm/iwmmxt.d: Update.
* 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>binutils-csl-sourcerygxx-4_1-17Carlos O'Donell2006-07-282-0/+22
| | | | | | | 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.
* bfd/Nathan Sidwell2006-07-267-6/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* opcodes/Richard Sandiford2006-07-262-1/+11
| | | | | | | | | * 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.
* Backport from mainline.Julian Brown2006-07-202-1/+14
| | | | | | | | | | | 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.
* 2006-07-19 Paul Brook <paul@codesourcery.com>Paul Brook2006-07-192-2/+12
| | | | | | | | | | 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.
* 2006-07-18 Paul Brook <paul@codesourcery.com>Paul Brook2006-07-184-0/+23
| | | | | | | | | | | | | | | | | | | 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.
* 2006-07-14 Nathan Sidwell <nathan@codesourcery.com>Mark Shinwell2006-07-142-0/+23
| | | | | | | | | | | | | | | bfd/ * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. gas/ * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. ld/ * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o (eshelf_uclinux.c): New target. * Makefile.in: Rebuilt. * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. * emulparams/shelf_uclinux.sh: New.
* bfd/Richard Sandiford2006-07-122-0/+18
| | | | | | | | | | | | 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.
* binutils/binutils-csl-sourcerygxx-4_1-15binutils-csl-sourcerygxx-4_1-14binutils-csl-sourcerygxx-4_1-13binutils-csl-sourcerygxx-4_1-12Richard Sandiford2006-06-221-0/+20
| | | | | | | | | | | | | | | | | | | * 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.
* Backport from mainline:Richard Sandiford2006-06-221-0/+13
| | | | | | | | | | | 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.
* ld/binutils-csl-sourcerygxx-3_4_4-21Mark Shinwell2006-06-211-0/+7
| | | | | | * 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.
* 2006-06-19 Vladimir Prus <vladimir@codesourcery.com>Paul Brook2006-06-192-0/+24
| | | | | | | | | | | 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.
* Support for ARM "group relocations" numbers 4, and 57 through 83.Mark Shinwell2006-06-157-25/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* gas/Julian Brown2006-06-151-0/+7
| | | | | | * 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.
* * elf.c (sym_is_global): Return a bfd_boolean.binutils-csl-sourcerygxx-4_1-9binutils-csl-sourcerygxx-4_1-8binutils-csl-sourcerygxx-4_1-7binutils-csl-sourcerygxx-4_1-6binutils-csl-arm-2006q1-6Julian Brown2006-05-252-36/+39
| | | | | | | (ignore_section_sym): New function. (elf_map_symbols): Use ignore_section_sym to discard some syms. (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to bfd before using elf_section_syms.
* * gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.Nathan Sidwell2006-05-251-0/+5
| | | | (m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.
* 2006-05-24 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-245-2/+219
| | | | | | | | | | | | | | | | | | | | | | 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.
* 2006-05-24 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-242-53/+102
| | | | | | | 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.
* opcodes/Richard Sandiford2006-05-222-0/+6
| | | | * m68k-dis.c (m68k_scan_mask): Add missing return.
* * binutils/testsuite/binutils-all/objcopy.exp: Skip for uclinuxbinutils-csl-coldfire-4_1-11Nathan Sidwell2006-05-201-0/+5
| | | | targets.
* 2006-05-15 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-3_4_4-19Paul Brook2006-05-155-16/+54
| | | | | | | | | | | | | | | | | | | | | 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.
* 2006-05-12 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell2006-05-121-0/+4
| | | | * binutils/doc/binutils.texi: Rename "Index" to "Binutils Index"