diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/emulparams/.Sanitize | 8 | ||||
-rw-r--r-- | ld/emulparams/rce.sh | 6 | ||||
-rw-r--r-- | ld/scripttempl/.Sanitize | 8 | ||||
-rw-r--r-- | ld/scripttempl/rce.sc | 30 |
4 files changed, 0 insertions, 52 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index db7f94e..68dee19 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -23,14 +23,6 @@ else lose_these_too="${arc_files} ${lose_these_too}" fi -rce_files="rce.sh" - -if ( echo $* | grep keep\-rce > /dev/null ) ; then - keep_these_too="${rce_files} ${keep_these_too}" -else - lose_these_too="${rce_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize diff --git a/ld/emulparams/rce.sh b/ld/emulparams/rce.sh deleted file mode 100644 index 7f15c93..0000000 --- a/ld/emulparams/rce.sh +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_NAME=rce -OUTPUT_FORMAT="a.out-rce" -TARGET_PAGE_SIZE=0x1000 -TEXT_START_ADDR=0 -NONPAGED_TEXT_START_ADDR=0 -ARCH=rce diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index f05fd27..ed8c003 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -15,14 +15,6 @@ Do-first: -rce_files="rce.sc" - -if ( echo $* | grep keep\-rce > /dev/null ) ; then - keep_these_too="${rce_files} ${keep_these_too}" -else - lose_these_too="${rce_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize diff --git a/ld/scripttempl/rce.sc b/ld/scripttempl/rce.sc deleted file mode 100644 index 8910fe9..0000000 --- a/ld/scripttempl/rce.sc +++ /dev/null @@ -1,30 +0,0 @@ -cat <<EOF -OUTPUT_FORMAT("${OUTPUT_FORMAT}") -OUTPUT_ARCH(${ARCH}) - -${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}} : - { - *(.data) - ${CONSTRUCTING+CONSTRUCTORS} - ${RELOCATING+_edata = .;} - - ${RELOCATING+ __bss_start = .}; - *(.bss) - *(COMMON) - ${RELOCATING+_end = . }; - ${RELOCATING+__end = . }; - } -} -EOF |