diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 4 | ||||
-rw-r--r-- | ld/Makefile.in | 4 | ||||
-rw-r--r-- | ld/configure.tgt | 3 |
4 files changed, 19 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ee7ec87..4ed6dc8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2007-02-28 Nathan Sidwell <nathan@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o + (eshelf_uclinux.c): New target. + * Makefile.in: Rebuilt. + * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. + * emulparams/shelf_uclinux.sh: New. + 2007-02-28 Alan Modra <amodra@bigpond.net.au> * configure.tgt: Fix type last change. diff --git a/ld/Makefile.am b/ld/Makefile.am index 767a9ca..0dcbf85 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -364,6 +364,7 @@ ALL_EMULATIONS = \ eshlelf_nbsd.o \ eshelf_nto.o \ eshlelf_nto.o \ + eshelf_uclinux.o \ eshelf_vxworks.o \ eshlelf_vxworks.o \ eshl.o \ @@ -1559,6 +1560,9 @@ eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \ ${GEN_DEPENDS} ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)" +eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)" eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ $(srcdir)/emulparams/shelf.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} diff --git a/ld/Makefile.in b/ld/Makefile.in index e0e79f5..d32c529 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -596,6 +596,7 @@ ALL_EMULATIONS = \ eshlelf_nbsd.o \ eshelf_nto.o \ eshlelf_nto.o \ + eshelf_uclinux.o \ eshelf_vxworks.o \ eshlelf_vxworks.o \ eshl.o \ @@ -2370,6 +2371,9 @@ eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \ ${GEN_DEPENDS} ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)" +eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)" eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ $(srcdir)/emulparams/shelf.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} diff --git a/ld/configure.tgt b/ld/configure.tgt index ba09a42..bd3b525 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -511,6 +511,9 @@ sh-*-rtemscoff*) targ_emul=sh; targ_extra_emuls=shl ;; sh-*-elf* | sh[1234]*-*-elf | sh-*-rtems* | sh-*-kaos*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" ;; +sh-*-uclinux* | sh[12]-*-uclinux*) + targ_emul=shelf_uclinux + targ_extra_emuls="shelf shlelf sh shl" ;; sh-*-vxworks) targ_emul=shelf_vxworks targ_extra_emuls=shlelf_vxworks ;; sh-*-nto*) targ_emul=shelf_nto |