aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-12-25 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.Marek Michalkiewicz2-3/+7
2004-12-232004-12-23 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi2-6/+9
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
2004-12-22 * configure.tgt: New.Ian Lance Taylor6-838/+544
* configure.in: Move setting of cpu_type, fmt, etc., to configure.tgt. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add $(srcdir)/configure.tgt. * configure, Makefile.in: Rebuild.
2004-12-22Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for theNick Clifton2-14/+67
LDI, ADIW/SBIW and LDD/STD instructions.
2004-12-212004-12-21 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+10
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method. * gas/crx/bit_insn.d: Likewise. * gas/crx/br_insn.d: Likewise. * gas/crx/cmpbr_insn.d: Likewise. * gas/crx/cop_insn.d: Likewise. * gas/crx/load_stor_insn.d: Likewise.
2004-12-212004-12-21 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi6-232/+232
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method. * gas/crx/bit_insn.d: Likewise. * gas/crx/br_insn.d: Likewise. * gas/crx/cmpbr_insn.d: Likewise. * gas/crx/cop_insn.d: Likewise. * gas/crx/load_stor_insn.d: Likewise.
2004-12-21 * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],Hans-Peter Nilsson3-29/+35
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N copies, to cater to tcl versions before Tcl 8.2.3.
2004-12-20* gas/elf/section5.[ls]: Use % instead of @ in .section directives.Nick Clifton3-12/+17
2004-12-172004-12-16 Andrew Stubbs <andrew.stubbs@st.com>Joern Rennecke1-0/+8
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing BFD_RELOC_SH_IMMS10BY8 relocation. * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather than just ignoring bad code.
2004-12-162004-12-16 Andrew Stubbs <andrew.stubbs@st.com>Joern Rennecke1-2/+8
* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather than just ignoring bad code.
2004-12-162004-12-16 Andrew Stubbs <andrew.stubbs@st.com>Joern Rennecke1-0/+5
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing BFD_RELOC_SH_IMMS10BY8 relocation.
2004-12-16include/elf/Richard Sandiford6-2/+62
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc. bfd/ * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. * elf32-v850.c (v850_elf_howto_table): Add entry for R_V850_LO16_SPLIT_OFFSET. (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. (v850_elf_perform_lo16_relocation): New function, extracted from... (v850_elf_perform_relocation): ...here. Use it to handle R_V850_LO16_SPLIT_OFFSET. (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle R_V850_LO16_SPLIT_OFFSET. * libbfd.h, bfd-in2.h: Regenerate. gas/ * config/tc-v850.c (handle_lo16): New function. (v850_reloc_prefix): Use it to check lo(). (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. gas/testsuite/ * gas/v850/split-lo16.{s,d}: New test. * gas/v850/v850.exp: Run it. ld/testsuite/ * ld-v850: New directory.
2004-12-16Add support for s390x-ibm-tpf targetNick Clifton3-0/+7
2004-12-16gas/Jan Beulich7-23/+108
2004-12-15 Jan Beulich <jbeulich@novell.com> * config/obj-elf.c (obj_elf_change_section): Only set type and attributes on new sections. Emit warning when type of re-declared section doesn't match. gas/testsuite/ 2004-12-15 Jan Beulich <jbeulich@novell.com> * gas/elf/section5.[els]: New.
2004-12-16gas/Jan Beulich2-0/+6
2004-12-15 Jan Beulich <jbeulich@novell.com> * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so '.cfi_startproc simple' doesn't inherit the old value.
2004-12-16gas/Jan Beulich2-2/+8
2004-12-15 Jan Beulich <jbeulich@novell.com> * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf generation to emit a factored offset.
2004-12-13 * gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with differentRichard Sandiford3-2/+7
.text alignments.
2004-12-11bfd/Alan Modra55-192/+249
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that canonical sections syms have a name. gas/testsuite/ Update for changed section syms. ld/testsuite/ Update for changed section syms.
2004-12-11 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offsetIan Lance Taylor2-0/+6
which is too large in the case of NO_PIC without 64-bit addresses.
2004-12-10 * gas/mips/elf-rel23a.d: New test.Ian Lance Taylor7-0/+88
* gas/mips/elf-rel23b.d: New test. * gas/mips/elf-rel25.s: New test. * gas/mips/elf-rel25.d: New test. * gas/mips/elf-rel25a.d: New test. * gas/mips/mips.exp: Run new tests.
2004-12-10 * config/tc-mips.c (mips_in_shared): New static variable.Ian Lance Taylor4-15/+101
(macro_build_lui): Permit "_gp" if !mips_in_shared. (md_longopts): Add -mshared and -mno-shared. (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED. (s_cpload): Implement !mips_in_shared case. (s_cpsetup): Likewise. * doc/c-mips.texi (MIPS Opts): Document -mno-shared. * NEWS: Mention -mno-shared.
2004-12-09 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocationPaul Brook4-6/+15
for function start. * testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
2004-12-09 * config/tc-mips.c (append_insn): If we emit a nop during a relaxIan Lance Taylor2-0/+5
sequence, increase the size of the sequence.
2004-12-09 * gas/mips/branch-swap.d: Pass -32 to as.Ian Lance Taylor2-1/+5
2004-12-09 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry toIan Lance Taylor2-1/+6
use CPU_RM9000.
2004-12-07 * read.c (s_align): Use an align_limit temporary to allay a GCCBen Elliston2-2/+8
signed/unsigned comparison warning.
2004-12-03 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.Mark Mitchell9-20/+37
* configure.in: Use it for arm*-*-linux-gnueabi*. * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. * config/te-armlinuxeabi.h: New file. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Regenerated.
2004-12-03 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.Bob Wilson2-2/+7
(xtensa_restore_emit_state): Likewise.
2004-12-02 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.Alan Modra2-7/+18
(s_align): Use it.
2004-11-30Change LOCALEDIR to $(datadir)/share.Nick Clifton3-4/+9
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-1/+1
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+4
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-883/+420
config/tc-crx.c: Major code cleanup. Remove unused variables and functions, give functions a meaningful name, add comments. (check_range): New function - Replace operand size calculation with range checking. (assemble_insn): Update Algorithm, improve error issuing. (enum op_err): New - Operand error (for issuing operand error messages). (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+11
* config/tc-crx.c: Major code cleanup. Remove unused variables and functions, give functions a meaningful name, add comments. (check_range): New function - Replace operand size calculation with range checking. (assemble_insn): Update Algorithm, improve error issuing. (enum op_err): New - Operand error (for issuing operand error messages). (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
2004-11-29Fixed a pcrel relocte miss between different section in the same module.Nick Clifton7-3/+66
2004-11-27* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at endRichard Earnshaw2-2/+7
of dump pattern.
2004-11-26Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.Nick Clifton2-0/+10
2004-11-25Really fix it.H.J. Lu1-5/+5
2004-11-252004-11-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+11
* gas/ia64/group-1.d: Adjust expected secion ordering.
2004-11-25gas/Jan Beulich5-39/+41
2004-11-25 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (optimize_imm): Adjust immediates to only those permissible for the selected instruction suffix. (process_suffix): For DefaultSize instructions, suppressing the guessing of a 'q' suffix if the instruction doesn't support it is pointless, because only an 'l' suffix can be guessed in this place. gas/testsuite/ 2004-11-25 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-inval.[sl]: Remove sahf/lahf. include/opcode/ 2004-11-25 Jan Beulich <jbeulich@novell.com> * i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves to/from test registers are illegal in 64-bit mode. Add missing NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix (previously one had to explicitly encode a rex64 prefix). Re-enable lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
2004-11-252004-11-24 Paul Brook <paul@codesourcery.com>Paul Brook4-4/+12
bfd/ * elf.c (assign_section_numbers): Number SHT_GROUP sections first. gas/testsuite/ * gas/elf/group0a.d: Adjust expected secion ordering. * gas/elf/group1a.d: Ditto. * gas/elf/section4.d: Ditto.
2004-11-24Remove IQ10 support from IQ2000 portNick Clifton41-9555/+400
2004-11-24 Add checks for other variants of the sr and st instruction.Nick Clifton3-0/+20
2004-11-23* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.Nick Clifton5-13/+109
They should be correct now. * gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions. * gas/mn10300/relax.d: Add expected relocations.
2004-11-23gas/Jan Beulich4-32/+95
2004-11-23 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to indicate the MMX extensions added by both SSE and 3DNow!A. (Cpu3dnowA): Declare. (CpuUnknownFlags): Update. * config/tc-i386.c (cpu_sub_arch_name): Declare. (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies 3DNow!. Athlon additionally implies 3DNow!A. Several new entries (those starting with a dot are for sub-arch specification). (set_cpu_arch): Handle sub-arch specifications. (parse_insn): Distinguish between instructions not supported because of insufficient CPU features and because of 64-bit mode. * doc/c-i386.texi: Describe enhanced .arch directive. include/opcode/ 2004-11-23 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): paddq and psubq, even in their MMX form, are available only with SSE2. Change the MMX additions introduced by SSE and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A instructions by their now designated identifier (since combining i686 and 3DNow! does not really imply 3DNow!A).
2004-11-22 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.Bob Wilson2-0/+5
2004-11-22* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect theNick Clifton3-0/+7
change to the short immediate syntax. * gas/arc/ld.s: Add check of load of a long immediate. * gas/arc/ld.d: Add expected disassembly.
2004-11-22 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line sectionBob Wilson2-3/+7
without a corresponding .debug_info section.
2004-11-22 * read.c (potable): Add "error" and "warning".Hans-Peter Nilsson4-0/+68
(s_errwarn): New function. * read.h (s_errwarn): Declare. * doc/as.texinfo (Error, Warning): Document .error and .warning.
2004-11-22 * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.Hans-Peter Nilsson4-0/+24
* gas/all/err-1.s, gas/all/warn-1.s: New tests.