Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Unfortunately no sh3 kernels (no longer?) use linke...



details:   https://anonhg.NetBSD.org/src/rev/4b29b3aaf133
branches:  trunk
changeset: 810242:4b29b3aaf133
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Aug 23 00:53:15 2015 +0000

description:
Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.

diffstat:

 sys/arch/evbsh3/conf/sh.x      |  14 ++------------
 sys/arch/evbsh3/conf/sh.x.ICE  |   9 ---------
 sys/arch/evbsh3/conf/sh.x.RAM  |   9 ---------
 sys/arch/evbsh3/conf/shl.x     |  14 ++------------
 sys/arch/evbsh3/conf/shl.x.ICE |   9 ---------
 sys/arch/evbsh3/conf/shl.x.RAM |   9 ---------
 sys/arch/mmeye/conf/sh.x       |  14 ++------------
 sys/arch/mmeye/conf/sh.x.ICE   |   9 ---------
 sys/arch/mmeye/conf/sh.x.RAM   |   9 ---------
 sys/arch/mmeye/conf/shl.x      |   9 ---------
 10 files changed, 6 insertions(+), 99 deletions(-)

diffs (223 lines):

diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/sh.x
--- a/sys/arch/evbsh3/conf/sh.x Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/sh.x Sun Aug 23 00:53:15 2015 +0000
@@ -15,24 +15,14 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
+  .data :
   AT (ROM + SIZEOF(.text))
   {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
-  .data :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors))
-  {
     *(.data)
     _edata = . ;
   }  > ram
   .bss :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data))
+  AT (ROM + SIZEOF(.text) + SIZEOF(.data))
   {
     _bss_start = . ;
     *(.bss)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/sh.x.ICE
--- a/sys/arch/evbsh3/conf/sh.x.ICE     Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/sh.x.ICE     Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/sh.x.RAM
--- a/sys/arch/evbsh3/conf/sh.x.RAM     Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/sh.x.RAM     Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/shl.x
--- a/sys/arch/evbsh3/conf/shl.x        Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/shl.x        Sun Aug 23 00:53:15 2015 +0000
@@ -15,24 +15,14 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
+  .data :
   AT (ROM + SIZEOF(.text))
   {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
-  .data :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors))
-  {
     *(.data)
     _edata = . ;
   }  > ram
   .bss :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data))
+  AT (ROM + SIZEOF(.text) + SIZEOF(.data))
   {
     _bss_start = . ;
     *(.bss)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/shl.x.ICE
--- a/sys/arch/evbsh3/conf/shl.x.ICE    Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/shl.x.ICE    Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/evbsh3/conf/shl.x.RAM
--- a/sys/arch/evbsh3/conf/shl.x.RAM    Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/evbsh3/conf/shl.x.RAM    Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
     _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/mmeye/conf/sh.x
--- a/sys/arch/mmeye/conf/sh.x  Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/mmeye/conf/sh.x  Sun Aug 23 00:53:15 2015 +0000
@@ -15,24 +15,14 @@
     *(.strings)
      _etext = . ;
   }  > ram
-  .tors :
+  .data :
   AT (ROM + SIZEOF(.text))
   {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
-  .data :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors))
-  {
     *(.data)
      _edata = . ;
   }  > ram
   .bss :
-  AT (ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data))
+  AT (ROM + SIZEOF(.text) + SIZEOF(.data))
   {
      _bss_start = . ;
     *(.bss)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/mmeye/conf/sh.x.ICE
--- a/sys/arch/mmeye/conf/sh.x.ICE      Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/mmeye/conf/sh.x.ICE      Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
      _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/mmeye/conf/sh.x.RAM
--- a/sys/arch/mmeye/conf/sh.x.RAM      Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/mmeye/conf/sh.x.RAM      Sun Aug 23 00:53:15 2015 +0000
@@ -12,15 +12,6 @@
     *(.strings)
      _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)
diff -r f42ed6d686ca -r 4b29b3aaf133 sys/arch/mmeye/conf/shl.x
--- a/sys/arch/mmeye/conf/shl.x Sat Aug 22 23:51:48 2015 +0000
+++ b/sys/arch/mmeye/conf/shl.x Sun Aug 23 00:53:15 2015 +0000
@@ -13,15 +13,6 @@
     *(.strings)
      _etext = . ;
   }  > ram
-  .tors :
-  {
-    ___ctors = . ;
-    *(.ctors)
-    ___ctors_end = . ;
-    ___dtors = . ;
-    *(.dtors)
-    ___dtors_end = . ;
-  } > ram
   .data :
   {
     *(.data)



Home | Main Index | Thread Index | Old Index