From fb870b50a7fb8e68a4412f0c0e133de0f2844447 Mon Sep 17 00:00:00 2001 From: Michael Tiemann Date: Sat, 26 Nov 1994 00:17:52 +0000 Subject: Add changes from customer since last work. --- ld/scripttempl/rce.sc | 66 +++++++++++++++++---------------------------------- 1 file changed, 22 insertions(+), 44 deletions(-) (limited to 'ld/scripttempl') diff --git a/ld/scripttempl/rce.sc b/ld/scripttempl/rce.sc index bd763cb..0643925 100644 --- a/ld/scripttempl/rce.sc +++ b/ld/scripttempl/rce.sc @@ -2,53 +2,31 @@ 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 0 ${RELOCATING+(NOLOAD)} : +${RELOCATING+${LIB_SEARCH_DIRS}} +${RELOCATING+__DYNAMIC = 0;} +${STACKZERO+${RELOCATING+${STACKZERO}}} +${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}} +SECTIONS +{ + .text ${RELOCATING+${TEXT_START_ADDR}}: + { + CREATE_OBJECT_SYMBOLS + *(.text) + ${RELOCATING+_etext = ${DATA_ALIGNMENT};} + } + .data ${RELOCATING+${DATA_ALIGNMENT}} : { - [ .stab ] + *(.data) + ${CONSTRUCTING+CONSTRUCTORS} + ${RELOCATING+_edata = .;} } - .stabstr 0 ${RELOCATING+(NOLOAD)} : + .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} : { - [ .stabstr ] + ${RELOCATING+ __bss_start = .}; + *(.bss) + *(COMMON) + ${RELOCATING+_end = . }; + ${RELOCATING+__end = . }; } } EOF -- cgit v1.1