Hi Andreas,
On 11/20/2014 05:43 PM, Andreas Schwab wrote:> Stefan Liebler
<stli@linux.vnet.ibm.com> writes:
> This is only equivalent if _dl_start - 1b is always negative.
>
> Andreas.
>
Yes you are right. Thanks.
The function elf_machine_load_address (void) is inlined in _dl_start,
thus (_dl_start - 1b) is negative. If it wouldnÂt be inlined and would
be located after elf_machine_load_address, this is not correct.
But truncating the expression (in this case: 0xffffffff7fffffea) by
anding it with 0x00000000ffffffff, the resulting value isnÂt changed
regardless of (_dl_start - 1b) is positive or negative, but the
assembler does not warn about truncating the value.
Bye
Stefan
---
2014-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
Truncating assembler expression to a .long expression.