X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX18t+98UNZ4t39oPjp0B7ItDqtWSalyOyT0Ay3+YlU VrU1o57xcFy4tb From: Juan Manuel Guerrero To: djgpp-workers AT delorie DOT com Subject: Re: Difficulties compiling libc using GCC 4.5.3 Date: Thu, 23 Jun 2011 06:56:30 +0200 User-Agent: KMail/1.9.10 References: <201106230342 DOT 56961 DOT juan DOT guerrero AT gmx DOT de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201106230656.30510.juan.guerrero@gmx.de> X-Y-GMX-Trusted: 0 Reply-To: djgpp-workers AT delorie DOT com Am Donnerstag, 23. Juni 2011 schrieb Rugxulo: > "sil" is a AMD64 (64-bit long mode) register (isn't it?), so your GAS > must be confused with normal "si" and AT&T syntax "l" size postfix. si is the source index register. AFAIK sil = 8bit, si = 16bit, esi = 32bit, rsi = 64bit. The AT&T syntax "l" size postfix is applied to the opcode and not to the registers AFAIK. E.g. movl = 32bit move opcode. It should be noted that the bug appears if compiled with -O0. It compiles flawessly for -O1 and -O2. The same bug appears with GCC 4.6.0 Regards, Juan M. Guerrero