S/390: Get rid of assembler warning value truncated.

This commit is contained in:
Stefan Liebler 2014-12-11 17:02:24 +01:00 committed by Andreas Krebbel
parent acf869f4bc
commit 1ea166df67
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-11 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.
2014-12-11 Andreas Schwab <schwab@suse.de>
* elf/rtld.c (struct map_args): Constify str member.

View File

@ -72,7 +72,7 @@ elf_machine_load_address (void)
asm( " bras 1,2f\n"
"1: .long _GLOBAL_OFFSET_TABLE_ - 1b\n"
" .long _dl_start - 1b - 0x80000000\n"
" .long (_dl_start - 1b - 0x80000000) & 0x00000000ffffffff\n"
"2: l %0,4(1)\n"
" ar %0,1\n"
" al 1,0(1)\n"