+ ia64-vdso-vs-build-id.patch added to -mm tree

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

 



The patch titled
     ia64 vDSO vs --build-id
has been added to the -mm tree.  Its filename is
     ia64-vdso-vs-build-id.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

------------------------------------------------------
Subject: ia64 vDSO vs --build-id
From: Roland McGrath <roland@xxxxxxxxxx>

When gcc uses --build-id by default, the gate.lds.S linker script runs
afoul of the new note section and produces a bad DSO image.  This fixes it.

Signed-off-by: Roland McGrath <roland@xxxxxxxxxx>
Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/kernel/gate.lds.S |    3 +++
 1 file changed, 3 insertions(+)

diff -puN arch/ia64/kernel/gate.lds.S~ia64-vdso-vs-build-id arch/ia64/kernel/gate.lds.S
--- a/arch/ia64/kernel/gate.lds.S~ia64-vdso-vs-build-id
+++ a/arch/ia64/kernel/gate.lds.S
@@ -20,6 +20,8 @@ SECTIONS
 	.gnu.version_d		: { *(.gnu.version_d) }
 	.gnu.version_r		: { *(.gnu.version_r) }
 
+	.note			: { *(.note*) }		:readable	:note
+
 	.dynamic		: { *(.dynamic) }	:readable	:dynamic
 
 	/*
@@ -83,6 +85,7 @@ PHDRS
 	epc		PT_LOAD	FILEHDR PHDRS	FLAGS(1);	/* PF_X */
 #endif
 	dynamic		PT_DYNAMIC		FLAGS(4);	/* PF_R */
+	note		PT_NOTE			FLAGS(4);	/* PF_R */
 	unwind		PT_IA_64_UNWIND;
 }
 
_

Patches currently in -mm which might be from roland@xxxxxxxxxx are

origin.patch
ia64-check-segrellds-vs-build-id.patch
ia64-vdso-vs-build-id.patch
x86_64-use-linux-elfcore-compath.patch
fix-tsk-exit_state-usage-resend.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