- uml-add-ffreestanding-to-cflags.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     uml: add -ffreestanding to CFLAGS

has been  the -mm tree.  Its filename is

     uml-add-ffreestanding-to-cflags.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: uml: add -ffreestanding to CFLAGS
From: Jeff Dike <jdike@xxxxxxxxxxx>


This fixes the undefined reference to strcpy seen when building modules on
i386.  Tracked down by Al Viro.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/um/Makefile-i386 |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN arch/um/Makefile-i386~uml-add-ffreestanding-to-cflags arch/um/Makefile-i386
--- devel/arch/um/Makefile-i386~uml-add-ffreestanding-to-cflags	2006-06-04 02:51:16.000000000 -0700
+++ devel-akpm/arch/um/Makefile-i386	2006-06-04 02:51:16.000000000 -0700
@@ -33,5 +33,9 @@ include $(srctree)/arch/i386/Makefile.cp
 # prevent gcc from keeping the stack 16 byte aligned. Taken from i386.
 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
 
+# Prevent sprintf in nfsd from being converted to strcpy and resulting in
+# an unresolved reference.
+cflags-y += -ffreestanding
+
 CFLAGS += $(cflags-y)
 USER_CFLAGS += $(cflags-y)
_

Patches currently in -mm which might be from jdike@xxxxxxxxxxx are

uml-make-copy__user-atomic.patch
uml-fix-not_dead_yet-when-directory-is-in-bad-state.patch
uml-rename-and-improve-actually_do_remove.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux