as -gstabs does not work on ia64

Andreas Schwab schwab@suse.de
Wed Nov 14 23:48:00 GMT 2001


Richard Henderson <rth@redhat.com> writes:

|> On Tue, Nov 27, 2001 at 04:56:27PM +0100, Andreas Schwab wrote:
|> > Should -gstabs be ignored on ia64?
|> 
|> Well, not ignored, but we should error for it.

How about this:

2001-11-28  Andreas Schwab  <schwab@suse.de>

	* as.c (parse_args) [TC_IA64]: Reject --gstabs.

--- as.c.~1.33.~	Tue Oct 23 10:00:14 2001
+++ as.c	Wed Nov 28 15:13:56 2001
@@ -612,7 +612,11 @@
 	  break;
 
 	case OPTION_GSTABS:
+#ifdef TC_IA64
+	  as_fatal (_("--gstabs is not supported for ia64"));
+#else
 	  debug_type = DEBUG_STABS;
+#endif
 	  break;
 
 	case OPTION_GDWARF2:

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



More information about the Binutils mailing list