delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/02/17/04:26:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=q99e7+7gROJxqMeuTcYybzX67hfikLf//YPhO24O3YA=;
b=ETUo5/+nsxilppgXUlVZOSsJ24JlnpbhdPEJcV2S91tscsUP3tmhEDMuhW6BcJScw2
Lj4Q/98dFEgG37G0q50ChZxudVq8o+upGG0RQGXPlWqLee6+HLkb1DH2b228cobJ29Rq
8x9uVxlIORLU5EMcPM/6kDp7B+QBj1zea8aITTJfp67jW5jxSj9P6EIYf4O5b3Xv4nzM
uI2v13dqEyN8kBrQmiGLfLFwaO+1c1apPIOpOO8EOJQeFBx4fgcDadg5tY1Y295CLVyT
F0AnGx5egdQKbBm7XPGB7yLg+GuyZ5x+KPt9ioRMgEc3g4eyTQuyaKabuj/kcOkFORWS
gi2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=q99e7+7gROJxqMeuTcYybzX67hfikLf//YPhO24O3YA=;
b=gieVlTFTKj2+vxVgz47L6rhuMyZH5XxM2fCr/uqbVBPpDpEBexpNPEfiAe5TXrHzXe
P88CeaPNwoG7fsyumET5zVoL/6K672ZTTtK8l9XlhqyxK8yIlf46uHQVKLXjadCHq4HD
iXivk1Fab+JLrBks6SvDLNt0laVvlt5HpCqQg4EnzYU2SHqrLH201RlLagB90LaqVkxR
DqFgYFPkKhEMPtgA3aX5t8nFTYc+DFyUtfFVv0/GwScxWVVrkSQEuartUBXrWdWr359M
MMou4hNmPu/vBUWZfr/1fFbJnkjjbR/Irz/q1iVHYQucTsQDz3tScgjT2DXVTE0r+lX5
I7iA==
X-Gm-Message-State: AG10YOQRC9wPpLp30K/j6WuG50HXbco309SJdYDz62vf1R8ttKHbfBeRH14uUtkqZ64uvTNjPxfc2EPhvKnqLQ==
MIME-Version: 1.0
X-Received: by 10.50.132.6 with SMTP id oq6mr2539249igb.32.1455701145713; Wed,
17 Feb 2016 01:25:45 -0800 (PST)
In-Reply-To: <4b2f2149-2994-4ff0-bda2-8051f1a27097@googlegroups.com>
References: <201601312013 DOT u0VKDC4O017569 AT delorie DOT com>
<n8norb$gck$1 AT usenet DOT news DOT interia DOT pl>
<56AF7CFB DOT 8010507 AT iki DOT fi>
<n8obct$m4c$1 AT usenet DOT news DOT interia DOT pl>
<83twlsyya8 DOT fsf AT gnu DOT org>
<56B03232 DOT 8040802 AT iki DOT fi>
<n8skjg$bf4$1 AT usenet DOT news DOT interia DOT pl>
<n9siu0$hu6$1 AT usenet DOT news DOT interia DOT pl>
<7c07fdd8-c7f5-4cba-b83d-42407a6717f7 AT googlegroups DOT com>
<CAA2C=vAujKzSw-dfU8OyZZnvjGY_rRWEuDSVTgaou4DLn1dV-A AT mail DOT gmail DOT com>
<4b2f2149-2994-4ff0-bda2-8051f1a27097 AT googlegroups DOT com>
Date: Wed, 17 Feb 2016 11:25:45 +0200
Message-ID: <CAA2C=vBj5AqHQ1a23YzqzV2LLn22-m9AB65bh6v_Uq2Nzk0CSw@mail.gmail.com>
Subject: Re: ANNOUNCE: Update of DJGPP port of gcc-5.3.0
From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 2/17/16, rugxulo AT gmail DOT com [via djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote:
> Hi again,
>
> On Monday, February 15, 2016 at 8:11:49 PM UTC-6, Ozkan Sezer
> (sezeroz AT spam DOT no) [via djgpp AT spam DOT no] wrote:
>>
>> AFAICS, it is from quake's d_copy.s assembler source.
>
> The actual file should've been named d_copy.S (capital S) since it
> uses the preprocessor (to #include three *.h files and #define
> stuff). The file makefile.linux seems to use "-x assembler-with-cpp"
> to guarantee this.
>
> The actual line (137) is this:
>
> "	rep/movsl	(%esi),(%edi)"
>
> ... which is really this: "<tab>rep/movsl<tab>(%esi),(%edi)"
>
> But even more curious is that the file has copious line comments
> starting with "//". So if I had to guess, it's that GAS is (now)
> confusing the rest of the instruction as a comment.
>
> A quick diff (on objdump output) shows this:
>
> -   dd: f3 a5       rep movs DWORD PTR es:[edi],DWORD PTR ds:[esi]
> -   df: 01 c6       add    esi,eax
> -   e1: 01 d7       add    edi,edx
> -   e3: 4d          dec    ebp
> +   dd: f3 01 c6    repz add esi,eax
> +   e0: 01 d7       add    edi,edx
> +   e2: 4d          dec    ebp
>
> Notice that the "a5" is completely omitted, thus causing it to
> combine with the next instruction?
>
> Hmmm, no, "gcc -E -c" still shows "rep/movsl (%esi),(%edi)".
>
> Checking /dev/env/DJDIR/share/info/as.info ...
>
> 9.15 80386 Dependent Features
> 9.15.3.2 Special Characters
>
> "
>    If the `--divide' command line option has not been specified then
> the `/' character appearing anywhere on a line also introduces a line
> comment.
> "
>
> But 2.25.1's as.info says the same. So if this differs from 2.25.1,
> maybe they finally "fixed" it to do what the doc says.
>
> (A quick check of 2.19 info doc seems to imply similar, but it also
> almost seems to imply that '/' would only be a valid comment at the
> beginning of a line.)
>

The changelogs don't report such behavior change, do they?
This _should_ be reported to binutils bugzilla.

--
O.S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019