aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2005-01-142005-01-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
PR 659 * config/tc-i386.c (i386_scale): Disallow 0 scale.
2005-01-12gas/testsuite/H.J. Lu4-0/+34
2005-01-12 H.J. Lu <hongjiu.lu@intel.com> * i386/i386.exp: Run "sib". * gas/i386/sib.d: New file. * gas/i386/sib.s: Likewise. opcodes/ 2005-01-12 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB.
2005-01-12(s_iq2000_set): Fix thinko parsing ignored_arguments array.Nick Clifton2-4/+9
2005-01-102005-01-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+8
* write.c (write_object_file): Disallow a symbol equated to common symbol.
2005-01-10Add support for maxq10 and maxq20 machine valuesNick Clifton2-9/+27
2005-01-09 * gas/i386/intel16.d: Ignore trailing text with #pass.Andreas Schwab7-6/+15
* gas/i386/intelok.d: Likewise. * gas/i386/prefix.d: Likewise. * gas/i386/sub.d: Likewise. * gas/i386/padlock.d: Likewise. * gas/i386/x86_64.d: Likewise.
2005-01-062005-01-06 Paul Brook <paul@codesourcery.com>Paul Brook2-9/+87
bfd/ * config.bfd: Add entry for arm-*-vxworks and arm-*-windiss. * configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec. * configure: Regenerate. * elf32-arm.c: Add VxWorks target bfd. (USE_REL): Remove. (elf32_arm_link_hash_table): Add use_rel. (elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate, elf32_arm_relocate_section): Replace USE_REL with runtime check. Correct offset calculation for RELA case. (elf_backend_may_use_rel_p, elf_backend_may_use_rela_p, elf_backend_default_use_rela_p, elf_backend_rela_normal): Define. (elf32_arm_vxworks_link_hash_table_create): New function. * targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration. (bfd_elf32_littlearm_vxworks_vec): Ditto. (_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec. gas/ * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS. (md_begin): Handle TE_VXWORKS for FP defaults. (md_apply_fix3): Correct rela offsets. (elf32_arm_target_format): Add VxWorks targets. ld/ * Makefie.am: Add earmelf_vxworks. * Makefile.in: Regenerate. * configure.tgt: Make arm-*-vxworks a separate case. * emulparams/armelf_vxworks.sh: New function.
2005-01-06 * configure.tgt: Set em=vxworks for *-*-vxworks.Paul Brook3-1/+37
* config/te-vxworks.h: New File.
2005-01-06 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.Paul Brook2-2/+6
2005-01-05 * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].Eric Botcazou2-1/+5
2005-01-04(md_apply_fix3): Fix offset calculation for global label.Nick Clifton2-2/+19
2005-01-04Line number bug fix patch from David Mosberger.Jim Wilson2-6/+29
* config/tc-ia64.c (md): Add member "loc_directive_seen". (dot_loc): New function. (md_pseudo_table): Add entry to map .loc to dot_loc(). (emit_one_bundle): Only call dwarf2_gen_line_info() if we have seen a .loc directive or we're generating DWARF2 debug info for assembly source.
2004-12-30 * gas/elf/elf.exp: Don't list reloc sections.Alan Modra3-4/+6
* gas/elf/section5.e: Remove reloc sections.
2004-12-29 PR gas/619Alan Modra2-3/+7
* read.c (s_comm_internal): Don't zero end of name until size expression has been parsed.
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.