Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Put EHABI exception tables at the end of text.



details:   https://anonhg.NetBSD.org/src/rev/c180adc53828
branches:  trunk
changeset: 326472:c180adc53828
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 30 15:36:43 2014 +0000

description:
Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.

diffstat:

 sys/arch/arm/conf/kern.ldscript.tail  |  6 +++++-
 sys/arch/cats/conf/kern.ldscript      |  6 +++++-
 sys/arch/epoc32/conf/ldscript.epoc32  |  6 +++++-
 sys/arch/evbarm/conf/ldscript.evbarm  |  6 +++++-
 sys/arch/netwinder/conf/kern.ldscript |  6 +++++-
 sys/arch/shark/conf/kern.ldscript     |  6 +++++-
 sys/arch/zaurus/conf/ldscript.zaurus  |  6 +++++-
 7 files changed, 35 insertions(+), 7 deletions(-)

diffs (135 lines):

diff -r fb34d3751f86 -r c180adc53828 sys/arch/arm/conf/kern.ldscript.tail
--- a/sys/arch/arm/conf/kern.ldscript.tail      Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/arm/conf/kern.ldscript.tail      Thu Jan 30 15:36:43 2014 +0000
@@ -1,6 +1,10 @@
-/*     $NetBSD: kern.ldscript.tail,v 1.3 2013/12/24 17:03:07 matt Exp $        */
+/*     $NetBSD: kern.ldscript.tail,v 1.4 2014/01/30 15:36:43 matt Exp $        */
 
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/cats/conf/kern.ldscript
--- a/sys/arch/cats/conf/kern.ldscript  Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/cats/conf/kern.ldscript  Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript,v 1.1 2002/11/21 02:05:08 chris Exp $    */
+/*     $NetBSD: kern.ldscript,v 1.2 2014/01/30 15:36:43 matt Exp $     */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
@@ -16,6 +16,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/epoc32/conf/ldscript.epoc32
--- a/sys/arch/epoc32/conf/ldscript.epoc32      Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/epoc32/conf/ldscript.epoc32      Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldscript.epoc32,v 1.1 2013/04/28 12:11:25 kiyohara Exp $       */
+/*     $NetBSD: ldscript.epoc32,v 1.2 2014/01/30 15:36:43 matt Exp $   */
 
 OUTPUT_ARCH(arm)
 ENTRY(KERNEL_BASE_phys)
@@ -23,6 +23,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/evbarm/conf/ldscript.evbarm
--- a/sys/arch/evbarm/conf/ldscript.evbarm      Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/evbarm/conf/ldscript.evbarm      Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldscript.evbarm,v 1.7 2013/12/24 17:00:39 matt Exp $   */
+/*     $NetBSD: ldscript.evbarm,v 1.8 2014/01/30 15:36:44 matt Exp $   */
 
 OUTPUT_ARCH(arm)
 ENTRY(KERNEL_BASE_phys)
@@ -23,6 +23,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/netwinder/conf/kern.ldscript
--- a/sys/arch/netwinder/conf/kern.ldscript     Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/netwinder/conf/kern.ldscript     Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript,v 1.3 2003/06/11 21:49:40 uwe Exp $      */
+/*     $NetBSD: kern.ldscript,v 1.4 2014/01/30 15:36:44 matt Exp $     */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
@@ -25,6 +25,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/shark/conf/kern.ldscript
--- a/sys/arch/shark/conf/kern.ldscript Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/shark/conf/kern.ldscript Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript,v 1.1 2002/11/21 01:38:41 thorpej Exp $  */
+/*     $NetBSD: kern.ldscript,v 1.2 2014/01/30 15:36:44 matt Exp $     */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
@@ -16,6 +16,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
diff -r fb34d3751f86 -r c180adc53828 sys/arch/zaurus/conf/ldscript.zaurus
--- a/sys/arch/zaurus/conf/ldscript.zaurus      Thu Jan 30 15:06:18 2014 +0000
+++ b/sys/arch/zaurus/conf/ldscript.zaurus      Thu Jan 30 15:36:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldscript.zaurus,v 1.4 2013/10/03 23:48:34 christos Exp $       */
+/*     $NetBSD: ldscript.zaurus,v 1.5 2014/01/30 15:36:44 matt Exp $   */
 
 OUTPUT_ARCH(arm)
 ENTRY(KERNEL_BASE_phys)
@@ -23,6 +23,10 @@
     *(.glue_7t) *(.glue_7)
     *(.rodata) *(.rodata.*)
   } =0
+  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+  PROVIDE (__exidx_start = .);
+  .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+  PROVIDE (__exidx_end = .);
   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);



Home | Main Index | Thread Index | Old Index