OSDN Git Service

bionic: Do not use magic number for portability
authorQiming Shi <qiming.shi@intel.com>
Sun, 26 Jan 2014 08:49:39 +0000 (16:49 +0800)
committerElliott Hughes <enh@google.com>
Mon, 27 Jan 2014 22:51:07 +0000 (14:51 -0800)
commit4041b13c204fc1e2fc799b67ce15347d9ad6c8d9
tree9b7fca4c64464af7e1c0292ecc41f84054055dba
parent6f23ce36ce580da3c1419856c71d7426dd64748d
bionic: Do not use magic number for portability

Do not use the magic number 0xFFFFFFFFU to represent the max value of an address
as it's not correct on 64bit platform. We should use UINTPTR_MAX instead.

Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
linker/linker_phdr.cpp