This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix sysdeps/unix/sysv/linux/arm/libc-do-syscall.S warning
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>, Mike Frysinger <vapier at gentoo dot org>
- Date: Fri, 6 Mar 2015 22:15:13 +0000
- Subject: Re: Fix sysdeps/unix/sysv/linux/arm/libc-do-syscall.S warning
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1411261513490 dot 27454 at digraph dot polyomino dot org dot uk> <20150302041414 dot GR19363 at vapier> <alpine dot DEB dot 2 dot 10 dot 1503022312530 dot 32749 at digraph dot polyomino dot org dot uk> <54F8AF68 dot 9090803 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1503052213010 dot 31721 at digraph dot polyomino dot org dot uk> <54F8D737 dot 4040003 at redhat dot com> <20150305235128 dot GH19311 at vapier> <54F9C41C dot 4010601 at redhat dot com>
On Fri, 6 Mar 2015, Carlos O'Donell wrote:
> I agree. My point is that we should do what's right for glibc first.
> If there are two ways to fix this in glibc, and one way involves modifying
> any assembly that includes the header, and the other solves the problem
> once, then the changes to header are a better solution, for glibc, in my
> opinion. This doesn't take into account any user requirements to include
> the header in assembly files.
What about arranging for the configured CFLAGS to be used when building .S
files, so that -O options are active and the warning is avoided that way?
A comment in Makeconfig notes how -std=* can't be used for .S files, but
the -O options ought to work for them.
--
Joseph S. Myers
joseph@codesourcery.com