aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-02 02:00:08 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-02 02:00:08 +0000
commitffd15489119c7149cc73f0adb4ee80d79d150c92 (patch)
treece014668e88844ac92684bc498f0919e735e5e89 /bfd/targets.c
parent55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4 (diff)
downloadgdb-ffd15489119c7149cc73f0adb4ee80d79d150c92.zip
gdb-ffd15489119c7149cc73f0adb4ee80d79d150c92.tar.gz
gdb-ffd15489119c7149cc73f0adb4ee80d79d150c92.tar.bz2
* ihex.c: New file; support for Intel Hex format.
* targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour. (ihex_vec): Declare. (bfd_target_vector): Always include ihex_vec. * bfd.c (struct _bfd): Add ihex_data field to tdata union. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Add ihex.o (BFD_LIBS_CFILES): Add ihex.c. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index dca32f2..c0e1543 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -145,6 +145,7 @@ DESCRIPTION
. bfd_target_oasys_flavour,
. bfd_target_tekhex_flavour,
. bfd_target_srec_flavour,
+. bfd_target_ihex_flavour,
. bfd_target_som_flavour,
. bfd_target_os9k_flavour,
. bfd_target_versados_flavour,
@@ -567,6 +568,9 @@ extern const bfd_target symbolsrec_vec;
/* binary is always included. */
extern const bfd_target binary_vec;
+/* ihex is always included. */
+extern const bfd_target ihex_vec;
+
/* All of the xvecs for core files. */
extern const bfd_target aix386_core_vec;
extern const bfd_target cisco_core_vec;
@@ -749,6 +753,8 @@ const bfd_target * const bfd_target_vector[] = {
&tekhex_vec,
/* Likewise for binary output. */
&binary_vec,
+/* Likewise for ihex. */
+ &ihex_vec,
/* Add any required traditional-core-file-handler. */