CSKY: Change default linker script for elf toolchain.
[binutils-gdb.git] / ld / emulparams / shlelf.sh
index 93777f63de359c35e6522b3bcda2c369aba1f123..b03dbe2b9a39174a147b17d37645ad2f5843b123 100644 (file)
@@ -1,16 +1,2 @@
-SCRIPT_NAME=elf
+source_sh ${srcdir}/emulparams/shelf.sh
 OUTPUT_FORMAT="elf32-shl"
-TEXT_START_ADDR=0x1000
-MAXPAGESIZE=128
-ARCH=sh
-TEMPLATE_NAME=elf32
-GENERATE_SHLIB_SCRIPT=yes
-EMBEDDED=yes
-
-# These are for compatibility with the COFF toolchain.
-ENTRY=start
-CTOR_START='___ctors = .;'
-CTOR_END='___ctors_end = .;'
-DTOR_START='___dtors = .;'
-DTOR_END='___dtors_end = .;'
-OTHER_RELOCATING_SECTIONS='.stack 0x30000 : { _stack = .; *(.stack) }'