[alpha] Fix PR 12610

Richard Henderson rth@redhat.com
Tue Mar 29 18:25:00 GMT 2011
The (rather misguided) auto-alignment feature was getting in the
way of debug information by auto-adjusting a label before an
explicit .align directive.

Fixed by dropping auto-alignment in this particular case.  It is
a stretch to assume auto-alignment was ever in fact desired here,
since the user did in fact write an explicit alignment.

I didn't feel comfortable dropping it elsewhere; there's all sorts
of alpha assembly code out there that's never going to be  reviewed
for errors here.  The only thing that might be reasonable is some
sort of warning message if auto-alignment actually does something.

Also annoying is that you can't permanently disable auto-alignment.
It's automatically turned on by any align directive, or any section
change.  It might be reasonable to add a 

	.set noautoalign

directive to prevent this, and add configury to the compiler to
use it if available.

Committed.


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <https://sourceware.org/pipermail/binutils/attachments/20110329/4b67fc45/attachment.ksh>


More information about the Binutils mailing list