summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-08 21:56:30 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-08 21:56:30 +0000
commitcf2c804b34d03041a71911786420aa974ebcdfcb (patch)
tree1d3fa698d667ca53429ef19f762bd338c62dde49 /arch/mips
parentd68e5ce50d3dd08148bdfb51098c154a70dea0c6 (diff)
Same for 32-bit kernel.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/ld.script.big10
-rw-r--r--arch/mips/ld.script.little10
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/mips/ld.script.big b/arch/mips/ld.script.big
index 27a5bade5..21fdc39a6 100644
--- a/arch/mips/ld.script.big
+++ b/arch/mips/ld.script.big
@@ -15,6 +15,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 = .;
PROVIDE (etext = .);
diff --git a/arch/mips/ld.script.little b/arch/mips/ld.script.little
index 48f9bc5fe..fa68f002e 100644
--- a/arch/mips/ld.script.little
+++ b/arch/mips/ld.script.little
@@ -15,6 +15,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 = .;
PROVIDE (etext = .);