RFC Add and use libgcc
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 of 5 patches 1 replyIn review
4 of 5 patches are in this archive. The cover letter announces 5.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/5 | libgcc: Add config and support headersinclude/ lib/ lib/ +3 more | +197 | 0 replies | |
| 3/5 | libgcc: Add Makefilelib/ lib/ | +31 | 0 replies | |
| 4/5 | libgcc: Disable usage of special do_div versioninclude/ | +1 | 0 replies | |
| 5/5 | s390: Use libgccarch/ arch/ arch/ +1 more | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/5] Add and use libgcc
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
Signature · 2 lines
Leave bigotry in your quarters; there's no room for it on the bridge. -- Kirk, "Balance of Terror", stardate 1709.2