From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1386) id D207B3830B5C; Fri, 28 Jun 2024 06:20:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D207B3830B5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1719555610; bh=foYqfPxtDw5PwM3+tLfKO2KAeFpRL5taob/heiZO99g=; h=From:To:Subject:Date:From; b=DhqWDg2t3rc5iKn3cQEgYjqZ6wRtZsWsdpLRcJWP7YWuudOxsBS5l5o3YzysMPjWb mGuTTwkAwvK0b5xmrmvYPQedrtdqUlaBOfuc8WWkWnwzbJ1WUU0BBzp6fZJ1mPIVPp /NDCj2yt0uhoMnT9Svtd5d59K073sNuqCc5MJqeY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jan Beulich To: binutils-cvs@sourceware.org Subject: [binutils-gdb] gas: .irp/.irpc are macro-like X-Act-Checkin: binutils-gdb X-Git-Author: Jan Beulich X-Git-Refname: refs/heads/master X-Git-Oldrev: 685dcd295af6ed52154ce44fbe5d8cc58f2f1a51 X-Git-Newrev: f63d85cc78e73e7df93e6eedc953a08b713cfa43 Message-Id: <20240628062010.D207B3830B5C@sourceware.org> Date: Fri, 28 Jun 2024 06:20:10 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df63d85cc78e7= 3e7df93e6eedc953a08b713cfa43 commit f63d85cc78e73e7df93e6eedc953a08b713cfa43 Author: Jan Beulich Date: Fri Jun 28 08:17:41 2024 +0200 gas: .irp/.irpc are macro-like =20 ... for the purposes of get_line_sb() and _find_end_of_line(): They support \@ just like macros do, and hence the special casing there also needs applying. Diff: --- gas/read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gas/read.c b/gas/read.c index ce458777288..5b411e94f53 100644 --- a/gas/read.c +++ b/gas/read.c @@ -262,7 +262,7 @@ static int hex_float (int, char *); static segT get_known_segmented_expression (expressionS * expP); static void pobegin (void); static void poend (void); -static size_t get_non_macro_line_sb (sb *); +static size_t get_macro_line_sb (sb *); static void generate_file_debug (void); static char *_find_end_of_line (char *, int, int, int); =0C @@ -2402,7 +2402,7 @@ s_irp (int irpc) =20 sb_new (&out); =20 - err =3D expand_irp (irpc, 0, &s, &out, get_non_macro_line_sb); + err =3D expand_irp (irpc, 0, &s, &out, get_macro_line_sb); if (err !=3D NULL) as_bad_where (file, line, "%s", err);