summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-10-15 11:29:24 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-10-25 07:13:54 -0700
commitf9b152c83f6b80562bd554e9d188636888909450 (patch)
tree3dff3e74f0b27bef8220af5d2f955374610813d6 /elf
parentbad852b61b79503fcb3c5fc379c70f768df3e1fb (diff)
downloadglibc-f9b152c83f6b80562bd554e9d188636888909450.tar.gz
glibc-f9b152c83f6b80562bd554e9d188636888909450.tar.xz
glibc-f9b152c83f6b80562bd554e9d188636888909450.zip
elf: Make global.out depend on reldepmod4.so [BZ #28457]
The global test is linked with globalmod1.so which dlopens reldepmod4.so.
Make global.out depend on reldepmod4.so.  This fixes BZ #28457.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index bdcf4cb885..7e4f0c3121 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -991,7 +991,7 @@ $(objpfx)tst-rtld-preload.out: tst-rtld-preload.sh $(objpfx)ld.so \
 $(objpfx)initfirst.out: $(objpfx)firstobj.so
 
 $(objpfx)global: $(objpfx)globalmod1.so
-$(objpfx)global.out: $(objpfx)reldepmod1.so
+$(objpfx)global.out: $(objpfx)reldepmod1.so $(objpfx)reldepmod4.so
 
 $(objpfx)dblload.out: $(objpfx)dblloadmod1.so $(objpfx)dblloadmod2.so