diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-10 09:02:23 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-10 09:02:23 +0000 |
commit | cb3aabc79c27bbb7942b28f5e5723aba4a55d932 (patch) | |
tree | 145d5005596ccdcf1d167521130031075a04ae17 | |
parent | e1f000f69cf227b4fefa30a5234cd9a9e68fee40 (diff) | |
download | gdb-cb3aabc79c27bbb7942b28f5e5723aba4a55d932.zip gdb-cb3aabc79c27bbb7942b28f5e5723aba4a55d932.tar.gz gdb-cb3aabc79c27bbb7942b28f5e5723aba4a55d932.tar.bz2 |
2010-06-10 Tristan Gingold <gingold@adacore.com>
* config.bfd: Remove #if/#endif so that som can be compiled on any
host.
* targets.c (_bfd_target_vector): Remove #if/#endif so that som
can be used on any host.
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/config.bfd | 2 | ||||
-rw-r--r-- | bfd/targets.c | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 14341c4..b12fca1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2010-06-10 Tristan Gingold <gingold@adacore.com> + * config.bfd: Remove #if/#endif so that som can be compiled on any + host. + * targets.c (_bfd_target_vector): Remove #if/#endif so that som + can be used on any host. + +2010-06-10 Tristan Gingold <gingold@adacore.com> + * som.c: Can now be compiled on any host. Include bfd headers instead of system one. (som_compute_checksum): Parameter is now a pointer to a diff --git a/bfd/config.bfd b/bfd/config.bfd index abe1b5e..b25b2fa 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -470,7 +470,6 @@ case "${targ}" in targ_selvecs=bfd_elf32_hppa_linux_vec ;; -#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) || defined (HOST_HPPAMPEIX) hppa*-*-bsd*) targ_defvec=som_vec targ_selvecs=bfd_elf32_hppa_vec @@ -482,7 +481,6 @@ case "${targ}" in targ_defvec=som_vec targ_selvecs=bfd_elf32_hppa_vec ;; -#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */ i370-*-*) targ_defvec=bfd_elf32_i370_vec diff --git a/bfd/targets.c b/bfd/targets.c index 61a8f2d..8e0fafe 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1204,9 +1204,7 @@ static const bfd_target * const _bfd_target_vector[] = &shlcoff_vec, &shlpe_vec, &shlpei_vec, -#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) &som_vec, -#endif &sparccoff_vec, &sparcle_aout_vec, &sparclinux_vec, |