summaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2011-05-13 18:15:29 +0000
committerBernd Schmidt <bernd.schmidt@analog.com>2011-05-13 18:15:29 +0000
commit316f6b10f0334394ce19d885e1e125cb149a2421 (patch)
treef07b2995d82a5188d2cadec606a0f5e9929be206 /ld/emulparams
parent8e6fd6c8b1d6e124d88ef4099196e36a4b66457d (diff)
downloadbinutils-redhat-316f6b10f0334394ce19d885e1e125cb149a2421.tar.gz
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/emulparams')
-rw-r--r--ld/emulparams/elf32_tic6x_elf_be.sh2
-rw-r--r--ld/emulparams/elf32_tic6x_elf_le.sh3
-rw-r--r--ld/emulparams/elf32_tic6x_linux_be.sh2
-rw-r--r--ld/emulparams/elf32_tic6x_linux_le.sh3
4 files changed, 10 insertions, 0 deletions
diff --git a/ld/emulparams/elf32_tic6x_elf_be.sh b/ld/emulparams/elf32_tic6x_elf_be.sh
new file mode 100644
index 0000000000..a39393357d
--- /dev/null
+++ b/ld/emulparams/elf32_tic6x_elf_be.sh
@@ -0,0 +1,2 @@
+. ${srcdir}/emulparams/elf32_tic6x_le.sh
+OUTPUT_FORMAT="elf32-tic6x-elf-be"
diff --git a/ld/emulparams/elf32_tic6x_elf_le.sh b/ld/emulparams/elf32_tic6x_elf_le.sh
new file mode 100644
index 0000000000..8c86ee456a
--- /dev/null
+++ b/ld/emulparams/elf32_tic6x_elf_le.sh
@@ -0,0 +1,3 @@
+. ${srcdir}/emulparams/elf32_tic6x_le.sh
+OUTPUT_FORMAT="elf32-tic6x-elf-le"
+BIG_OUTPUT_FORMAT="elf32-tic6x-elf-be"
diff --git a/ld/emulparams/elf32_tic6x_linux_be.sh b/ld/emulparams/elf32_tic6x_linux_be.sh
new file mode 100644
index 0000000000..313395151b
--- /dev/null
+++ b/ld/emulparams/elf32_tic6x_linux_be.sh
@@ -0,0 +1,2 @@
+. ${srcdir}/emulparams/elf32_tic6x_le.sh
+OUTPUT_FORMAT="elf32-tic6x-linux-be"
diff --git a/ld/emulparams/elf32_tic6x_linux_le.sh b/ld/emulparams/elf32_tic6x_linux_le.sh
new file mode 100644
index 0000000000..06defa0d84
--- /dev/null
+++ b/ld/emulparams/elf32_tic6x_linux_le.sh
@@ -0,0 +1,3 @@
+. ${srcdir}/emulparams/elf32_tic6x_le.sh
+OUTPUT_FORMAT="elf32-tic6x-linux-le"
+BIG_OUTPUT_FORMAT="elf32-tic6x-linux-be"