gprofng: fix build with -mx32
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Thu, 26 May 2022 19:59:19 +0000 (12:59 -0700)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 27 May 2022 06:27:50 +0000 (23:27 -0700)
commit2a2cb7cf2c7f0d380ee9cb9ef361223b8770c508
tree157f064b5bf50d1e3aa1b164b3996dcdfbe47ae6
parent62b5b11b1b57036c37f68ee108913eb36d3693cc
gprofng: fix build with -mx32

gprofng/ChangeLog
2022-05-26  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

PR gprofng/28983
* libcollector/libcol_util.h (__collector_getsp, __collector_getfp,
__collector_getpc): Adapt for build with -mx32
* libcollector/heaptrace.c: Fix -Wpointer-to-int-cast warnings.
* libcollector/hwprofile.h: Likewise.
* libcollector/mmaptrace.c: Likewise.
* libcollector/synctrace.c: Likewise.
* libcollector/unwind.c: Likewise.
gprofng/libcollector/heaptrace.c
gprofng/libcollector/hwprofile.h
gprofng/libcollector/libcol_util.h
gprofng/libcollector/mmaptrace.c
gprofng/libcollector/synctrace.c
gprofng/libcollector/unwind.c