linux/arch
Nicolas Pitre 30c2f90b68 [ARM] 3097/1: change library link ordering
Patch from Nicolas Pitre

We have an optimized sha1 routine (arch/arm/lib/sha1.S) meant to
override the generic one in lib/sha1.c.

Unfortunately lib/lib.a is listed _before_ arch/arm/lib/lib.a in the
link argument list and therefore the architecture specific lib functions
are not picked up before the generic versions.

This patch is a quick fix to change that ordering for ARM.  Here's what
the kbuild maintainer had to say about it (was also CC'd on lkml):

On Wed, 2 Nov 2005, Sam Ravnborg wrote:
> This looks like an obvious way to achive correct ordering.
> We could change it so arch defines always took precedence but
> the above is so simple that it is not worth the effort.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-04 17:17:30 +00:00
..
alpha [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
arm [ARM] 3097/1: change library link ordering 2005-11-04 17:17:30 +00:00
arm26 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
cris [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
frv [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
h8300 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
i386 [PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit 2005-11-01 21:27:22 -08:00
ia64 manual update from upstream: 2005-10-31 10:51:57 -08:00
m32r Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
m68k [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
m68knommu [PATCH] m68knommu: updated defconfig 2005-11-01 21:41:19 -08:00
mips Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
parisc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
powerpc [PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL 2005-11-01 21:44:46 -08:00
ppc Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
ppc64 Merge ../linux-2.6 by hand 2005-10-31 13:37:12 +11:00
s390 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sh Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
sh64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
um [PATCH] missing platform_device.h includes 2005-11-01 21:50:01 -08:00
v850 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
x86_64 [PATCH] x86-64: bitops fix for -Os 2005-11-02 19:41:32 -08:00
xtensa Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00