Message-Id: <199902261923.TAA125560@out2.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Fri, 26 Feb 1999 14:23:28 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: gas warning with _my_ds X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com While working on calling chroot() on startup when the right environmental variables are set, I came across this minor problem: Compiling the program below with a binutils snapshot from Oct/Nov 98 produces a warning: c:/djgpp/tmp/cc5xliF6.s: Assembler messages: c:/djgpp/tmp/cc5xliF6.s:24: Warning: using `%ecx' instead of `%cx' due to `l' suffix #include int main() { _my_ds(); return 0; } the offending instruction seems to be 'movl %ds,%cx' in _my_ds(). Does it still occur with a more recent snapshot? Does _my_ds() need adjustment or does this need to be reported to the binutils people? Mark --- Mark Elbrecht snowball3 AT usa DOT net http://members.xoom.com/snowball3/