From cb3aabc79c27bbb7942b28f5e5723aba4a55d932 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 10 Jun 2010 09:02:23 +0000 Subject: 2010-06-10 Tristan Gingold * 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. --- bfd/ChangeLog | 7 +++++++ bfd/config.bfd | 2 -- bfd/targets.c | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'bfd') 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 + * 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 + * 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, -- cgit v1.1