diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2014-12-11 17:02:24 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-12-11 17:02:24 +0100 |
commit | 1ea166df67e4fa6b62fa3fa1ca03a990d0f45eba (patch) | |
tree | 37fc5cb7705752cb77ba0490ed097c9d079efd55 | |
parent | acf869f4bcc1750da9a04371690d107c0d7a3189 (diff) | |
download | glibc-1ea166df67e4fa6b62fa3fa1ca03a990d0f45eba.zip glibc-1ea166df67e4fa6b62fa3fa1ca03a990d0f45eba.tar.gz glibc-1ea166df67e4fa6b62fa3fa1ca03a990d0f45eba.tar.bz2 |
S/390: Get rid of assembler warning value truncated.
-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" |