diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/s390/s390-32/dl-machine.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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. diff --git a/sysdeps/s390/s390-32/dl-machine.h b/sysdeps/s390/s390-32/dl-machine.h index 6780405..72fb7fe 100644 --- a/sysdeps/s390/s390-32/dl-machine.h +++ b/sysdeps/s390/s390-32/dl-machine.h @@ -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" |