aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
AgeCommit message (Collapse)AuthorFilesLines
2000-10-15gas:Diego Novillo1-2/+12
2000-10-15 Diego Novillo <dnovillo@cygnus.com> * config/tc-i386.c (i386_operand_modifier): Only match modifiers SHORT and FLAT if they are followed by a space. (parse_register): When `allow_naked_reg' is set, do not confuse identifiers that start with a register name with a register. gas/testsuite: 2000-10-15 Diego Novillo <dnovillo@cygnus.com> * intel.s, intel.d: Add new tests for naked registers using intel syntax.
2000-10-05Correct handling of non-global syms in linkonce sections.Alan Modra1-53/+53
Tidy a few comments.
2000-08-14 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifierDiego Novillo1-0/+5
has the IgnoreSize bit set.
2000-08-042000-08-05 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-298/+315
* config/tc-cris.c: Fix formatting. * config/tc-i386.c: Likewise. * config/tc-sparc.c (sparc_ip): Simplify the code.
2000-06-25386.c (md_estimate_size_before_relax): RevertDJ Delorie1-28/+2
more changes from Sept 1999 (tc_i386_fix_adjustable): ditto (md_apply_fix3): ditto
2000-06-22Fix a problem with 32-bit displacements in .code16gcc mode.Alan Modra1-19/+31
2000-06-21* config/tc-i386.c (tc_i386_fix_adjustable): Revert change fromDJ Delorie1-1/+0
Sept 1999; RVA relocs need to be treated more like DIR32 relocs for cygwin import libraries to work properly.
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-3/+3
for m68hc11 and m68hc12 processors.
2000-06-09Don't treat `;' as a line separator by default.Alan Modra1-1/+1
Explicitly mention `;' in line_separator_chars in each backend.
2000-06-03Update md_shortopts to what we actually handle.Alan Modra1-2/+2
2000-05-23Pass jump reloc in fr_var so it can be used inAlan Modra1-30/+27
md_estimate_size_before_relax, replacing old kludge.
2000-05-22Keep a reloc for jumps to weak and external symbols.Alan Modra1-10/+16
2000-05-13Add x86 gas -q option to quiet some x86 gas warnings.Alan Modra1-55/+48
Remove useless -m flag_do_long_jump from x86 gas. If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.
2000-05-13`.arch cpu_type' pseudo for x86.Alan Modra1-20/+89
2000-04-25Remove '/' from comment_chars for FreeBSD so divide operator works.Alan Modra1-3/+3
Fix as.1 typo.
2000-04-25Keep shift count smaller than 32.Alan Modra1-2/+2
2000-04-182000-04-18 H.J. Lu (hjl@gnu.org)H.J. Lu1-6/+6
* config/tc-i386.c (offset_in_range): Use addressT instead of bfd_vma for none bfd assemblers.
2000-04-1764 bit bfd fix.Alan Modra1-4/+9
2000-04-10Fix 64-bit nits.Alan Modra1-64/+58
2000-04-03Correct 2000-02-26 change.Alan Modra1-4/+4
2000-03-26Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warnAlan Modra1-38/+38
messages with capital. Don't malign Unixware, malign SysV386 instead.
2000-02-26Catch some more cases where we can represent a 16 bit immediate operand asAlan Modra1-15/+67
8 bit sign extended.
2000-02-25Extend the i386 gas testsuite to do some tests for intel_syntax. Fix allAlan Modra1-8/+16
the errors exposed by this addition. These were intel mode "fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al". The failure with intel "out dx,al" was also present in att "out al,dx". Extend testsuite to catch this case too.
2000-02-24Yet more .intel_syntax fixes.Alan Modra1-12/+41
2000-02-24Correct intel_syntax fsub* and fdiv* handling. Oh, how I'd like to be ridAlan Modra1-19/+18
of UNIXWARE_COMPAT.
2000-02-24config/tc-i386.c (struct _i386_insn): Combine disps, imms, regs intoAlan Modra1-151/+97
a union. Use throughout file. Delete TC_RELOC macro.
2000-02-24 * config/tc-i386.c (md_assemble): When swapping operands forRichard Henderson1-15/+15
intel_syntax, assume everything that's not Imm or Disp is a register.
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra1-30/+34
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-01-26This set of patches add support for aout emulation on the x86Alan Modra1-20/+47
assembler. ie. You will be able to do "as --em=i386aout" on an x86 linux-elf assembler to generate aout format object files, rather than using a separate assembler. The aout emulation is enabled by giving "--enable-targets=i386-linuxaout" to configure. Oh yeah, there's a couple of fixes too. Error messages shouldn't be passed to printf in the format arg just in case someone puts a `%' in the message.
2000-01-15Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp andAlan Modra1-15/+12
call tests + tweak intel mode far call and jmp.
1999-12-27x86 indirect jump/call syntax fixes. Disassembly fix for lcall.Alan Modra1-8/+8
1999-11-16* config/tc-i386.c (i386_immediate): Disallow O_big immediates.Alan Modra1-3/+14
(i386_displacement): Disallow O_big displacements.
1999-10-12Nit fix.Alan Modra1-1/+1
1999-09-191999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>Ian Lance Taylor1-3/+21
* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as OBJ_ELF. If ELF, add "sq". (md_parse_option): If ELF, ignore -s and -q. (md_show_usage): Mention ELF options.
1999-09-13Hackery to handle ix86 "jmp constant" as a pc-relative jump to the givenAlan Modra1-105/+51
absolute address.
1999-09-13Tidy jump handling code and comments.Alan Modra1-44/+66
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-0/+1
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust BFD_RELOC_RVA relocations.
1999-09-12 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments toIan Lance Taylor1-2/+28
the value if TE_PE and a global defined symbol.
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-2/+4
* config/tc-i386.c (md_undefined_symbol): Compare the name against the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it starts with "_G".
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-2/+3
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocations against global symbols if TE_PE.
1999-09-12comment changeIan Lance Taylor1-4/+4
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-1/+1
* config/atof-ieee.c (atof_ieee): Change what_kind to int. * config/atof-vax.c (flonum_gen2vax): Change format_letter to int. (md_atof): Return NULL rather than 0. * config/tc-i386.c (md_atof): Change type to int.
1999-08-30i386 gas code cleanups: combine i386_is_reg and parse_register.Alan Modra1-189/+113
1999-08-29Allow spaces in i386 FP reg names, eg. %st ( 1 ).Alan Modra1-2/+33
1999-08-20*gas/config/tc-i386.c: Fix errors in displacement size whenAlan Modra1-0/+8
automatically inferring an address prefex.
1999-08-11config/tc-i386.c: Remove dead codeAlan Modra1-6/+0
1999-08-04Support for gcc to generate 16-bit i386 code. (.code16gcc)Alan Modra1-25/+48
1999-08-03 * config/obj-coff.c (coff_frob_symbol): Always update set_end withIan Lance Taylor1-3/+3
next_set_end even if the end symbol is being discarded. * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER. * output-file.c, symbols.c, config/tc-i386.c: Likewise. * config/obj-coff.c: Likewise. (seg_info_type): Remove. (seg_info_off_by_4): Change to array of segT. (s_get_segment): Adjust accordingly. (obj_pseudo_table): Fully initialize sentinel entry.
1999-08-03Rationalize some of the i386 intel mode code.Alan Modra1-944/+877
Indentation and white space changes.
1999-08-03* config/tc-i386.c: Add INFER_ADDR_PREFIX code. Fix 16 bit mode nop.Alan Modra1-395/+427