Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/conf add a hack for the link set stuff.



details:   https://anonhg.NetBSD.org/src/rev/7657f20a2626
branches:  trunk
changeset: 551167:7657f20a2626
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Aug 31 01:27:00 2003 +0000

description:
add a hack for the link set stuff.

diffstat:

 sys/arch/hp700/conf/ld.script |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r e1219196027f -r 7657f20a2626 sys/arch/hp700/conf/ld.script
--- a/sys/arch/hp700/conf/ld.script     Sun Aug 31 01:26:31 2003 +0000
+++ b/sys/arch/hp700/conf/ld.script     Sun Aug 31 01:27:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld.script,v 1.3 2002/11/28 05:56:51 chs Exp $  */
+/*     $NetBSD: ld.script,v 1.4 2003/08/31 01:27:00 chs Exp $  */
 
 /*     $OpenBSD: ld.script,v 1.7 1999/12/17 07:02:38 mickey Exp $      */
 
@@ -13,6 +13,7 @@
        {
                kernel_text = . ;
                *(.text)
+               *(.text.*)
                *(.rodata) *(.rodata1)
                *(.reginfo)
                *(.init)
@@ -27,6 +28,22 @@
        etext = ABSOLUTE(.);
        . = ALIGN(0x200000);
 
+/* BEGIN HACK until we get a toolchain that does this automatically */
+       link_set_evcnts :
+       {
+       __start_link_set_evcnts =  ALIGN (0x4);
+       *(link_set_evcnts)
+       __stop_link_set_evcnts = . ;
+       }
+
+       link_set_malloc_types :
+       {
+       __start_link_set_malloc_types =  ALIGN (0x4);
+       *(link_set_malloc_types)
+       __stop_link_set_malloc_types = . ;
+       }
+/* END HACK */
+
        .data  :
        {
                $global$ = . ;



Home | Main Index | Thread Index | Old Index