aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-05-13 18:15:33 +0000
committerBernd Schmidt <bernds@codesourcery.com>2011-05-13 18:15:33 +0000
commit2a6163793f685ef88ce57aa90fd9da291e64e1b7 (patch)
tree09c03e1b7ca255472ef658909ae1ad64acf65f5a /ld/configure.tgt
parent01124a23b32e1d40eefe063aa416438d71ba0240 (diff)
downloadgdb-2a6163793f685ef88ce57aa90fd9da291e64e1b7.zip
gdb-2a6163793f685ef88ce57aa90fd9da291e64e1b7.tar.gz
gdb-2a6163793f685ef88ce57aa90fd9da291e64e1b7.tar.bz2
ld/
(eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. * Makefile.am (ALL_EMULATIONS): Add these files. (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. * Makefile.in: Regenerated. * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target vectors. * emulparams/elf32_tic6x_elf_be.sh: New file. * emulparams/elf32_tic6x_elf_le.sh: New file. * emulparams/elf32_tic6x_linux_be.sh: New file. * emulparams/elf32_tic6x_linux_le.sh: New file. * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. (tic6x-*-*): Replaced by these. ld/testsuite/ * ld-tic6x/dsbt.ld (OUTPUT_FORMAT): Add. * ld-tic6x/tic6x.exp: Add OSABI tests. bfd/ * config.bfd (tic6x-*-elf, tic6x-*-uclinux): New. (tic6x-*-*): Replaced by these. * elf32-tic6x.c (elf32_tic6x_set_osabi): New static function. (elf32_tic6x_check_relocs): Create dynamic sections if -shared. (elf_backend_relocs_compatible, elf_backend_post_process_headers): Define. (elf32_bed, TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_OSABI): Redefine twice, and include "elf32-target.h" two more times. * configure.in: Handle bfd_elf32_tic6x_linux_be_vec, bfd_elf32_tic6x_linux_le_vec, bfd_elf32_tic6x_elf_be_vec and bfd_elf32_tic6x_elf_le_vec. * configure: Regenerate.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt9
1 files changed, 7 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 53f9395..5060c68 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -633,8 +633,13 @@ tic30-*-*aout*) targ_emul=tic30aout ;;
tic30-*-*coff*) targ_emul=tic30coff ;;
tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;;
tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff ;;
-tic6x-*-*) targ_emul=elf32_tic6x_le
- targ_extra_emuls="elf32_tic6x_be"
+tic6x-*-elf) targ_emul=elf32_tic6x_elf_le
+ targ_extra_emuls="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be"
+ targ_extra_libpath=$targ_extra_emuls
+ ;;
+tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le
+ targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be"
+ targ_extra_libpath=$targ_extra_emuls
;;
tic80-*-*) targ_emul=tic80coff
;;