aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2005-01-04(md_apply_fix3): Fix offset calculation for global label.Nick Clifton1-0/+5
2005-01-04Line number bug fix patch from David Mosberger.Jim Wilson1-0/+9
* 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-29 PR gas/619Alan Modra1-0/+6
* 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 Michalkiewicz1-0/+4
2004-12-232004-12-23 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+5
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
2004-12-22 * configure.tgt: New.Ian Lance Taylor1-0/+9
* 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 Clifton1-0/+10
LDI, ADIW/SBIW and LDD/STD instructions.
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-16include/elf/Richard Sandiford1-0/+6
* 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 Clifton1-0/+5
2004-12-16gas/Jan Beulich1-0/+6
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 Beulich1-0/+5
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 Beulich1-0/+6
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-11 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offsetIan Lance Taylor1-0/+4
which is too large in the case of NO_PIC without 64-bit addresses.
2004-12-10 * config/tc-mips.c (mips_in_shared): New static variable.Ian Lance Taylor1-0/+11
(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 Brook1-0/+5
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 Taylor1-0/+3
sequence, increase the size of the sequence.
2004-12-09 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry toIan Lance Taylor1-0/+5
use CPU_RM9000.
2004-12-07 * read.c (s_align): Use an align_limit temporary to allay a GCCBen Elliston1-0/+5
signed/unsigned comparison warning.
2004-12-03 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.Mark Mitchell1-0/+11
* 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 Wilson1-0/+5
(xtensa_restore_emit_state): Likewise.
2004-12-02 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.Alan Modra1-4/+9
(s_align): Use it.
2004-11-30Change LOCALEDIR to $(datadir)/share.Nick Clifton1-0/+5
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 Clifton1-0/+6
2004-11-26Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.Nick Clifton1-0/+5
2004-11-25gas/Jan Beulich1-0/+8
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-24Remove IQ10 support from IQ2000 portNick Clifton1-0/+6
2004-11-23* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.Nick Clifton1-0/+5
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 Beulich1-0/+16
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 Wilson1-0/+4
2004-11-22 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line sectionBob Wilson1-0/+5
without a corresponding .debug_info section.
2004-11-22 * read.c (potable): Add "error" and "warning".Hans-Peter Nilsson1-0/+7
(s_errwarn): New function. * read.h (s_errwarn): Declare. * doc/as.texinfo (Error, Warning): Document .error and .warning.
2004-11-22(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.Nick Clifton1-0/+5
2004-11-19include/opcode/Alan Modra1-0/+5
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes, struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c. gas/ * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes, struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
2004-11-19 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.Alan Modra1-0/+8
(coff_adjust_symtab): Adjust call. (crawl_symbols): Likewise. * config/obj-coff.h (c_dot_file_symbol): Add "app" param. (obj_app_file): Adjust.
2004-11-18Enable bfd_assembler by default for the MAXQ port.Nick Clifton1-0/+5
Adjust the testsuite expected disassemblies to take this into account.
2004-11-12Add Sterling Augustine to previous entry (credit where it's due)Bob Wilson1-0/+1
2004-11-122004-11-12 Bob Wilson <bob.wilson@acm.org>Bob Wilson1-0/+7
include/ChangeLog * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id. * xtensa-isa.h (xtensa_interface_class_id): New prototype. bfd/ChangeLog * xtensa-isa.c (xtensa_interface_class_id): New. gas/ChangeLog * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if there is a conflict. (check_t1_t2_reads_and_writes): Check for both reads and writes to interfaces that are related as determined by xtensa_interface_class_id.
2004-11-12Fix off by one negative offsets for conditional branches.Nick Clifton1-0/+5
Add a test of this fix.
2004-11-11gas/Bob Wilson1-0/+4
* config/tc-xtensa.c (MAX_IMMED6): Change value to 65. gas/testsuite/ * gas/xtensa/short_branch_offset.s: New. * gas/xtensa/short_branch_offset.d: New. * gas/xtensa/all.exp: Run new test.
2004-11-10 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP ifBob Wilson1-0/+7
relaxing at the end of a loop. Don't mark frags as UNREACHABLE or MAYBE_UNREACHABLE. (relax_frag_immed): Update call to update_next_frag_state.
2004-11-10 * obj.h (struct format_ops <app_file>): Add int param.Alan Modra1-17/+33
* read.h (s_app_file_string): Likewise. * read.c (s_app_file_string): Likewise. (s_app_file): Adjust s_app_file_string call. * config/tc-mips.c (s_mips_file): Likewise. * config/obj-coff.h (obj_app_file): Add app param. * config/obj-ecoff.h (obj_app_file): Likewise. * config/obj-multi.h (obj_app_file): Likewise. * config/obj-elf.h (elf_file_symbol): Likewise. * config/obj-elf.c (elf_file_symbol): Only emit one file symbol if called for # preprocessor lines.
2004-11-09Fix ChangeLog typo.Aaron W. LaFramboise1-1/+1
2004-11-092004-11-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+9
PR 528 * symbols.c (resolve_symbol_value): Convert weak symbols only for Windows PECOFF. (symbol_equated_reloc_p): Don't equate weaks when relocating only for Windows PECOFF.
2004-11-082004-11-08 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+5
* config/tc-crx.c (print_insn): Check and set insn_addr. * config/tc-crx.h (md_frag_check): Define.
2004-11-08Add support fpr MAXQ processorNick Clifton1-0/+10
2004-11-08Fix support for PECOFF weak symbolsNick Clifton1-0/+24
2004-11-05 * config/tc-xtensa.c (total_frag_text_expansion): New.Bob Wilson1-0/+6
(md_estimate_size_before_relax): Use it. (find_address_of_next_align_frag): Likewise.
2004-11-052004-11-05 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+16
* config/tc-crx.c: Rename argument types. (processing_arg_number): Rename to 'cur_arg_num'. (get_number_of_bits): Rename to 'set_operand_size'. (get_operandtype): Rename to 'parse_operand', totally rewrite. (set_cons_rparams): Rename to 'set_operand', totally rewrite. (set_indexmode_parameters): Remove function, integrate its code into 'set_operand'. (set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead. Use a local 'argument' pointer to reference the current argument. (parse_operand): Likewise. (set_operand): Likewise. (process_label_constant): Likewise.