From 506f4ede9c1e5ae444a496854fdec7db869a2f53 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Mon, 16 Jan 1995 00:51:02 +0000 Subject: * configure.in (w65-*-*): New target. * Makefile.in: Update. * scripttempl/w65.sc: New. * config/coff-w65.mt: New. --- ld/scripttempl/.Sanitize | 1 + ld/scripttempl/w65.sc | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 ld/scripttempl/w65.sc (limited to 'ld/scripttempl') diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index 8b816be..287648a 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -63,6 +63,7 @@ sparccoff.sc sparclynx.sc st2000.sc vanilla.sc +w65.sc z8ksim.sc Things-to-lose: diff --git a/ld/scripttempl/w65.sc b/ld/scripttempl/w65.sc new file mode 100644 index 0000000..f904495 --- /dev/null +++ b/ld/scripttempl/w65.sc @@ -0,0 +1,58 @@ +cat < ram} + + +.tors : { + ___ctors = . ; + *(.ctors) + ___ctors_end = . ; + ___dtors = . ; + *(.dtors) + ___dtors_end = . ; +} ${RELOCATING+ > ram} + +.data : + { + *(.data) + ${RELOCATING+ _edata = . ; } + } ${RELOCATING+ > ram} +.bss : + { + ${RELOCATING+ _bss_start = . ; } + *(.bss) + *(COMMON) + ${RELOCATING+ _end = . ; } + } ${RELOCATING+ >ram} +.stack ${RELOCATING+ 0x30000 } : + { + ${RELOCATING+ _stack = . ; } + *(.stack) + } ${RELOCATING+ > ram} + .stab . (NOLOAD) : + { + [ .stab ] + } + .stabstr . (NOLOAD) : + { + [ .stabstr ] + } +} +EOF + + + + -- cgit v1.1