This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: soft-fp: Adjust call to abort for kernel use [committed]
- From: David Miller <davem at davemloft dot net>
- To: dalias at libc dot org
- Cc: joseph at codesourcery dot com, libc-alpha at sourceware dot org
- Date: Fri, 20 Feb 2015 13:58:17 -0500 (EST)
- Subject: Re: soft-fp: Adjust call to abort for kernel use [committed]
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1502201807380 dot 30214 at digraph dot polyomino dot org dot uk> <20150220184614 dot GW23507 at brightrain dot aerifal dot cx>
From: Rich Felker <dalias@libc.org>
Date: Fri, 20 Feb 2015 13:46:14 -0500
> Could these be replaced by __builtin_trap() or similar? I'm not clear
> on whether this code is purely glibc+kernel or also used by gcc, but
> if it's used by gcc too it would be very much preferable not to have
> libgcc pulling in a reference to abort (this affects -ffreestanding,
> etc.).
Another thing that occurs to me is that perhaps this can be coded
in such a way as to cause compile time errors.