[patch] remove hp/ux compiler bug work-around

Tristan Gingold gingold@adacore.com
Fri May 28 08:35:00 GMT 2010


there is a work-around for pa-hpux bundled compiler that is not required anymore,
because this compiler do not accept ANSI-C declaration.  This work-around can
be therefore cleaned-up.

Ok to commit ?


2010-05-28  Tristan Gingold  <gingold@adacore.com>

	* targets.c (bfd_target_list): Remove hp/ux compiler work-around
	as bfd requires an ANSI-C compiler.

index 69a5a94..61a8f2d 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -1588,11 +1588,6 @@ bfd_target_list (void)
   int vec_length = 0;
   bfd_size_type amt;
-#if defined (HOST_HPPAHPUX) && ! defined (__STDC__)
-  /* The native compiler on the HP9000/700 has a bug which causes it
-     to loop endlessly when compiling this file.  This avoids it.  */
-  volatile
   const bfd_target * const *target;
   const  char **name_list, **name_ptr;

More information about the Binutils mailing list