summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/asmmacro.h
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2006-03-30 17:13:22 +0200
committerTony Luck <tony.luck@intel.com>2006-03-30 19:04:19 +0200
commit3283a67d8618c9a292eced23e8753ab64adc6dba (patch)
treeb46c784c8b6cca63b8878f8838fa3bbf1604280f /include/asm-ia64/asmmacro.h
parent[IA64] Move __mca_table out of the __init section (diff)
downloadlinux-3283a67d8618c9a292eced23e8753ab64adc6dba.tar.xz
linux-3283a67d8618c9a292eced23e8753ab64adc6dba.zip
[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>
Diffstat (limited to '')
-rw-r--r--include/asm-ia64/asmmacro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ia64/asmmacro.h b/include/asm-ia64/asmmacro.h
index d4cec32083d8..edf2cebb2969 100644
--- a/include/asm-ia64/asmmacro.h
+++ b/include/asm-ia64/asmmacro.h
@@ -38,6 +38,10 @@ name:
/*
* 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