Add fdpic and misc emulations to configure.tgt for sh*-*-linux*
authorRich Felker <dalias@libc.org>
Wed, 30 Sep 2015 05:35:53 +0000 (14:35 +0900)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Wed, 30 Sep 2015 05:35:53 +0000 (14:35 +0900)
ld/ChangeLog
ld/configure.tgt

index 9ee22bc..4dc39bf 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-30  Rich Felker  <dalias@libc.org>
+
+       * configure.tgt (targ_extra_emuls): Add fdpic and misc
+       emulations to sh*-*-linux* targets.
+
 2015-09-29  Nick Clifton  <nickc@redhat.com>
 
        PR ld/19014
index e4eacd4..bb958dc 100644 (file)
@@ -651,15 +651,17 @@ s390-*-linux*)          targ_emul=elf_s390
 score-*-elf)            targ_emul=score7_elf
                        targ_extra_emuls=score3_elf ;;
 sh-*-linux*)           targ_emul=shlelf_linux
-                       targ_extra_emuls=shelf_linux
+                       targ_extra_emuls="shelf_linux shlelf_fd shelf_fd shlelf shelf"
                        targ_extra_libpath=shelf_linux ;;
 sh64eb-*-linux*)       targ_emul=shelf32_linux
                        targ_extra_emuls="shlelf32_linux" ;;
 sh64-*-linux*)         targ_emul=shlelf32_linux
                        targ_extra_emuls="shelf32_linux"
                        targ_extra_libpath=shelf32_linux ;;
-sh*eb-*-linux*)                targ_emul=shelf_linux ;;
-sh*-*-linux*)          targ_emul=shlelf_linux ;;
+sh*eb-*-linux*)                targ_emul=shelf_linux
+                       targ_extra_emuls="shelf_fd shelf" ;;
+sh*-*-linux*)          targ_emul=shlelf_linux
+                       targ_extra_emuls="shlelf_fd shlelf" ;;
 sh5le-*-netbsd*)       targ_emul=shlelf32_nbsd
                        targ_extra_emuls="shelf32_nbsd shelf64_nbsd shlelf64_nbsd shelf_nbsd shlelf_nbsd" ;;
 sh5-*-netbsd*)         targ_emul=shelf32_nbsd