aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-01-06 * configure.in: Define DEFAULT_ARCH for i386.Jan Hubicka8-174/+521
* tc-i386.c (md_assemble): Return after the error message; move testing for 64bit operands to proper place. * i386.exp: Add tests for presence of 32bit versus 64bit output format; run both 64bit and 32bit tests when format is available; add x86_64 test. * x86_64.s: New file. * x86_64.d: New file.
2001-01-062001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>Andreas Jaeger3-31/+205
* doc/as.texinfo: Document '#' as comment character for i386 and x86_64. Add AMD x86-64 into menu of machine dependent information. * doc/c-i386.texi: Document x86_64 extensions.
2001-01-05 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.Jan Hubicka2-18/+10
* i386.h (i386_optab): Make [sml]fence template to use immext field.
2001-01-04 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.Jan Hubicka3-1/+9
* NEWS: Add note about Pentium4 support.
2001-01-03 * tc-i387.c (pi, pte, pt): Update.Jan Hubicka2-16/+24
(type_names): Add new types.
2001-01-03 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,Jan Hubicka2-8/+17
CpuUnknown): Renumber (CpuP4, CpuSSE2): New. (CpuUnknownFlags): Add CpuP4 and CpuSSE2 * i386.h (i386_optab): Fix 64bit pushf template; Add instructions introduced by Pentium4
2001-01-032001-01-03 Philip Blundell <pb@futuretv.com>Phil Blundell2-1/+16
* config/tc-alpha.c (alpha_force_relocation): Handle vtable relocs. (alpha_fix_adjustable): Likewise. (md_apply_fix): Likewise.
2001-01-02Fix msr-bsd testNick Clifton2-1/+6
2001-01-012001-01-01 Philip Blundell <philb@gnu.org>Phil Blundell8-0/+83
* gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests. * gas/arm/arm.exp: Run them. * gas/arm/adrl.d, gas/arm/pic.d: Expected results for above. * gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'.
2001-01-012000-12-31 H.J. Lu <hjl@gnu.org>H.J. Lu3-174/+184
* listing.c (listing_message): Allocate string only if it is used. * configure: Rebuild.
2000-12-31 * doc/internals.texi (Relaxing with a table) <after relaxation>:Hans-Peter Nilsson2-0/+15
Point out caveats with generating fixups for the opcode in a frag.
2000-12-30 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*Jan Hubicka3-1/+10
* NEWS: Add x86_64. * i386.h (i386_optab): Add "rex*" instructions; add swapgs; disable jmp/call far direct instructions for 64bit mode; add syscall and sysret; disable registers for 0xc6 template. Add 'q' suffixes to extendable instructions, disable obsoletted instructions, add new sign/zero extension ones. (i386_regtab): Add extended registers. (*Suf): Add No_qSuf. (q_Suf, wlq_Suf, bwlq_Suf): New.
2000-12-292000-12-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+6
* listing.c (calc_hex): Print the variable part only if the fragment type is rs_fill.
2000-12-29 * doc/internals.texi (tc_conditional_pseudoop,Hans-Peter Nilsson2-2/+7
TC_LINKRELAX_FIXUP): Fix typos.
2000-12-28 * write.c (subsegs_finish): Fix thinko last change -- don'tRichard Henderson2-7/+9
"optimize" the alignment == 0 case.
2000-12-28 * as.h (rs_align_test): New.Richard Henderson23-259/+421
* frags.c (NOP_OPCODE): Move default from read.c. (MAX_MEM_FOR_RS_ALIGN_CODE): New default. (frag_align_code): New. * frags.h (frag_align_code): Declare. * read.c (NOP_OPCODE): Remove. (do_align): Use frag_align_code. * write.c (NOP_OPCODE): Remove. (get_recorded_alignment): New. (cvt_frag_to_fill): Handle rs_align_test. (relax_segment): Likewise. (subsegs_finish): Align last subseg in section to the section alignment. Use frag_align_code. * write.h (get_recorded_alignment): Declare. * config/obj-coff.c (size_section): Handle rs_align_test. (fill_section, fixup_mdeps): Likewise. (write_object_file): Use frag_align_code. * config/tc-alpha.c (alpha_align): Use frag_align_code. (alpha_handle_align): New. * config/tc-alpha.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-i386.h (md_do_align): Use frag_align_code. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. (ia64_handle_align): New. * config/tc-ia64.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m32r.c (m32r_do_align): Remove. (m32r_handle_align): New. (fill_insn): Use frag_align_code. * config/tc-m32r.h (md_do_align): Remove. (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m88k.c, config/tc-m88k.h: Similarly. * config/tc-mips.c, config/tc-mips.h: Similarly. * config/tc-sh.c (sh_cons_align): Use rs_align_test. (sh_handle_align): Likewise. Handle rs_align_code. (sh_do_align): Remove. * config/tc-sh.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. (sparc_handle_align): Likewise. Handle rs_align_code. * config/tc-sparc.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2000-12-22* config/tc-d10v.c (md_assemble): set prev_seg and prev_subsegDJ Delorie2-0/+7
when we assemble the first half of a pair.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+7
* gas/i386/intel.s: Replace "nop" with ".p2align 4,0". * gas/i386/intel.d: Updated.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+17
* config/tc-i386.c (reloc): Update the macro for non-bfd assembler. (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-9/+4
* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
2000-12-20Revert accidental checkin.Jan Hubicka1-0/+1
2000-12-20 * tc-i386.h (i386_target_format): Define even for ELFs.Jan Hubicka4-263/+935
(QWORD_MNEM_SUFFIX): New macro. (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): New macros (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, ImmExt): Renumber. (Size64, No_qSuf, NoRex64, Rex64): New macros. (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): Renumber. (Reg, WordReg): Add Reg64. (Imm): Add Imm32S and Imm64. (EncImm): New. (Disp): Add Disp64 and Disp32S. (AnyMem): Add Disp32S. (RegRex, RegRex64): New macros. (rex_byte): New type. * tc-i386.c (set_16bit_code_flag): Kill. (fits_in_unsigned_long, fits_in_signed_long): New functions. (reloc): New parameter "signed"; support x86_64. (set_code_flag): New. (DEFAULT_ARCH): New macro; default to "i386". (default_arch): New static variable. (struct _i386_insn): New fields Operand_PCrel; rex. (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"; (flag_code): New enum and static variable. (use_rela_relocations): New static variable. (flag_code_names): New static variable. (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to K6 and Athlon. (i386_align_code): Return plain "nop" for x86_64. (mode_from_disp_size): Support Disp32S. (smallest_imm_type): Support Imm32S and Imm64. (offset_in_range): Support size of 8. (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. (md_pseudo_table): Add "code64"; use set_code_flat. (md_begin): Emit sane error message on hash failure. (tc_i386_fix_adjustable): Support x86_64 relocations. (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, instructions supported on particular arch just partially, output of 64bit immediates, handling of Imm32S and Disp32S type. (i386_immedaite): Support x86_64 relocations; support 64bit constants. (i386_displacement): Likewise. (i386_index_check): Cleanup; support 64bit addresses. (md_apply_fix3): Support x86_64 relocation and rela. (md_longopts): Add "32" and "64". (md_parse_option): Add OPTION_32 and OPTION_64. (i386_target_format): Call even for ELFs; choose between elf64-x86-64 and elf32-i386. (i386_validate_fix): Refuse GOTOFF in 64bit mode. (tc_gen_reloc): Support rela relocations and x86_64. (intel_e09_1): Support QWORD. * i386.h (i386_optab): Replace "Imm" with "EncImm". (i386_regtab): Add flags field.
2000-12-162000-12-15 Diego Novillo <dnovillo@redhat.com>Diego Novillo2-10/+59
* config/tc-i386.c (intel_e09_1): Only flag as a memory operand if it's not an offset expression. (intel_e10_1): Ditto. Also, if the operand is an offset expression, keep the braces '[' and ']' in the output string. (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier != FLAT. There is no such op_modifier.
2000-12-14oops - omitted terminating #endifNick Clifton1-0/+1
2000-12-14If we don't have <limits.h>, try including <sys/param.h> if we have it.Nick Clifton2-1/+8
2000-12-142000-12-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata6-53/+57
* as.h: Fix formatting. * cgen.h: Likewise. * dwarf2dbg.c: Likewise. * input-scrub.c: Likewise. * read.h: Likewise.
2000-12-13* configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.DJ Delorie3-2/+7
configure: Regenerate.
2000-12-13aadd conditionals around definition of INT_MAXNick Clifton1-0/+2
2000-12-13Adde dfinition if INT_MAX if limits.h is not includedNick Clifton1-0/+2
2000-12-13#include <limits.h> only if it exists.Nick Clifton2-2/+8
2000-12-13Rodney Brown's CHECK_FIELD typo fixes.Alan Modra2-2/+7
2000-12-12Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.Jim Wilson8-881/+891
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. * config/tc-ia64.h (ia64_init): Add prototype. * gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d, gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update. * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode argument. * ia64_gen.c (insert_deplist): Cast sizeof result to int. (print_dependency_table): Print NULL if semantics field not set. (insert_opcode_dependencies): Mark cmp parameter as unused. (print_main_table): Use fprintf_vma to print long long fields. (main): Mark argv paramter as unused. Convert to old style definition. * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. * ia64-asmtab.c: Regnerate.
2000-12-122000-12-12 H.J. Lu <hjl@gnu.org>H.J. Lu4-2/+62
* dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined. * read.h (outputting_stabs_line_debug): Change it to int. * stabs.c (outputting_stabs_line_debug): Likewise.
2000-12-12 * config/obj-bout.c (obj_crawl_symbol_chain): Don't takeGeoffrey Keating2-1/+6
the address of a function result.
2000-12-122000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>Geoffrey Keating3-4/+21
* config/tc-ppc.c (md_pseudo_table): Add .file and .loc. (md_assemble): Call dwarf2_emit_insn. (shlib): Fix typo SHILB -> SHLIB. (md_parse_option): Likewise. (ppc_elf_validate_fix): Likewise: * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2000-12-12Fix formatting.Nick Clifton2-20/+19
2000-12-12Add el segundo testsNick Clifton4-25/+105
Fix formatting
2000-12-12Fix formattingNick Clifton6-47/+64
2000-12-12Fix formattingNick Clifton1-0/+6
2000-12-112000-12-11 H.J. Lu <hjl@gnu.org>H.J. Lu3-7/+8
* gas/i386/intel.d: Adjusted for the a.out assembler. * gas/i386/intel.s: Likewise.
2000-12-11 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intelJan Hubicka3-23/+50
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX references. (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse otherwise. * tc-i386.h (DWORD_MNEM_SUFFIX): Kill. (No_dSuf): Kill. * i386.h (*_Suf): Remove No_dSuf. (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) Remove. (i386_optab): Remove 'd' in the suffixes.
2000-12-09Update to match latest assembler output.Nick Clifton2-59/+62
2000-12-09Add xscale to list of Rel targetsNick Clifton1-0/+6
2000-12-09Fixup whitespaceNick Clifton1-1/+1
2000-12-06Fix T_SHORT macro conflict.Alan Modra2-115/+122
2000-12-052000-12-05 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-221/+216
* config/tc-mips.c: Fix formatting.
2000-12-05Add outputting_stabs_line_debug varaible and D10v code to use itNick Clifton8-382/+466
2000-12-03oops - omitted from previous deltasNick Clifton1-2/+2
2000-12-03Add MIPS64 instructions and testsNick Clifton4-0/+45
2000-12-03Finish off adding MIPS32 instructions.Nick Clifton3-8/+26