aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-11-22(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.Nick Clifton2-1/+6
2004-11-19include/opcode/Alan Modra2-0/+96
* 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 Modra3-10/+16
(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 Clifton7-32/+46
Adjust the testsuite expected disassemblies to take this into account.
2004-11-17bfd/Daniel Jacobowitz3-6/+11
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. (elf32_arm_plt_thumb_stub): New. (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount and plt_got_offset. (elf32_arm_link_hash_traverse): Fix typo. (elf32_arm_link_hash_table): Add obfd. (elf32_arm_link_hash_newfunc): Initialize new fields. (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. (elf32_arm_link_hash_table_create): Initialize obfd. (record_arm_to_thumb_glue): Mark the glue as a local ARM function. (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. (bfd_elf32_arm_get_bfd_for_interworking): Verify that the interworking BFD is not dynamic. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do not emit glue for PLT references. (elf32_arm_final_link_relocate): Handle Thumb functions. Do not emit glue for PLT references. Support the Thumb PLT prefix. (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and plt_thumb_refcount. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and plt_thumb_refcount. (allocate_dynrelocs): Handle Thumb PLT references. (elf32_arm_finish_dynamic_symbol): Likewise. (elf32_arm_symbol_processing): New function. (elf_backend_symbol_processing): Define. opcodes/ * arm-dis.c (WORD_ADDRESS): Define. (print_insn): Use it. Correct big-endian end-of-section handling. gas/testsuite/ * gas/arm/mapping.d: Expect F markers for Thumb code. * gas/arm/unwind.d: Update big-endian pattern. ld/ * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use a dynamic object for stubs. ld/testsuite/ * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: New files. * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, ld-arm/arm-static-app.r: Update for big-endian. * ld-arm/arm-elf.exp: Run the new tests.
2004-11-17Run the relax test.Nick Clifton1-0/+1
2004-11-12Add Sterling Augustine to previous entry (credit where it's due)Bob Wilson1-0/+1