diff options
author | David Mosberger-Tang <dmosberger@gmail.com> | 2007-08-09 21:58:52 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-08-13 17:50:35 -0400 |
commit | 9bf77d0e20d08f4fd5f3b14e50dce3bb21df03ac (patch) | |
tree | 2342e60f0c4ab7e8a3a7982359da57d88abb978e /arch/ia64/kernel | |
parent | 336cdba8640677117bc3fd101e3e1a34c98a275d (diff) |
[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 <dmosberger@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | 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 446f12d866b3..00232b4357ba 100644 --- a/arch/ia64/kernel/vmlinux.lds.S +++ b/arch/ia64/kernel/vmlinux.lds.S | |||
@@ -21,6 +21,7 @@ PHDRS { | |||
21 | percpu PT_LOAD; | 21 | percpu PT_LOAD; |
22 | data PT_LOAD; | 22 | data PT_LOAD; |
23 | note PT_NOTE; | 23 | note PT_NOTE; |
24 | unwind 0x70000001; /* PT_IA_64_UNWIND, but ld doesn't match the name */ | ||
24 | } | 25 | } |
25 | SECTIONS | 26 | SECTIONS |
26 | { | 27 | { |
@@ -103,7 +104,8 @@ SECTIONS | |||
103 | __start_unwind = .; | 104 | __start_unwind = .; |
104 | *(.IA_64.unwind*) | 105 | *(.IA_64.unwind*) |
105 | __end_unwind = .; | 106 | __end_unwind = .; |
106 | } | 107 | } :code :unwind |
108 | code_continues2 : {} : code | ||
107 | 109 | ||
108 | RODATA | 110 | RODATA |
109 | 111 | ||