summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support for ARCompact architecture.newlib-1_17_0-arcJoern Rennecke2009-09-109180-3115802/+80
|
* Add missing ChangeLog entries for my last commit.newlib-1_17_0Ralf Wildenhues2008-12-217-0/+34
|
* daily updateAlan Modra2008-12-211-1/+1
|
* 2008-12-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-12-202-12/+13
| | | | * config/tc-i386.c (parse_insn): Optimize ".s" handling.
* gas/H.J. Lu2008-12-2021-7477/+8819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (_i386_insn): Add swap_operand. (parse_insn): Handle ".s". (match_template): Handle swap_operand. * doc/c-i386.texi: Document .s suffix. gas/testsuite/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts, sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel, x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel. * gas/i386/opts.d: New. * gas/i386/opts-intel.d: Likewise. * gas/i386/opts.s: Likewise. * gas/i386/sse2avx-opts.d: Likewise. * gas/i386/sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/x86-64-sse2avx-opts.d: Likewise. * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. opcodes/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (EbS): New. (EvS): Likewise. (EMS): Likewise. (EXqS): Likewise. (EXxS): Likewise. (b_swap_mode): Likewise. (v_swap_mode): Likewise. (q_swap_mode): Likewise. (x_swap_mode): Likewise. (v_mode): Updated. (w_mode): Likewise. (t_mode): Likewise. (xmm_mode): Likewise. (swap_operand): Likewise. (dis386): Use EbS on movB. Use EvS on moveS. (dis386_twobyte): Use EXxS on movapX. (prefix_table): Use EXxS on movups, movupd, movdqu, movdqa, vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq. (vex_table): Use EXxS on vmovapX. (vex_len_table): Use EXqS on vmovq. (intel_operand_size): Handle b_swap_mode, v_swap_mode, q_swap_mode and x_swap_mode. (OP_E_register): Handle b_swap_mode and v_swap_mode. (OP_EM): Handle v_swap_mode. (OP_EX): x_swap_mode and q_swap_mode. * i386-gen.c (opcode_modifiers): Add S. * i386-opc.h (S): New. (Modrm): Updated. (i386_opcode_modifier): Add s. * i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq, movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq. * i386-tbl.h: Regenerated.
* * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,Hans-Peter Nilsson2008-12-205-0/+96
| | | | ld-cris/tls-ie-8e1.d: New tests.
* * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE andHans-Peter Nilsson2008-12-204-1/+14
| | | | | decoration on double-indirect. * gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
* * config/tc-cris.c (cris_process_instruction): HandleHans-Peter Nilsson2008-12-202-0/+17
| | | | | | | | BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits. (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the "double indirect" addressing mode. (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE. (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
* * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.Hans-Peter Nilsson2008-12-205-6/+43
| | | | | | | | (cris_reloc_map): Similarly. (cris_elf_relocate_section, cris_elf_gc_sweep_hook) (cris_elf_check_relocs): Handle R_CRIS_32_IE. * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. * bfd-in2.h, libbfd.h: Regenerate.
* * cris.h (R_CRIS_32_IE): New relocation.Hans-Peter Nilsson2008-12-202-0/+9
|
* daily updateAlan Modra2008-12-201-1/+1
|
* daily updateAlan Modra2008-12-191-1/+1
|
* gas/testsuite/H.J. Lu2008-12-1827-2742/+2814
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.d: Remove trailing white spaces after nop. * gas/i386/intelpic.d: Likewise. * gas/i386/nops16-1.d: Likewise. * gas/i386/nops-1-i686.d: Likewise. * gas/i386/nops-3.d: Likewise. * gas/i386/nops-3-i386.d: Likewise. * gas/i386/nops-3-i686.d: Likewise. * gas/i386/nops-4.d: Likewise. * gas/i386/nops-4-i386.d: Likewise. * gas/i386/nops-4-i686.d: Likewise. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/reloc.d: Likewise. * gas/i386/tlsnopic.d: Likewise. * gas/i386/x86-64-nops-1.d: Likewise. * gas/i386/x86-64-nops-1-nocona.d: Likewise. * gas/i386/x86-64-nops-2.d: Likewise. * gas/i386/x86-64-nops-3.d: Likewise. * gas/i386/x86-64-nops-4-core2.d: Likewise. * gas/i386/x86-64-nops-4.d: Likewise. * gas/i386/x86-64-nops-4-k8.d: Likewise. * gas/i386/x86-64-opcode.d: Likewise. ld/testsuite/ 2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/tlsld1.dd: Remove trailing white spaces after nop. opcodes/ 2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (mnemonicendp): New. (op): Likewise. (print_insn): Use mnemonicendp. (OP_3DNowSuffix): Likewise. (CMP_Fixup): Likewise. (CMPXCHG8B_Fixup): Likewise. (CRC32_Fixup): Likewise. (OP_DREX_FCMP): Likewise. (OP_DREX_ICMP): Likewise. (VZERO_Fixup): Likewise. (VCMP_Fixup): Likewise. (PCLMUL_Fixup): Likewise. (VPERMIL2_Fixup): Likewise. (MOVBE_Fixup): Likewise. (putop): Update mnemonicendp. (oappend): Use stpcpy. (simd_cmp_op): Changed to struct op. (vex_cmp_op): Likewise. (pclmul_op): Likewise. (vpermil2_op): Likewise.
* Backport link test fix from upstream Libtool:Ralf Wildenhues2008-12-187-273/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
* merge from gccDJ Delorie2008-12-182-1/+21
|
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2008-12-183-6/+12
|
* * options.h (class General_options): Add --no case forIan Lance Taylor2008-12-182-1/+7
| | | | --export-dynamic.
* daily updateAlan Modra2008-12-181-1/+1
|
* 2008-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-12-173-0/+158
| | | | | * COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
* (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missingHans-Peter Nilsson2008-12-172-1/+3
| | | | gate h != NULL for h->def_regular test.
* * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: NewHans-Peter Nilsson2008-12-174-0/+51
| | | | tests.
* * elf32-cris.c (elf_cris_copy_indirect_symbol): Return withoutHans-Peter Nilsson2008-12-172-0/+10
| | | | action for symbols other than bfd_link_hash_indirect.
* daily updateAlan Modra2008-12-171-1/+1
|
* * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transferCary Coutant2008-12-165-20/+50
| | | | | | | | | | | | | | | | vector. (Plugin_manager::claim_file): Create plugin object even if plugin did not call the add_symbols callback. (Plugin_obj::get_symbol_resolution_info): Guard against plugin asking for more symbols than were added. * testsuite/Makefile.am (plugin_test_1): Add test case with no global symbols. (empty.syms): New target. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_test.c (claim_file_hook): Add new debug message. Don't call add_symbols if no globals. (all_symbols_read_hook): Don't provide replacement for empty claimed file.
* 2008-12-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2008-12-163-4/+23
| | | | | | | | | | | | | | | | | | | Sync with GCC: 2008-12-12 Sebastian Pop <sebastian.pop@amd.com> * configure.ac (ppllibs): Add by default the lib flags. * configure: Regenerate. 2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Add double brackets on darwin[912]. * configure: Regenerate. 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Expand to darwin10 and later. * configure: Regenerate.
* daily updateAlan Modra2008-12-161-1/+1
|
* opcodes:Richard Earnshaw2008-12-1518-1242/+1266
| | | | | | | | | | | | | | | | | | | | | | | * arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using unified syntax. gas/testsuite: * gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses unified syntax. * gas/arm/vfp-non-overlap.d: Likewise. * gas/arm/vfp-neon-syntax.d: Likewise. * gas/arm/vfp-neon-syntax_t2.d: Likewise. * gas/arm/vfp1.d: Likewise. * gas/arm/vfp1_t2.d: Likewise. * gas/arm/vfp1xD.d: Likewise. * gas/arm/vfp1xD_t2.d: Likewise. * gas/arm/vfp2.d: Likewise. * gas/arm/vfp2_t2.d: Likewise. * gas/arm/vfpv3-32drs.d: Likewise. * gas/arm/vfpv3-const-conv.d: Likewise. ld/testsuite: * ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses unified syntax. * ld-arm/vfp11-fix-vector.d: Likewise.
* * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.Hans-Peter Nilsson2008-12-152-0/+34
| | | | (elf_backend_copy_indirect_symbol): Define to above.
* * ld-cris/libdso-13b.d: New test.Hans-Peter Nilsson2008-12-152-0/+25
|
* * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New memberHans-Peter Nilsson2008-12-152-68/+140
| | | | | | | | | | | | | | | r_type. Fix formatting. (cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> <R_CRIS_32_PCREL>: Also break early if the symbol doesn't get emitted as a dynamic one. (cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork from PCREL relocs code and simplify; don't fall through. <R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for pcrel only. For non-local or overridable symbols in a DSO, always keep count of relocs, not just when -Bsymbolic. Don't emit message nor mark as TEXTREL here. (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as TEXTREL here, if there are nondiscarded pcrel relocs.
* * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: InitializeHans-Peter Nilsson2008-12-152-1/+9
| | | | using ibfd, not abfd.
* * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,Hans-Peter Nilsson2008-12-156-0/+115
| | | | | ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New tests.
* * ld-cris/got7.s: Correct .size expression.Hans-Peter Nilsson2008-12-153-2/+7
| | | | * ld-cris/tls-e-20a.d: Adjust accordingly.
* daily updateAlan Modra2008-12-151-1/+1
|
* daily updateAlan Modra2008-12-141-1/+1
|
* daily updateAlan Modra2008-12-131-1/+1
|
* * target-reloc.h (Default_scan_relocatable_relocs): Only discardIan Lance Taylor2008-12-123-16/+14
| | | | | | | | r_type == 0 for a local symbol with r_sym == 0. (scan_relocatable_relocs): Pass r_sym to local_non_section_strategy. * reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add r_sym parameter.
* * configure.ac: Update test for TLS descriptors: they areIan Lance Taylor2008-12-123-51/+86
| | | | | supported as of glibc 2.9. * configure: Rebuild.
* PR 7091Ian Lance Taylor2008-12-122-4/+26
| | | | | * target-reloc.h (Default_scan_relocatable_relocs): For each function, map r_type == 0 to RELOC_DISCARD.
* daily updateAlan Modra2008-12-121-1/+1
|
* PR 7041Alan Modra2008-12-112-2/+8
| | | | | * elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic.
* daily updateAlan Modra2008-12-111-1/+1
|
* merge from gccDJ Delorie2008-12-104-0/+55
|
* * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacementCary Coutant2008-12-102-0/+14
| | | | object to override a kept COMDAT group from a plugin object.
* bfd/Alan Modra2008-12-105-75/+136
| | | | | | | | | | * elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
* bfd/Alan Modra2008-12-105-312/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
* * elf32-spu.c (define_ovtab_symbol): Don't abort on symbolsAlan Modra2008-12-102-12/+24
| | | | | | | defined in linker scripts. (discover_functions): Consider STT_SECTION symbols too. (collect_lib_sections): Don't cut short call tree traversal when function size is too large.
* * elf32-spu.c (find_function_stack_adjust): Don't limit numberAlan Modra2008-12-102-12/+58
| | | | | | | of insns scanned. Correct sp tests. Handle "fsmbi" and "andbi". (mark_detached_root): New function. (build_call_tree): Call it. (sort_calls): Don't do void* arithmetic.
* daily updateAlan Modra2008-12-101-1/+1
|
* bfdTom Tromey2008-12-094-3/+12
| | | | | | | * pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc 4.4. binutils * srconv.c (wr_hd): Add parens to placate gcc 4.4.