This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[alpha] Fix PR 12610


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~

Attachment: z
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]