From cb3aabc79c27bbb7942b28f5e5723aba4a55d932 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 10 Jun 2010 09:02:23 +0000 Subject: [PATCH] 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(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 14341c480f6..b12fca1d121 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/bfd/config.bfd b/bfd/config.bfd index abe1b5eb440..b25b2fa79c4 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 61a8f2deaf3..8e0fafefbb8 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, -- 2.30.2