Re: PATCH: Fix 2.6 kernel ia64 directives

From: James E Wilson <>
Date: 2005-02-10 07:10:13
On Wed, 2005-02-09 at 11:35, David Mosberger wrote:
> Why should it depend on IAS as to whether GAS does or does not produce
> an error?

I was wrong about IAS giving an error in this case (.proc/.endp).  I
mentioned this in an earlier mail.  See Jan's response for the

It has always been the goal since the beginning to be compatible with
IAS.  Unfortunately, the gas IA-64 port was never finished.  There is
some stuff that was never implemented, some stuff that was incorrectly
and/or incompletely implemented, and some stuff that is known to be
buggy.  The gas IA-64 port is suffering from a lack of attention. 
Fortunately, there is only one major bug, the DV support is fatally
flawed and has to be rewritten, and at the moment this problem is
limited by the fact that the gcc predication support is not smart enough
to emit code that gas can't handle correctly.

Anyways, these gas problems all need to be fixed eventually.  I do want
to avoid breaking existing code unnecessarily, but it may not be
possible in all cases.

> The fact is that GAS has _not_ in the past issued an error
> and it's not acceptable to break existing code for no good reason.
> Making it a warning is fine, of course.

I believe there is a good reason for this.  We are talking about
directives related to unwind info.  Unwind info only gets tested when
exceptional conditions occur, at which point it is too late to recover. 
It is important that the assembler give an error if a problem is
detected, as otherwise a serious latent bug may go unfixed.  I we give a
warning, then people may not notice it and fix their code.

However, I do understand that there is some inconvenience here.  I have
no problem with emitting a warning temporarily to give people a chance
to migrate.  In fact, I believe I will have to use a warning for now
because these changes break gcc -pg, and this is not easy to fix as it
will also require glibc changes.  I already have a patch from HJ to do
this, I just need to review it.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Feb 9 15:21:26 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:35 EST