From d082a54f59359bac621bdf4cf8c46658ac4938dc Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sat, 4 May 1991 00:40:37 +0000 Subject: [PATCH] *** empty log message *** --- ld/config/hmake-sun3 | 4 ++++ ld/ld-gld68k-Ur.script | 9 --------- ld/ld-gld68k.script | 11 ++--------- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/ld/config/hmake-sun3 b/ld/config/hmake-sun3 index 0dd04b092d1..667c7a9576c 100755 --- a/ld/config/hmake-sun3 +++ b/ld/config/hmake-sun3 @@ -1,2 +1,6 @@ HDEFINES = -DHOST_SYS=SUN3_SYS YACC = yacc -d + +HOSTING_EMU=LDEMULATION=gld68k; export LDEMULATION +HOSTING_CRT0=/lib/crt0.o +HOSTING_LIBS=-lc diff --git a/ld/ld-gld68k-Ur.script b/ld/ld-gld68k-Ur.script index 46084db58d2..aa89c6a355d 100755 --- a/ld/ld-gld68k-Ur.script +++ b/ld/ld-gld68k-Ur.script @@ -11,15 +11,6 @@ SECTIONS .data SIZEOF(.text) + ADDR(.text) : { *(.data) - ___DTOR_LIST__ = . ; - LONG((___CTOR_LIST__ - .)/4 -2) - *(___DTOR_LIST__) - LONG(0) - ___CTOR_LIST__ = . ; - LONG((___end_list__ - .)/4 -2) - *(___CTOR_LIST__) - LONG(0) - ___end_list__ = . ; } .bss SIZEOF(.data) + ADDR(.data) : { diff --git a/ld/ld-gld68k.script b/ld/ld-gld68k.script index 21c3155a34e..6a1cbb3b80b 100755 --- a/ld/ld-gld68k.script +++ b/ld/ld-gld68k.script @@ -1,4 +1,5 @@ -OUTPUT_FORMAT(a.out-generic-big) +OUTPUT_FORMAT("a.out-generic-big") +OUTPUT_ARCH(m68k) SEARCH_DIR(/lib) SEARCH_DIR(/usr/lib) @@ -15,14 +16,6 @@ SECTIONS .data ALIGN(0x20000) : { *(.data) - ___DTOR_LIST__ = . ; - LONG((___CTOR_LIST__ - .)/4 -2) - *(___DTOR_LIST__) - LONG(0) - ___CTOR_LIST__ = . ; - LONG((_edata - .)/4 -2) - *(___CTOR_LIST__) - LONG(0) _edata = .; } .bss SIZEOF(.data) + ADDR(.data) : -- 2.30.2