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

Marcus Shawcroft marcus.shawcroft@gmail.com
Sat May 24 07:41:00 GMT 2014


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



More information about the Libc-alpha mailing list