summaryrefslogtreecommitdiff
path: root/ldso/libdl/Makefile
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-02-19 07:55:10 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-19 09:23:59 +0100
commit0d308e51f936c5395f62cc70e0098d7e16a07361 (patch)
tree7946c9592917b985d7ba7f547fc9f0fe69c966d0 /ldso/libdl/Makefile
parentee2451840716526ad0f0abc1754d835d6b6970a6 (diff)
Rename `reloc_addr` to suppress `-Wshadow` warning.
Here is the warning: ldso/ldso/dl-elf.c: In function '_dl_fixup': ./ldso/include/dl-elf.h:259:37: warning: declaration of 'reloc_addr' shadows a previous local [-Wshadow] 259 | ElfW(Addr) *reloc_addr = 0; \ | ^~~~~~~~~~ ./ldso/include/dl-elf.h:290:33: note: in expansion of macro 'DL_DO_RELOCATE_RELR' 290 | DL_DO_RELOCATE_RELR(dyn->loadaddr, relr_start, relr_end); \ | ^~~~~~~~~~~~~~~~~~~ ldso/ldso/dl-elf.c:1032:9: note: in expansion of macro 'DL_RELOCATE_RELR' 1032 | DL_RELOCATE_RELR(tpnt); | ^~~~~~~~~~~~~~~~ In file included from ldso/ldso/ldso.c:1462: ldso/ldso/dl-elf.c:1012:20: note: shadowed declaration is here 1012 | ElfW(Addr) reloc_addr Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'ldso/libdl/Makefile')
0 files changed, 0 insertions, 0 deletions