+ x86_64-pass-32-to-the-assembler-when-compiling.patch added to -mm tree

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

 



The patch titled

     x86_64: Pass -32 to the assembler when compiling the 32bit vsyscall pages

has been added to the -mm tree.  Its filename is

     x86_64-pass-32-to-the-assembler-when-compiling.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: "Andi Kleen" <ak@xxxxxxx>

This quietens warnings and actually fixes a bug.  The unwind tables would
come out wrong without -32, causing pthread cancellation during them to
crash in the gcc runtime.

The problem seems to only happen with newer binutils (it doesn't happen
with 2.16.91.0.2 but happens wit 2.16.91.0.5)

Thanks to Brian Baker @ HP for test case and initial analysis.

Cc: <brian.b@xxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/x86_64/ia32/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN arch/x86_64/ia32/Makefile~x86_64-pass-32-to-the-assembler-when-compiling arch/x86_64/ia32/Makefile
--- 25/arch/x86_64/ia32/Makefile~x86_64-pass-32-to-the-assembler-when-compiling	Fri Apr 21 13:56:59 2006
+++ 25-akpm/arch/x86_64/ia32/Makefile	Fri Apr 21 13:56:59 2006
@@ -27,5 +27,5 @@ $(obj)/vsyscall-sysenter.so $(obj)/vsysc
 $(obj)/vsyscall-%.so: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE
 	$(call if_changed,syscall)
 
-AFLAGS_vsyscall-sysenter.o = -m32
-AFLAGS_vsyscall-syscall.o = -m32
+AFLAGS_vsyscall-sysenter.o = -m32 -Wa,-32
+AFLAGS_vsyscall-syscall.o = -m32 -Wa,-32
_

Patches currently in -mm which might be from ak@xxxxxxx are

origin.patch
x86_64-pass-32-to-the-assembler-when-compiling.patch
x86_64-fix-a-race-in-the-free_iommu-path.patch
git-acpi.patch
git-agpgart.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