Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9bf77d0e20d08f4fd5f3b14e50dce3bb21df03ac
Commit:     9bf77d0e20d08f4fd5f3b14e50dce3bb21df03ac
Parent:     336cdba8640677117bc3fd101e3e1a34c98a275d
Author:     David Mosberger-Tang <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 9 19:58:52 2007 -0600
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Mon Aug 13 14:50:35 2007 -0700

    [IA64] get back PT_IA_64_UNWIND program header
    
    Explicitly put the unwind section into its own program-header.  This
    used to be unnecessary (probably because binutils did it for us), but
    with current binutils (e.g., v2.17.50.20070804) we won't get
    the PT_IA_64_UNWIND header without this patch which will break
    unwinding in a debugger and simulators such as Ski.
    
    Signed-off-by: David Mosberger-Tang <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/vmlinux.lds.S |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 446f12d..00232b4 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -21,6 +21,7 @@ PHDRS {
   percpu PT_LOAD;
   data   PT_LOAD;
   note   PT_NOTE;
+  unwind 0x70000001; /* PT_IA_64_UNWIND, but ld doesn't match the name */
 }
 SECTIONS
 {
@@ -103,7 +104,8 @@ SECTIONS
          __start_unwind = .;
          *(.IA_64.unwind*)
          __end_unwind = .;
-       }
+       } :code :unwind
+  code_continues2 : {} : code
 
   RODATA
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to