diff options
author | Michael Tiemann <tiemann@cygnus> | 1994-11-26 00:17:52 +0000 |
---|---|---|
committer | Michael Tiemann <tiemann@cygnus> | 1994-11-26 00:17:52 +0000 |
commit | fb870b50a7fb8e68a4412f0c0e133de0f2844447 (patch) | |
tree | 6e85d5d7a4db535fd8fc1e6a530fdac169b4ad8e /ld/scripttempl | |
parent | 52e895cbb4ca54301e9bd239967f7f42407eeea4 (diff) | |
download | gdb-fb870b50a7fb8e68a4412f0c0e133de0f2844447.zip gdb-fb870b50a7fb8e68a4412f0c0e133de0f2844447.tar.gz gdb-fb870b50a7fb8e68a4412f0c0e133de0f2844447.tar.bz2 |
Add changes from customer since last work.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/rce.sc | 66 |
1 files changed, 22 insertions, 44 deletions
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 <<EOF OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_ARCH(${ARCH}) -MEMORY { - ram : o = 0x1000, l = 512k - } - -SECTIONS -{ -.text : - { - *(.text) - *(.strings) - ${RELOCATING+ _etext = . ; } - } ${RELOCATING+ > 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 |