public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Joel Sherrill <joel@OARcorp.com>
To: gas2@cygnus.com
Subject: Re: i386 - GAS  problem (fwd)
Date: Fri, 20 Mar 1998 10:32:00 -0000	[thread overview]
Message-ID: <Pine.BSF.3.96.980320123036.4501Z-200000@vespucci.advicom.net> (raw)

One of the RTEMS users reported this.  I asked for a test cas and he
responded. 

--joel


---------- Forwarded message ----------
Date: Fri, 20 Mar 1998 15:38:16 -0500
From: "erik.ivanenko" <erik.ivanenko@utoronto.ca>
To: Joel Sherrill <joel@OARcorp.com>
Subject: Re: i386 - GAS  problem

Joel Sherrill wrote:

> Could you put together a small compilable file with this in it?  binutils
> 2.9 is getting closer and we don't want problems like this in there.

The following file shows that the ds register is ignored by the lidt and
lgdt instructions.This is also a problem with the GAS I have ( shipped with
gcc-2.7.2.1 , Linux Universe version ).
I suspect this has been there for a while. 

 .section .text
 .code16
   movw $0x1000, %ax
 movw    %ax, %ds

 lidt    %ds:0x1000
 lidt    0x1000

 lgdt    %ds:0x1000
 lgdt    0x1000

 .code32

 lidt    %ds:0x1000
 lidt    0x1000

 lgdt    %ds:0x1000
 lgdt    0x1000

             reply	other threads:[~1998-03-20 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-20 10:32 Joel Sherrill [this message]
1998-03-20 15:02 ` H.J. Lu
     [not found] <ECS9803211657D@utoronto.ca>
1998-03-21 22:55 ` H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.3.96.980320123036.4501Z-200000@vespucci.advicom.net \
    --to=joel@oarcorp.com \
    --cc=gas2@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).