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 <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to