Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1659082

Unify the various copies of libgcc into lib v2

Path csiph.com!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Palmer Dabbelt <palmer@dabbelt.com>
Newsgroups linux.kernel
Subject Unify the various copies of libgcc into lib v2
Date Tue, 06 Jun 2017 21:20:02 +0200
Message-ID <tPsbf-4vm-9@gated-at.bofh.it> (permalink)
References <tKqa6-18X-11@gated-at.bofh.it>
X-Original-To monstr@monstr.eu
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=from:to:to:to:to:to:to:to:to:to:to:to:to:to:subject:date:message-id :in-reply-to:references; bh=ctAfdg+bGaMgn0lL5xoMqwVJY/9pfQq5VPnl+8WVldc=; b=neTpalQgGA8e4uyKecpIyUAK/r42RsvDMrCGWlIOLej+mpBV/ipO2umTU01bpg3WNr 9PLeVlPJHqvEbPPWTwhrXtGKPpeIzbP6PV3Bb/Z5/uHJi7C7jLMZ3eoV9v+Jt3WjjHTH xXxz9r77KXVHDqHzc9BYoXt0aE9YUJS1xIDU8fQeBY9ZxctaBoY5MSByDvS1gDj73DTf hd1OhlnOtsXdREAWpA9nyrjAiKrCaX3iW7dNytiPHXp/2GnKTkAVjlFoAP0mj5hCWrcm qUarHKnu8L8p+LAeT5b5Jny2NBlk3T2puYSjRg3Y9EYCHD7lQL41lnjiLwNplFNOuSet Vrjw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:to:to:to:to:to:to:to:to:to:to:to:to :subject:date:message-id:in-reply-to:references; bh=ctAfdg+bGaMgn0lL5xoMqwVJY/9pfQq5VPnl+8WVldc=; b=WNJbzQII2ph683OdAAu7Ot/tkMGKRkOQGF38wTtzQ8stbwaCQ7uTNAbef10IqdwPn1 poEEfDXnLPh2MyvpzEXpXgaIZaTijgv0BrQOlPRqolNBx3TzwDDMKrr462CEnPC1ldUW Z5kiKkLal4BUiDh88cEvabCXCslUpJpRfpoLIVvD3bafHhFwwtjo10eT1NE4alP1FP5t g9OUIc+nrTe3lHIXEZkRIFUAr/O+HJiq0VjGUK6Tqbdv+TsZKuB9tJSLEjjRtbGPKKJt hUsW69xsYdFL1wbOtKYrE1Rrd4rdZMyZi2Lj2Hur1YrDulCvL5RqbikFpqgAzxEOTlsD WnyA==
X-Gm-Message-State AODbwcBVTNUIriuK5D8k591itkZfMOkH0Y7NfAa4kD8rYAKOkCj1FNaJ ttU+BwZKCBTQdi4s
X-Received by 10.84.132.2 with SMTP id 2mr22847980ple.46.1496776227812; Tue, 06 Jun 2017 12:10:27 -0700 (PDT)
X-Mailer git-send-email 2.13.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Date Tue, 6 Jun 2017 12:10:16 -0700
X-Original-Message-ID <20170606191023.24581-1-palmer@dabbelt.com>
X-Original-References <20170523220546.16758-1-palmer@dabbelt.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
X-Original-To ralf@linux-mips.org
X-Original-To liqin.linux@gmail.com
X-Original-To lennox.wu@gmail.com
X-Original-To ysato@users.sourceforge.jp
X-Original-To dalias@libc.org
X-Original-To davem@davemloft.net
X-Original-To linux-mips@linux-mips.org
X-Original-To linux-sh@vger.kernel.org
X-Original-To sparclinux@vger.kernel.org
X-Original-To geert@linux-m68k.org
X-Original-To linux-kernel@vger.kernel.org
X-Original-To linux-arch@vger.kernel.org
Xref csiph.com linux.kernel:1659082

Show key headers only | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Unify the various copies of libgcc into lib v2 Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200
  [PATCH 3/7] microblaze: Use libgcc files from lib/ Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200
  [PATCH 6/7] sparc: Use lib/{cmpdi2,ucmpdi2}.c Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200
  [PATCH 5/7] sh: Use lib/ashldi3,ashrdi3,lshrdi3}.c Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200
  [PATCH 4/7] score: Use lib/{ashldi3,ashrdi3,cmpdi2,lshrdi3,ucmpdi2}.c Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200
  [PATCH 7/7] MIPS: Use generic libgcc intrinsics Palmer Dabbelt <palmer@dabbelt.com> - 2017-06-06 21:20 +0200

csiph-web