mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* configure.tgt (sh-*-linux*): Added.
* Makefile.am: Added eshelf_linux and eshlelf_linux. * Makefile.in: Rebuilt. * emulparams/shelf_linux.sh: New file. * emulparams/shlelf_linux.sh: New file.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* configure.tgt (sh-*-linux*): Added.
|
||||||
|
* Makefile.am: Added eshelf_linux and eshlelf_linux.
|
||||||
|
* Makefile.in: Rebuilt.
|
||||||
|
* emulparams/shelf_linux.sh: New file.
|
||||||
|
* emulparams/shlelf_linux.sh: New file.
|
||||||
|
|
||||||
2000-09-06 Alan Modra <alan@linuxcare.com.au>
|
2000-09-06 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
|
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
|
||||||
|
@ -216,6 +216,8 @@ ALL_EMULATIONS = \
|
|||||||
esa29200.o \
|
esa29200.o \
|
||||||
esh.o \
|
esh.o \
|
||||||
eshelf.o \
|
eshelf.o \
|
||||||
|
eshelf_linux.o \
|
||||||
|
eshlelf_linux.o \
|
||||||
eshl.o \
|
eshl.o \
|
||||||
eshlelf.o \
|
eshlelf.o \
|
||||||
eshpe.o \
|
eshpe.o \
|
||||||
@ -696,6 +698,12 @@ esh.c: $(srcdir)/emulparams/sh.sh \
|
|||||||
eshelf.c: $(srcdir)/emulparams/shelf.sh \
|
eshelf.c: $(srcdir)/emulparams/shelf.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} shelf "$(tdir_shelf)"
|
${GENSCRIPTS} shelf "$(tdir_shelf)"
|
||||||
|
eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
|
||||||
|
eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
|
||||||
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
|
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} shlelf "$(tdir_shlelf)"
|
${GENSCRIPTS} shlelf "$(tdir_shlelf)"
|
||||||
|
@ -322,6 +322,8 @@ ALL_EMULATIONS = \
|
|||||||
esa29200.o \
|
esa29200.o \
|
||||||
esh.o \
|
esh.o \
|
||||||
eshelf.o \
|
eshelf.o \
|
||||||
|
eshelf_linux.o \
|
||||||
|
eshlelf_linux.o \
|
||||||
eshl.o \
|
eshl.o \
|
||||||
eshlelf.o \
|
eshlelf.o \
|
||||||
eshpe.o \
|
eshpe.o \
|
||||||
@ -1408,6 +1410,12 @@ esh.c: $(srcdir)/emulparams/sh.sh \
|
|||||||
eshelf.c: $(srcdir)/emulparams/shelf.sh \
|
eshelf.c: $(srcdir)/emulparams/shelf.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} shelf "$(tdir_shelf)"
|
${GENSCRIPTS} shelf "$(tdir_shelf)"
|
||||||
|
eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
|
||||||
|
eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
|
||||||
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
|
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} shlelf "$(tdir_shlelf)"
|
${GENSCRIPTS} shlelf "$(tdir_shlelf)"
|
||||||
|
@ -184,6 +184,10 @@ h8500-*-hms* | h8500-*-coff*)
|
|||||||
targ_emul=h8500
|
targ_emul=h8500
|
||||||
targ_extra_emuls="h8500s h8500b h8500m h8500c"
|
targ_extra_emuls="h8500s h8500b h8500m h8500c"
|
||||||
;;
|
;;
|
||||||
|
sh-*-linux*)
|
||||||
|
targ_emul=shelf_linux
|
||||||
|
targ_extra_emuls=shlelf_linux
|
||||||
|
;;
|
||||||
sh-*-elf* | sh-*-rtemself*)
|
sh-*-elf* | sh-*-rtemself*)
|
||||||
targ_emul=shelf
|
targ_emul=shelf
|
||||||
targ_extra_emuls="shlelf sh shl"
|
targ_extra_emuls="shlelf sh shl"
|
||||||
|
14
ld/emulparams/shelf_linux.sh
Normal file
14
ld/emulparams/shelf_linux.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
SCRIPT_NAME=elf
|
||||||
|
OUTPUT_FORMAT="elf32-shbig-linux"
|
||||||
|
TEXT_START_ADDR=0x400000
|
||||||
|
MAXPAGESIZE=0x10000
|
||||||
|
ARCH=sh
|
||||||
|
MACHINE=
|
||||||
|
TEMPLATE_NAME=elf32
|
||||||
|
GENERATE_SHLIB_SCRIPT=yes
|
||||||
|
|
||||||
|
DATA_START_SYMBOLS='__data_start = . ;';
|
||||||
|
|
||||||
|
OTHER_READWRITE_SECTIONS='
|
||||||
|
.note.ABI-tag : { *(.note.ABI-tag) }
|
||||||
|
'
|
14
ld/emulparams/shlelf_linux.sh
Normal file
14
ld/emulparams/shlelf_linux.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
SCRIPT_NAME=elf
|
||||||
|
OUTPUT_FORMAT="elf32-sh-linux"
|
||||||
|
TEXT_START_ADDR=0x400000
|
||||||
|
MAXPAGESIZE=0x10000
|
||||||
|
ARCH=sh
|
||||||
|
MACHINE=
|
||||||
|
TEMPLATE_NAME=elf32
|
||||||
|
GENERATE_SHLIB_SCRIPT=yes
|
||||||
|
|
||||||
|
DATA_START_SYMBOLS='__data_start = . ;';
|
||||||
|
|
||||||
|
OTHER_READWRITE_SECTIONS='
|
||||||
|
.note.ABI-tag : { *(.note.ABI-tag) }
|
||||||
|
'
|
Reference in New Issue
Block a user