Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbdFFTOD (ORCPT ); Tue, 6 Jun 2017 15:14:03 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33582 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbdFFTKn (ORCPT ); Tue, 6 Jun 2017 15:10:43 -0400 From: Palmer Dabbelt To: monstr@monstr.eu To: ralf@linux-mips.org To: liqin.linux@gmail.com To: lennox.wu@gmail.com To: ysato@users.sourceforge.jp To: dalias@libc.org To: davem@davemloft.net To: linux-mips@linux-mips.org To: linux-sh@vger.kernel.org To: sparclinux@vger.kernel.org To: geert@linux-m68k.org To: linux-kernel@vger.kernel.org To: linux-arch@vger.kernel.org Subject: Unify the various copies of libgcc into lib v2 Date: Tue, 6 Jun 2017 12:10:16 -0700 Message-Id: <20170606191023.24581-1-palmer@dabbelt.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170523220546.16758-1-palmer@dabbelt.com> References: <20170523220546.16758-1-palmer@dabbelt.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 26 Thanks to everyone who responded to my original patch set. I believe I've responded to everyone's comments. There have been a handful of changes since the original patch set: * The Kconfig names for the routines are now GENERIC_* instead of LIB_*. This matches the existing generic implementation Kconfig names. * Tracing is disabled, which matches the MIPS behavior and seems correct globally. * I've cross compiled this to make sure it builds, and fixed all the build errors I found. * The MIPS patches actually do what they say in the commit message. I don't know of any remaining problems with this patch set, so hopefully it's ready to get merged. I'll be including patch 1 in our RISC-V submissions, but as I'm somewhat new to this I don't have a tree that anyone pulls from yet. If everyone is happy with this patch set then I'd be willing to use this as a first attempt to get patches upstream myself. [PATCH 1/7] lib: Add shared copies of some GCC library routines [PATCH 2/7] m32r: Use lib/ucmpdi2.c [PATCH 3/7] microblaze: Use libgcc files from lib/ [PATCH 4/7] score: Use lib/{ashldi3,ashrdi3,cmpdi2,lshrdi3,ucmpdi2}.c [PATCH 5/7] sh: Use lib/ashldi3,ashrdi3,lshrdi3}.c [PATCH 6/7] sparc: Use lib/{cmpdi2,ucmpdi2}.c [PATCH 7/7] MIPS: Use generic libgcc intrinsics