]> git.ipfire.org Git - thirdparty/glibc.git/commit
Additional fixes for llvm-as
authorJosh Kunz <jkz@google.com>
Fri, 24 Jan 2020 01:37:14 +0000 (17:37 -0800)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:04 +0000 (17:26 -0700)
commitcb908840466823a53c03da86e65118eb7467ab0b
treeb7088310f77bc70e859a8c2a9a8078efab865542
parent144448d56646f119c227f171473372855dd17e95
Additional fixes for llvm-as

Unlike GCC, llvm always uses an integrated assembler, which attempts to
recognized all `asm` statements written in the C code. glibc uses some
syntactically invalid asm statements to emit constants into assembly that
are later extracted with a sed or AWK script.

This change fixes two such invalid `asm` statements by wrapping the
output in a `.ascii` directive.. This does not break the sed/AWK (the same
special sequence is output) but it makes the statement syntactically valid.

See cf8e3f8757 for a previous fix for the same issue.
sysdeps/gnu/errlist.awk
sysdeps/gnu/errlist.c