mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
[IA64] Add __mca_table to the DISCARD list in gate.lds
Add __mca_table to the DISCARD list for the gate.lds linker script to avoid broken linker references when linking the final vmlinux file. Also add comment to include/asm-ia64/asmmacros.h to avoid anyone else hitting this problem in the future. Credits to James Bottomley <James.Bottomley@SteelEye.com> for spotting the DISCARD list in gate.lds.S Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
d89cfe7f1e
commit
3283a67d86
2 changed files with 5 additions and 0 deletions
|
@ -59,6 +59,7 @@ SECTIONS
|
||||||
*(.dynbss)
|
*(.dynbss)
|
||||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||||
*(__ex_table)
|
*(__ex_table)
|
||||||
|
*(__mca_table)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,10 @@ name:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Helper macros for accessing user memory.
|
* Helper macros for accessing user memory.
|
||||||
|
*
|
||||||
|
* When adding any new .section/.previous entries here, make sure to
|
||||||
|
* also add it to the DISCARD section in arch/ia64/kernel/gate.lds.S or
|
||||||
|
* unpleasant things will happen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.section "__ex_table", "a" // declare section & section attributes
|
.section "__ex_table", "a" // declare section & section attributes
|
||||||
|
|
Loading…
Add table
Reference in a new issue