public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/5] Add and use libgcc
@ 2009-04-03 15:39 Bastian Blank
  2009-04-03 15:40 ` Bastian Blank
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bastian Blank @ 2009-04-03 15:39 UTC (permalink / raw)
  To: linux-kernel, linux-s390

Hi

gcc always expects to be able to use the symbols in libgcc for
operations that are unsupported on the CPU.  Linux added functions if
needed or just worked around such operations.  Sometimes it even
describes the compiler as broken, even if it is properly documented by
gcc themself.

This patchset adds a copy of libgcc to the kernel and uses it if to do
such unsupported operations.  This way we can remove the usage of
workarounds like do_div.

Unsolved problems:
- It currently uses the gcc-included longlong division support which is marked
  as possibly trapping.
- The libgcc sources are currently unmodifed copies from gcc, this means
  it needs some headers with fixed names.

Bastian

-- 
Leave bigotry in your quarters; there's no room for it on the bridge.
		-- Kirk, "Balance of Terror", stardate 1709.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-03 15:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03 15:39 [RFC][PATCH 0/5] Add and use libgcc Bastian Blank
2009-04-03 15:40 ` Bastian Blank
2009-04-03 15:41 ` [PATCH 2/5] libgcc: Add config and support headers Bastian Blank
2009-04-03 15:41 ` [PATCH 3/5] libgcc: Add Makefile Bastian Blank
2009-04-03 15:42 ` [PATCH 4/5] libgcc: Disable usage of special do_div version Bastian Blank
2009-04-03 15:42 ` [PATCH 5/5] s390: Use libgcc Bastian Blank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox