aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2010-12-12Mark .gnu.lto_* sections with SHF_EXCLUDE.H.J. Lu4-1/+20
bfd/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * elf.c (special_sections_g): Add ".gnu.lto_". gas/testsuite/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Run section9. * gas/elf/section9.d: New. * gas/elf/section9.s: Likewise.
2010-12-11opcodes/Richard Sandiford4-0/+223
2010-12-03 Mingming Sun <mingm.sun@gmail.com> * mips-opc.c: (mips_builtin_opcodes): Add loongson3a mul/div and fixed point instructions. gas/testsuite/ 2010-12-03 Mingming Sun <mingm.sun@gmail.com> * gas/mips/loongson-3a.s, gas/mips/loongson-3a.d: New test. * gas/mips/mips.exp: Run it.
2010-12-10 * config/tc-mips.h (TC_ADDRESS_BYTES): New macro.Maciej W. Rozycki3-0/+18
(mips_address_bytes): New prototype. * config/tc-mips.c (mips_address_bytes): New function.
2010-12-09 * config/tc-mips.c (mips_ip): Remove dead format specifier code.Maciej W. Rozycki2-6/+4
2010-12-09 gas/Maciej W. Rozycki7-5/+31
* config/tc-mips.c (file_ase_mips16): Adjust comment. (append_insn): Update file_ase_mips16. (mips_after_parse_args): Don't set file_ase_mips16 here. gas/testsuite/ * gas/mips/elf_ase_mips16.d: Update test for new MIPS16 ASE flag semantics. * gas/mips/elf_ase_mips16-2.d: New test. * gas/mips/nop.s: Source for the new test. * gas/mips/mips.exp: Run the new test. binutils/testsuite/ * lib/binutils-common.exp (regexp_diff): Implement inverse matching, requested by `!'.
2010-12-09 * config/tc-mips.c (macro)Maciej W. Rozycki2-10/+11
<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove dedicated return points.
2010-12-09 * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types usedMaciej W. Rozycki2-13/+21
for pos and size.
2010-12-09 * gas/mips/jal-svr4pic.d: Also use wildcard address matching inMaciej W. Rozycki5-36/+44
relocations. * gas/mips/mips1@jal-svr4pic.d: Likewise. * gas/mips/jal-svr4pic-noreorder.d: Likewise. * gas/mips/mips1@jal-svr4pic-noreorder.d: Likewise.
2010-12-09 gas/Maciej W. Rozycki7-127/+73
* config/tc-mips.c (macro) <ld_st>: Don't load a zero into an auxiliary register when using a signed 16-bit constant offset. gas/testsuite/ * gas/mips/ldstla-32.d: Update according to a 16-bit constant offset optimization. * gas/mips/ldstla-32-mips3.d: Likewise. * gas/mips/ldstla-32-shared.d: Likewise. * gas/mips/ldstla-32-mips3-shared.d: Likewise.
2010-12-09 * config/tc-mips.c (mips_ip): Remove lastregno'sMaciej W. Rozycki2-1/+6
preinitialization.
2010-12-09 * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'Maciej W. Rozycki2-2/+6
as a base register specifier.
2010-12-09 * config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.Maciej W. Rozycki2-11/+15
2010-12-09 * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUIMaciej W. Rozycki2-1/+7
argument complained about; reword the message.
2010-12-09 * config/tc-mips.c (macro)Maciej W. Rozycki2-2/+8
<M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant used to compare against for the always-false/true case.
2010-12-09 * config/tc-mips.c (macro): Remove a trailing 0 from NOPMaciej W. Rozycki2-5/+10
requests.
2010-12-09 * config/tc-mips.c (macro): Use EXTRACT_OPERAND to get registerMaciej W. Rozycki2-3/+8
numbers.
2010-12-09 * config/tc-mips.c (macro): Replace 0 with ZERO in macro_buildMaciej W. Rozycki2-34/+39
and move_register calls referring to $0.
2010-12-09 gas/Maciej W. Rozycki8-57/+70
* config/tc-mips.c (macro, mips_ip): Correct message capitalization. gas/testsuite/ * gas/mips/at-2.l: Adjust according to message capitalization fixes. * gas/mips/illegal.l: Likewise. * gas/mips/jalr.l: Likewise. * gas/mips/octeon-ill.l: Likewise. * gas/mips/tls-ill.l: Likewise.
2010-12-09* config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning.Arnold Metselaar2-13/+17
2010-12-09 * config/tc-mips.c (macro_build, macro, mips_ip, md_apply_fix):Maciej W. Rozycki2-137/+144
Fix formatting.
2010-12-09 * gas/mips/ldstla-32.d: Use wildcard address matching.Maciej W. Rozycki5-1138/+1145
* gas/mips/ldstla-32-mips3.d: Likewise. * gas/mips/ldstla-32-shared.d: Likewise. * gas/mips/ldstla-32-mips3-shared.d: Likewise.
2010-12-09bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignoreMike Frysinger2-0/+13
This seems to cover a few random targets as well as --enable-targets=all. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-05ChangeLog entry for config/tc-z80.c testsuite/gas/z80/z80.exp ↵Arnold Metselaar1-0/+11
testsuite/gas/z80/atend.[sd]
2010-12-05PR gas/12269Arnold Metselaar4-4/+43
* config/tc-z80.c (emit_mx, emit_ldxhl): Do not use symbol_get_value_expression on a symbol that may not yet have a value. * testsuite/gas/z80/atend.s: New file, test case for bug 12269, provided by Chris Smith. * testsuite/gas/z80/atend.d: New file, expected results for atend.s. * testsuite/gas/z80/z80.exp: Run new test case.
2010-12-04 PR gas/12282Maciej W. Rozycki2-1/+7
* expr.c (expr_build_dot): Make a clone of the symbol to return if needed.
2010-12-02gas/Richard Sandiford10-4/+308
* symbols.c (S_FORCE_RELOC): Return true for indirect functions even if !strict. * expr.c (operand): Don't convert absolute symbols to constants if S_FORCE_RELOC is true. (expr): Only reduce subtractions between different symbols if S_FORCE_RELOC is false for both of them. * write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC is true for them, regardless of their segment. gas/testsuite/ * gas/i386/ifunc-2.s, gas/i386/ifunc-2.l: New test. * gas/i386/ifunc-3.s, gas/i386/ifunc-3.d: Likeise. * gas/i386/i386.exp: Run them.
2010-12-01 * symbols.h (dot_symbol): New declaration.Maciej W. Rozycki6-3/+43
(dot_symbol_init): New prototype. * symbols.c (dot_symbol): New variable. (symbol_clone): Assert it's not dot_symbol being cloned. (dot_symbol_init): New function. (symbol_clone_if_forward_ref): Create a new temporary symbol when trying to clone dot_symbol. * expr.c (current_location): Refer to dot_symbol instead of making a new temporary symbol. * read.c (read_a_source_file): Update dot_symbol as we go. * as.c (main): Call dot_symbol_init.
2010-12-01 * symbols.c (symbol_clone_if_forward_ref): Don't limit cloningMaciej W. Rozycki3-4/+21
to expr_section symbols; clone all equated symbols. Clear sy_resolving of the cloned copy. * expr.c (operand): Only clone equated symbols on a final (i.e. non-equated) reference.
2010-12-01 * config/tc-mips.c (md_convert_frag): Remove a call toMaciej W. Rozycki2-2/+7
S_GET_VALUE and use the result of resolve_symbol_value as the value of the symbol processed in MIPS16 relaxation.
2010-11-30Add sparc64-rtems.Alan Modra2-0/+5
2010-11-252010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-9/+12
* config/tc-s390.c (current_cpu): Initialize with latest CPU. (init_default_arch): Default to z/Architecture mode if CPU provides it. Remove the check setting the CPU default. 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.
2010-11-25Update translationsAlan Modra2-3292/+4069
2010-11-25 PR gas/12264Alan Modra2-4/+7
* compress-debug.c: Include config.h first.
2010-11-24gas: bfin: convert to new doc styleMike Frysinger3-11/+25
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-232010-11-23 Sterling Augustine <sterling@tensilica.com>Sterling Augustine3-47/+38
* doc/as.texinfo: Refer to and include c-xtensa.texi for Xtensa options. Move Xtensa options to proper alphabetical location. * doc/c-xtensa.texi: Add markup for use in manpage generation.
2010-11-23 * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.Nick Clifton2-2/+7
(INSN_LOONGSON_3A): Clear bit 31. * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a after bfd_mach_mips_sb1. * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.
2010-11-23Refer to and include c-i386.texi for i386 options.H.J. Lu3-1/+33
2010-11-23 H.J. Lu <hongjiu.lu@intel.com> * doc/as.texinfo: Refer to and include c-i386.texi for i386 options. * doc/c-i386.texi: Add markup for use in manpage generation.
2010-11-22 * doc/as.texinfo: Refer to or include c-alpha.texi for AlphaJoseph Myers4-60/+52
options. Refer to or include c-tic6x.texi for C6X options instead of duplicating documentation here. * doc/c-alpha.texi, doc/c-tic6x.texi: Add markup for use in manpage generation.
2010-11-20binutils/testsuite/Richard Sandiford8-126/+25
* lib/binutils-common.exp (regexp_diff): New procedure. * lib/utils-lib.exp (regexp_diff): Delete. gas/testsuite/ * lib/gas-defs.exp (regexp_diff): Delete. (run_dump_test): Remove final "" argument in call to regexp_diff. (run_list_test): Likewise. (run_list_test_stdin): Likewise. * gas/all/gas.exp (test_cond): Likewise. * gas/elf/elf.exp (run_elf_list_test): Likewise. * gas/m68k/all.exp: Likewise. * gas/mep/complex-relocs.exp (regexp_test): Likewise. * gas/mt/relocs.exp (regexp_test): Likewise. * gas/symver/symver.exp (run_error_test): Likewise. ld/testsuite/ * lib/ld-lib.exp (regexp_diff, simple_diff): Delete.
2010-11-20binutils/testsuite/Richard Sandiford2-107/+13
* lib/binutils-common.exp: New file. * lib/utils-lib.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format): Delete. gas/testsuite/ * lib/gas-defs.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format, is_aout_format, is_pecoff_format): Delete. ld/testsuite/ * lib/ld-lib.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format, is_elf64, is_aout_format, is_pecoff_format): Delete.
2010-11-19 PR 2606Alan Modra3-0/+16
* configure.in: Disable emulations for PE targets. * configure: Regenerate.
2010-11-18 PR gas/12181Rainer Orth2-0/+13
* config/obj-elf.c (elf_adjust_symtab) [TE_SOLARIS]: Make sy weak hidden.
2010-11-17 * input-file.c (input_file_open): Check for empty input files.Nick Clifton2-2/+27
(input_file_get): Check for end of file before reading any more data. (input_file_give_next_buffer): Likewise.
2010-11-15Also expect .zdebug in DWARF debug section name.H.J. Lu5-4/+11
binutils/testsuite/ 2010-11-15 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/compress.exp: Pass --nocompress-debug-sections to assembler for uncompressed debug sections. * binutils-all/testranges.d: Also expect .zdebug in section name. gas/testsuite/ 2010-11-15 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/dwarf2-3.d: Also expect .zdebug in section name. * gas/i386/debug1.d: Likewise. * gas/lns/lns-common-1.d: Likewise. * gas/lns/lns-duplicate.d: Likewise.
2010-11-15Mark parameters of elf_process_stab as ATTRIBUTE_UNUSED.H.J. Lu2-6/+11
2010-11-15 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (elf_process_stab): Mark parameters as ATTRIBUTE_UNUSED.
2010-11-15 * config/obj-elf.c (elf_generate_asm_lineno): New function.Rainer Orth2-7/+32
(elf_process_stab): New function. (elf_format_ops): Always use them as generate_asm_lineno, process_stab members.
2010-11-15 PR gas/12198Matthew Gretton-Dann7-0/+62
* gas/config/tc-arm.c (arm_arch_v6m_only): New variable. (aeabi_set_public_attributes): Ensure we only set the Operating System Extension when we are on an M-profile core. * gas/testsuite/gas/arm/pr12198-1.d: New test. * gas/testsuite/gas/arm/pr12918-1.s: Likewise. * gas/testsuite/gas/arm/pr12198-2.d: Likewise. * gas/testsuite/gas/arm/pr12918-2.s: Likewise. * include/opcode/arm.h (ARM_AEXT_V6M_ONLY): New define. (ARM_AEXT_V6M): Rewrite in terms of ARM_AEXT_V6M_ONLY. (ARM_ARCH_V6M_ONLY): New define.
2010-11-13gas/Richard Sandiford7-12/+351
* config/tc-mips.c (macro_build): Remove gas_assert from 'o' case. Use a restricted gas_assert for 'i' and 'j'. gas/testsuite/ * gas/mips/elf-rel28.s, gas/mips/elf-rel28-n32.d, gas/mips/elf-rel28-n64.d: New test. * gas/mips/mips.exp: Run it.
2010-11-11 bfd/Nick Clifton3-0/+7
* archures.c (bfd_mach_mips_loongson_3a): Defined. * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined. * cpu-mips.c (I_loongson_3a): New add. (arch_info_struct): Add loongson_3a. * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a. (mips_set_isa_flags): Add loongson_3a. (mips_mach_extensions): Add loongson_3a in MIPS64 extensions. binutils/ * readelf.c (get_machine_flags): Add loongson-3a. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64. * doc/c-mips.texi (MIPS cpu): Add loongson3a. include/ * elf/mips.h (E_MIPS_MACH_LS3A): Defined. * opcode/mips.h (INSN_LOONGSON_3A): Defined. (CPU_LOONGSON_3A): Defined. (OPCODE_IS_MEMBER): Add LOONGSON_3A. opcodes/ * mips-dis.c (mips_arch_choices): Add loongson3a. * mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A. (mips_builtin_opcodes): Modify some instructions' membership from IL2F to IL2F|IL3A, since these instructions are supported by Loongson_3A.
2010-11-10gas/Richard Sandiford5-2/+77
* config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide. gas/testsuite/ * gas/arm/plt-1.s, gas/arm/plt-1.d: New test.