This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi,

this patch gets rid of Assembler message:
sysdeps/s390/s390-32/dl-machine.h:75:
Warning: value 0xffffffff7fffffea truncated to 0x7fffffea
in static inline function elf_machine_load_address,
which is only used in _dl_start function in elf/rtld.c.
The value was subtracted by 0x80000000 and is now anded with 0x7fffffff.

This patch does not change anything in ld.so.
Tested on s390.

Ok to commit?

Bye Stefan

---
2014-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>

	sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
	Use anding 0x7fffffff instead of subtracting 0x80000000.

Attachment: dl-machine_31_assembler_truncated_20141120
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]