summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-08 21:55:59 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-08 21:55:59 +0000
commitd68e5ce50d3dd08148bdfb51098c154a70dea0c6 (patch)
tree128f224115fc74af53a9b5e24855dad589a57e3e /arch/mips64
parent5c31fe265f48e9f7a87cd75f886b0dba007f8864 (diff)
Deal with ld missplacing sections.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/ld.script.elf6410
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips64/ld.script.elf64 b/arch/mips64/ld.script.elf64
index 2b3ff38c6..9fcde39b5 100644
--- a/arch/mips64/ld.script.elf64
+++ b/arch/mips64/ld.script.elf64
@@ -22,6 +22,16 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
} = 0
+
+ . = ALIGN(16); /* Exception table */
+ __start___ex_table = .;
+ __ex_table : { *(__ex_table) }
+ __stop___ex_table = .;
+
+ __start___dbe_table = .; /* Exception table for data bus errors */
+ __dbe_table : { *(__ex_table) }
+ __stop___dbe_table = .;
+
_etext = .;
. = ALIGN(16384);