This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH 1/6] aarch64: Merge rtld_errno offset with memory reference


On 23 May 2014 21:34, Richard Henderson <rth@twiddle.net> wrote:

> It's required in the context of the add, and not required (but accepted) in the
> context of an address operand.

The relevant documentation here is: PRD03-GENC-010197 section 4.1.
The # is optional on all immediates.  The spec also requires that
disassemblers should always emit the # for readability.

> Personally, I prefer not using # in an address; which form do the AArch64
> maintainers prefer?

I think we should insert the # for all immediates.

I'm curious  about Richards statement above, have you seen a scenario
where the assembler refuses to accept the # on an add?  I doubled
checked this particular case with and without using trunk gas and it
seems to be fine.

Cheers
/Marcus


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