Bug 5038 - Error: Unrecognized token 'mod'
Summary: Error: Unrecognized token 'mod'
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.19
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-16 08:39 UTC by Rask Ingemann Lambertsen
Modified: 2007-09-16 20:04 UTC (History)
1 user (show)

See Also:
Host:
Target: x86_64-unknown-linux-gnu
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rask Ingemann Lambertsen 2007-09-16 08:39:18 UTC
The following is rejected by gas (GNU assembler (GNU Binutils) 2.18.50.20070916):

.intel_syntax
call mod
Comment 1 H.J. Lu 2007-09-16 20:04:04 UTC
mod is a special token for % in Intel mode, similar to AND, OR, XOR, NOT, ....
Comment 2 drow@false.org 2007-09-17 16:42:11 UTC
Subject: Re:  Error: Unrecognized token 'mod'

On Sun, Sep 16, 2007 at 08:04:04PM -0000, hjl at lucon dot org wrote:
> mod is a special token for % in Intel mode, similar to AND, OR, XOR, NOT, ....

Does this mean you can't call a function named mod?