aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues1-39/+54
* 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.
2008-12-15opcodes:Richard Earnshaw13-1145/+1161
* 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.
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config/tc-i386.c (build_modrm_byte): Remove an extra blank line.
2008-12-04opcodes/Ben Elliston11-294/+63
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE for -Mbooke. (print_ppc_disassembler_options): Update usage. * ppc-opc.c (DE, DES, DEO, DE_MASK): Remove. (BOOKE64): Remove. (PPCCHLK64): Likewise. (powerpc_opcodes): Remove all BOOKE64 instructions. gas/ * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update usage strings. (ppc_setup_opcodes): Likewise, remove booke64 support. * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64. * doc/as.texinfo (Overview): Likewise. binutils/ * doc/binutils.texi (objdump): Update booke documentation. * NEWS: Document user-visible changes to command line options.
2008-12-04* doc/as.texinfo (Type): Reword description of STT_IFUNC type.Nick Clifton2-2/+10
2008-12-03include/elf/Nick Clifton8-2/+47
* common.h (STT_IFUNC): Define. elfcpp/ * elfcpp.h (enum STT): Add STT_IFUNC. bfd/ * syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION. Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE. Renumber flags to remove gaps. (bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION. (bfd_decode_symclass): Likewise. * elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into STT_IFUNC. (elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC. (_bfd_elf_is_function_type): Likewise. * elf32-arm.c (arm_elf_find_function): Likewise. (elf32_arm_adjust_dynamic_symbol): Likewise. (elf32_arm_swap_symbol_in): Likewise. (elf32_arm_additional_program_headers): Likewise. * elf32-i386.c (is_indirect_symbol): New function. (elf_i386_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (is_indirect_symbol): New function. (elf64_x86_64_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf64_x86_64_relocate_section): Likewise. * elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into BSF_INDIRECT_FUNCTION. * elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support for STT_IFUNC symbols. (get_ifunc_reloc_section_name): New function. (_bfd_elf_make_ifunc_reloc_section): New function. * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field. * bfd-in2.h: Regenerate. gas/ * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type. * doc/as.texinfo: Document new feature. * NEWS: Mention new feature. gas/testsuite/ * gas/elf/type.s: Add test of STT_IFUNC symbol type. * gas/elf/type.e: Update expected disassembly. * gas/elf/elf.exp: Update grep of symbol types. ld/ * NEWS: Mention new feature. * pe-dll.c (process_def_file): Replace use of redundant BFD_FORT_COMM_DEFAULT_VALUE with 0. * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn sections. ld/testsuite/ * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc descriptions. * ld-mips-elf/reloc-1-n64.d: Likewise. * ld-i386/ifunc.d: New test. * ld-i386/ifunc.s: Source file for the new test. * ld-i386/i386.exp: Run the new test.
2008-11-292008-11-29 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+6
* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP use "pe-i386" for 32-bit.
2008-11-28 * Makefile.am (ehopt.o): Add struc-symbol.h.Jakub Jelinek5-30/+66
* Makefile.in: Regenerated. * ehopt.c: Include struc-symbol.h. (check_eh_frame): For very small O_constant DW_CFA_advance_loc4 create correct DW_CFA_advance_loc. Handle O_subtract only for code alignment factor 1, otherwise handle O_divide or O_right_shift of O_subtract and O_constant. (eh_frame_estimate_size_before_relax): Always divide by ca. (eh_frame_convert_frag): Likewise. * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1, DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
2008-11-28 * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,Thiemo Seufer3-0/+12
bfd_mach_mips16000. * archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000, bfd_mach_mips16000. * bfd-in2.h: Regenerate. * cpu-mips.c: Add enums I_mips14000, I_mips16000. (arch_info_struct): Add refs to R14000, R16000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000, bfd_mach_mips16000. (mips_mach_extensions): Map R14000, R16000 to R10000. * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000. (mips_cpu_info_table): Add r14000, r16000. * doc/c-mips.texi: Add entries for 14000, 16000. * mips-dis.c (mips_arch_choices): Add r14000, r16000. * mips.h: Define CPU_R14000, CPU_R16000. (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
2008-11-27 *c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.M R Swami Reddy1-0/+12
2008-11-27 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): DefinedM R Swami Reddy3-9/+123
* config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to md_pseudo_table and accept @c prefix, same as long directive. (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED. config/tc-cr16.c (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type and set it for GOT related relocations. (md_undefined_symbol): Defined (process_label_constant): Added checks for GOT/got and cGOT/cGOT prefixes with constant label and set the appropriate relocation type. * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
2008-11-27 * gas/cr16/pic-1.s: New.M R Swami Reddy6-0/+96
* gas/cr16/pic-1.d: New. * gas/cr16/pic-2.s: New. * gas/cr16/pic-2.d: New. * gas/cr16/pic.exp: Run pic tests.
2008-11-26* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.DJ Delorie2-0/+7
2008-11-25* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.DJ Delorie2-4/+8
2008-11-212008-11-21 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-1/+7
* xtensa-isa.c (xtensa_state_is_shared_or): New function. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag. * xtensa-isa.h (xtensa_state_is_shared_or): New prototype. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call xtensa_state_is_shared_or to allow multiple opcodes within a single FLIX bundle to write to these special states.
2008-11-20Forgot to save entry before commit:Hans-Peter Nilsson1-0/+5
* config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL on symbols in TLS relocs.
2008-11-19Change documentation license to FDL v1.3Nick Clifton3-157/+303
2008-11-19 * gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local threadHans-Peter Nilsson3-2/+14
variable instead of .text location for :GD decoration test.
2008-11-19 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCALHans-Peter Nilsson1-7/+13
on symbols in TLS relocs.
2008-11-18Add support for ARM half-precision conversion instructions.Catherine Moore9-49/+316
2008-11-17Update copyright year in --version messages.Nick Clifton2-1/+5
2008-11-14 * read.c (emit_expr): Grow frag before filling it so thatNick Clifton2-0/+8
dot_value remains valid.
2008-11-14 PR 7026Nick Clifton2-5/+11
* config/tc-arm.c: Ensure that all uses of as_bad have a formatting string.
2008-11-12 * config/tc-cris.c (cris_number_to_imm): Except forHans-Peter Nilsson2-28/+22
BFD_RELOC_NONE, always set contents. Where previously this was skipped, set contents to 0.
2008-11-12 PR gas/7025Hans-Peter Nilsson2-0/+10
* input-scrub.c (input_scrub_include_sb): Make the position after the input have defined contents, a 0 character.
2008-11-12 * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,Hans-Peter Nilsson4-0/+41
gas/cris/rd-bcnst2.s: New tests.
2008-11-12 * config/tc-cris.c (cris_relax_frag): Add missing case forHans-Peter Nilsson2-0/+4
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
2008-11-12 PR gas/7020Hans-Peter Nilsson1-0/+1
* read.c (read_a_source_file): Rearrange evaluation order when looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
2008-11-12 * read.c (read_a_source_file): Rearrange evaluation order whenHans-Peter Nilsson2-4/+10
looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
2008-11-06 * config/tc-mips.c (COP_INSN): Change logic to always return falseAdam Nemet7-4/+39
for FP instructions. testsuite/ * gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d, testsuite/gas/mips/mips1-fp.l: New tests. * gas/mips/mips.exp: Run them.
2008-11-062008-11-06 Chao-ying Fu <fu@mips.com>Chao-ying Fu4-0/+31
* gas/mips/mips32-sync.d, gas/mip/mips32-sync.s: New tests. * gas/mips/mips.exp: Run them.
2008-11-062008-11-06 Chao-ying Fu <fu@mips.com>Chao-ying Fu2-1/+10
* config/tc-mips.c (validate_mips_insn): Add case '1'. (mips_ip): Add case '1' to process sync type.
2008-11-06Add m32c-*-rtems* and m32r-*-rtems* configuration targets.Nick Clifton2-2/+6
2008-11-052008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson2-0/+59
* config/tc-xtensa.c (tinsn_check_arguments): Check for multiple writes to the same register.
2008-11-042008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson10-13/+117
* config/tc-xtensa.c (xtensa_j_opcode): New. (xg_instruction_matches_option_term): Handle "FREEREG" option. (xg_build_to_insn): Likewise. Update renamed tls_reloc reference. (md_begin): Initialize xtensa_j_opcode. (md_assemble): Update renamed tls_reloc reference. Handle "j.l". (xg_assemble_vliw_tokens): Save free_reg info in the frag. (tinsn_immed_from_frag): Get free_reg info back out of the frag. (vinsn_to_insnbuf): Update renamed tls_reloc references. Distinguish extra argument for "FREEREG" from extra TLS argument. * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field. * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc field to extra_arg. * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l". (build_transition): Handle "FREEREG" operand. * config/xtensa-relax.h (enum op_type): Add OP_FREEREG. 2008-11-04 Bob Wilson <bob.wilson@acm.org> * gas/xtensa/all.exp: Run jlong test. * gas/xtensa/jlong.d: New. * gas/xtensa/jlong.s: New.
2008-11-03gas/testsuite/H.J. Lu7-3/+35
2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.s: Add tests for cmovpe and cmovpo. * gas/i386/opcode.s: Likewise. * gas/i386/intel.d: Updated. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. opcodes/ 2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add cmovpe and cmovpo. * i386-tbl.h: Regenerated.
2008-10-31Update.Alan Modra2-2526/+2937
2008-10-24* config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2Maciej W. Rozycki2-2/+7
comment so that Broadcom SB-1 cores are in the MIPS64 section.
2008-10-21missing changelog entryAlan Modra1-0/+9
2008-10-21Remove unnecessary casts on obstack_alloc invocations.Alan Modra6-9/+9
2008-10-20 * config/bfin-parse.y: Use C style comments.Alan Modra5-11/+18
* config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise.
2008-10-12gas/H.J. Lu10-27/+445
2008-10-12 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (processor_type): Moved to tc-i386.h. (cpu_arch_tune): Make it global. (cpu_arch_isa): Likewise. (cpu_arch_isa_flags): Likewise. (i386_align_code): Check fragP->tc_frag_data.isa, fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune, respectively. * config/tc-i386.h (processor_type): Moved from tc-i386.c. (cpu_arch_tune): New. (cpu_arch_isa): Likewise. (cpu_arch_isa_flags): Likewise. (i386_tc_frag_data): Likewise. (TC_FRAG_TYPE): Likewise. (TC_FRAG_INIT): Likewise. gas/testsuite/ 2008-10-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run nops-5, nops-5-i686, x86-64-nops-5 and x86-64-nops-5-k8. * gas/i386/nops-5.d: New. * gas/i386/nops-5.s: Likewise. * gas/i386/nops-5-i686.d: Likewise. * gas/i386/x86-64-nops-5.d: Likewise. * gas/i386/x86-64-nops-5-k8.d: Likewise.
2008-10-09 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.Bob Wilson2-157/+161
(Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128): Moved into alphabetical order.
2008-10-09 * doc/as.texinfo (Dot): Expand no-space-dir conditional to includeBob Wilson2-13/+20
a complete sentence. (Pseudo Ops): Put conditionals around Skip and Space menu entries. (Line): Remove conditional declaration of Ln node and section here. Put aout-bout description inside the no-line-dir conditional. (Skip, Space): Use a separate conditional for each node.
2008-10-09 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional aroundBob Wilson2-26/+58
menu entry for File; remove version-specific .file operands from menu description. Replace "LNS directives" menu entry with new entries for "Loc" and "Loc_mark_labels". (LNS directives): Split into separate nodes for each directive. (Loc): New node for .loc directive. Mention that this directive is for DWARF2 and add a missing article. (Loc_mark_labels): Likewise for .loc_mark_labels. (File): Change this node to describe both the default version and the DWARF2 version of .file. Move the no-file-dir conditional to include only the default version.
2008-10-09 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.Eric Botcazou4-0/+25
* config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris. (i386_solaris_fix_up_eh_frame): Declare. * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
2008-10-09 PR 6944Nick Clifton2-2/+9
* doc/as.texinfo (Dollar Local Labels): Correct description of dollar local labels to show that the colon suffix is still needed.
2008-10-08 * configure.in (ALL_LINGUAS): Add "id".Nick Clifton4-2/+14911
* configure: Regenerate. * po/id.po: New Indonesian translation.
2008-10-072008-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+22
* read.c (pseudo_set): Don't allow global register symbol only if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined. * symbols.c (S_SET_EXTERNAL): Likewise. * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined. * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
2008-10-06 * doc/as.texinfo (Local): New description of ELF .local directive.Bob Wilson2-0/+23