]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/xtensa/kernel/vmlinux.lds.S
xtensa: Move EXCEPTION_TABLE to RO_DATA segment
[linux.git] / arch / xtensa / kernel / vmlinux.lds.S
index 943f10639a93321fea7c28009567503cb370a0bd..0043d5858f14fab166ec1a08009f1795892e320f 100644 (file)
@@ -14,6 +14,8 @@
  * Joe Taylor <joe@tensilica.com, joetylr@yahoo.com>
  */
 
+#define RO_EXCEPTION_TABLE_ALIGN       16
+
 #include <asm-generic/vmlinux.lds.h>
 #include <asm/page.h>
 #include <asm/thread_info.h>
@@ -124,18 +126,16 @@ SECTIONS
 
   . = ALIGN(16);
 
-  RODATA
+  RO_DATA(4096)
 
   /*  Relocation table */
 
   .fixup   : { *(.fixup) }
 
-  EXCEPTION_TABLE(16)
-  NOTES
   /* Data section */
 
   _sdata = .;
-  RW_DATA_SECTION(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
+  RW_DATA(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
   _edata = .;
 
   /* Initialization code and data: */