1 # Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, write to the Free
16 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 # Makefile for elf subdirectory of GNU C Library.
23 headers
= elf.h bits
/elfclass.h link.h
24 routines
= $(dl-routines
) dl-open dl-close dl-support dl-iteratephdr \
25 dl-iteratephdr-static dl-addr enbl-secure dl-profstub \
26 dl-origin dl-libc dl-sym
28 # The core dynamic linking functions are in libc for the static and
30 dl-routines
= $(addprefix dl-
,load cache lookup object reloc deps \
31 runtime error init fini debug misc \
32 version profile conflict tls
origin)
33 all-dl-routines
= $(dl-routines
) $(sysdep-dl-routines
)
34 # But they are absent from the shared libc, because that code is in ld.so.
35 elide-routines.os
= $(all-dl-routines
) dl-support enbl-secure \
36 dl-iteratephdr-static dl-origin
38 # ld.so uses those routines, plus some special stuff for being the program
39 # interpreter and operating independent of libc.
40 rtld-routines
:= rtld
$(dl-routines
) dl-sysdep dl-environ dl-minimal \
41 dl-xstat64 dl-fxstat64
42 all-rtld-routines
= $(rtld-routines
) $(sysdep-rtld-routines
)
44 distribute
:= $(rtld-routines
:=.c
) dynamic-link.h do-rel.h dl-machine.h \
45 dl-cache.h dl-hash.h soinit.c sofini.c ldd.bash.in \
46 genrtldtbl.awk atomicity.h dl-procinfo.h ldsodefs.h \
47 dl-librecon.h interp.c sln.c dl-dst.h hp-timing.h \
48 do-lookup.h dl-lookupcfg.h sprof.c gen-trusted-dirs.awk \
49 testobj1.c testobj2.c testobj3.c testobj4.c testobj5.c \
50 testobj6.c testobj1_1.c failobj.c unloadmod.c \
51 ldconfig.h ldconfig.c cache.c readlib.c readelflib.c \
52 chroot_canon.c gccframe.h \
53 dep1.c dep2.c dep3.c dep4.c dl-dtprocnum.h unsecvars.h \
54 vismain.c vismod1.c vismod2.c vismod3.c \
55 constload2.c constload3.c filtmod1.c filtmod2.c \
56 nodlopenmod.c nodelete.c nodelmod1.c nodelmod2.c \
57 nodelmod3.c nodelmod4.c nodlopen.c dl-osinfo.h \
58 reldepmod1.c reldepmod2.c reldepmod3.c reldepmod4.c \
59 reldepmod5.c reldepmod6.c \
60 reldep4mod1.c reldep4mod2.c reldep4mod3.c reldep4mod4.c \
61 nextmod1.c nextmod2.c pathoptobj.c tst-pathopt.sh \
62 neededobj1.c neededobj2.c neededobj3.c neededobj4.c \
63 neededobj5.c neededobj6.c firstobj.c \
64 unload2mod.c unload2dep.c ltglobmod1.c ltglobmod2.c \
65 testobj.h vismod.h globalmod1.c \
66 dblloadmod1.c dblloadmod2.c dblloadmod3.c \
67 reldep6mod4.c reldep6mod3.c reldep6mod2.c reldep6mod1.c \
68 reldep6mod0.c reldep7mod1.c reldep7mod2.c \
69 unwind-dw2.c unwind-dw2-fde.c unwind.h unwind-pe.h \
70 unwind-dw2-fde.h dwarf2.h dl-procinfo.c tls.h dl-tls.h \
75 ifeq ($(unwind-find-fde
),yes
)
76 routines
+= unwind-dw2-fde-glibc
77 shared-only-routines
= unwind-dw2-fde-glibc
80 before-compile
= $(objpfx
)trusted-dirs.h
81 generated
:= trusted-dirs.h trusted-dirs.st for-renamed
/renamed.so
82 generated-dirs
:= for-renamed
84 ifeq ($(versioning
),yes
)
85 ld-map
= $(common-objpfx
)ld.map
88 ifeq (yes
,$(build-shared
))
89 extra-objs
= $(all-rtld-routines
:%=%.os
) soinit.os sofini.os interp.os
90 generated
+= librtld.os dl-allobjs.os
ld.so ldd
91 install-others
= $(inst_slibdir
)/$(rtld-installed-name
)
92 install-bin-script
= ldd
98 install-rootsbin
= sln
100 ifeq (yes
,$(use-ldconfig
))
101 ifeq (yes
,$(build-shared
))
102 others-static
+= ldconfig
104 install-rootsbin
+= ldconfig
106 ldconfig-modules
:= cache readlib xmalloc xstrdup chroot_canon
107 extra-objs
+= $(ldconfig-modules
:=.o
)
109 # To find xmalloc.c and xstrdup.c
110 vpath
%.c ..
/locale
/programs
115 ifeq (yes
,$(build-shared
))
116 tests
= loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
117 constload1 order
$(tests-vis-
$(have-protected
)) noload
filter unload \
118 reldep reldep2 reldep3 reldep4
$(tests-nodelete-
$(have-z-nodelete
)) \
119 $(tests-nodlopen-
$(have-z-nodlopen
)) neededtest neededtest2 \
120 neededtest3 neededtest4 unload2 lateglobal initfirst global \
121 restest2 next dblload dblunload reldep5 reldep6 reldep7 tst-tls1 \
122 tst-tls2 tst-tls3 tst-tls4 tst-tls5 tst-tls6 tst-tls7 tst-tls8
123 test-srcs
= tst-pathopt
124 tests-vis-yes
= vismain
125 tests-nodelete-yes
= nodelete
126 tests-nodlopen-yes
= nodlopen nodlopen2
128 modules-names
= testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
129 testobj1_1 failobj constload2 constload3 unloadmod \
130 dep1 dep2 dep3 dep4
$(modules-vis-
$(have-protected
)) \
131 $(modules-nodelete-
$(have-z-nodelete
)) \
132 $(modules-nodlopen-
$(have-z-nodlopen
)) filtmod1 filtmod2 \
133 reldepmod1 reldepmod2 reldepmod3 reldepmod4 nextmod1 nextmod2 \
134 reldep4mod1 reldep4mod2 reldep4mod3 reldep4mod4 \
135 neededobj1 neededobj2 neededobj3 neededobj4 \
136 neededobj5 neededobj6 firstobj globalmod1 \
137 unload2mod unload2dep ltglobmod1 ltglobmod2 pathoptobj \
138 dblloadmod1 dblloadmod2 dblloadmod3 reldepmod5 reldepmod6 \
139 reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
140 reldep7mod1 reldep7mod2 \
141 tst-tlsmod1 tst-tlsmod2 tst-tlsmod3 tst-tlsmod4
142 modules-vis-yes
= vismod1 vismod2 vismod3
143 modules-nodelete-yes
= nodelmod1 nodelmod2 nodelmod3 nodelmod4
144 modules-nodlopen-yes
= nodlopenmod nodlopenmod2
145 extra-objs
+= $(addsuffix .os
,$(strip $(modules-names
)))
149 ifeq (yes
,$(build-shared
))
150 # Make sure these things are built in the `make lib' pass so they can be used
151 # to run programs during the `make others' pass.
152 lib-noranlib
: $(objpfx
)$(rtld-installed-name
) \
153 $(addprefix $(objpfx
),$(extra-objs
))
156 # Command to link into a larger single relocatable object.
157 reloc-link
= $(LINK.o
) -nostdlib
-nostartfiles
-r
-o
$@
159 $(objpfx
)dl-allobjs.os
: $(all-rtld-routines
:%=$(objpfx
)%.os
)
162 # Link together the dynamic linker into a single relocatable object.
163 $(objpfx
)librtld.os
: $(objpfx
)dl-allobjs.os
$(common-objpfx
)libc_pic.a
164 $(reloc-link
) '-Wl,-(' $^
-lgcc
'-Wl,-)'
166 $(objpfx
)ld.so
: $(objpfx
)librtld.os
$(ld-map
)
167 $(LINK.o
) -nostdlib
-nostartfiles
-shared \
168 $(LDFLAGS-rtld
) -Wl
,--verbose
2>&1 | \
169 sed
-e
'/^=========/,/^=========/!d;/^=========/d' \
170 -e
's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
172 $(LINK.o
) -nostdlib
-nostartfiles
-shared
-o
$@
$(LDFLAGS-rtld
) \
173 $(filter-out $(map-file
),$^
) $(load-map-file
) \
174 -Wl
,-soname
=$(rtld-installed-name
) -T
$@.lds
; \
177 # interp.c exists just to get this string into the libraries.
178 CFLAGS-interp.c
= -D
'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"'
180 ifneq (ld.so
,$(rtld-installed-name
))
181 # Make sure ld.so.1 exists in the build directory so we can link
183 $(objpfx
)$(rtld-installed-name
): $(objpfx
)ld.so
186 generated
+= $(rtld-installed-name
)
189 # Build a file mentioning all trustworthy directories to look for shared
190 # libraries when using LD_LIBRARY_PATH in a setuid program. The user can
191 # add directories to the list by defining $(user-defined-trusted-dirs)
192 # before starting make.
193 $(objpfx
)trusted-dirs.h
: $(objpfx
)trusted-dirs.st
; @
:
194 $(objpfx
)trusted-dirs.st
: Makefile
$(..
)Makeconfig
195 $(make-target-directory
)
196 echo
"$(subst :, ,$(default-rpath) $(user-defined-trusted-dirs))" \
197 |
$(AWK
) -f gen-trusted-dirs.awk
> ${@
:st
=T
};
198 $(move-if-change
) ${@
:st
=T
} ${@
:st
=h
}
200 CPPFLAGS-dl-load.c
= -I
$(objpfx
).
-I
$(csu-objpfx
).
202 ifeq (yes
,$(build-shared
))
203 $(inst_slibdir
)/$(rtld-version-installed-name
): $(objpfx
)ld.so
$(+force)
204 $(make-target-directory
)
205 $(do-install-program
)
207 $(inst_slibdir
)/$(rtld-installed-name
): \
208 $(inst_slibdir
)/$(rtld-version-installed-name
) \
209 $(inst_slibdir
)/libc-
$(version
).so
212 # Special target called by parent to install just the dynamic linker.
214 ldso_install
: $(inst_slibdir
)/$(rtld-installed-name
)
218 common-ldd-rewrite
= -e
's%@RTLD@%$(slibdir)/$(rtld-installed-name)%g' \
219 -e
's%@VERSION@%$(version)%g'
220 sh-ldd-rewrite
= $(common-ldd-rewrite
) -e
's%@BASH@%/bin/sh%g;s/\$$"/"/g'
221 bash-ldd-rewrite
= $(common-ldd-rewrite
) -e
's%@BASH@%$(BASH)%g' \
222 -e
's%@TEXTDOMAINDIR@%$(msgcatdir)%g'
224 ifneq ($(have-bash2
),yes
)
230 ifeq ($(ldd-rewrite-script
),no
)
232 sed
$($(ldd-shell
)-ldd-rewrite
) < $< > $@.new
236 sed
$($(ldd-shell
)-ldd-rewrite
) < $< | sed
-f
$(ldd-rewrite-script
) > $@.new
240 $(objpfx
)ldd
: ldd.bash.in
$(common-objpfx
)soversions.mk \
241 $(common-objpfx
)config.make
246 $(objpfx
)sprof
: $(libdl
)
248 $(objpfx
)ldconfig
: $(ldconfig-modules
:%=$(objpfx
)%.o
)
249 SYSCONF-FLAGS
:= -D
'SYSCONFDIR="$(sysconfdir)"'
250 CFLAGS-ldconfig.c
= $(SYSCONF-FLAGS
) -D
'LIBDIR="$(libdir)"' -D
'SLIBDIR="$(slibdir)"'
251 CFLAGS-dl-cache.c
= $(SYSCONF-FLAGS
)
252 CFLAGS-cache.c
= $(SYSCONF-FLAGS
)
254 CFLAGS-.os
+= $(if
$(filter $(@F
),$(patsubst %,%.os
,$(all-rtld-routines
))),-DNOT_IN_libc
-DIS_IN_rtld
)
256 test-modules
= $(addprefix $(objpfx
),$(addsuffix .so
,$(strip $(modules-names
))))
257 generated
+= $(addsuffix .so
,$(strip $(modules-names
)))
259 ifeq (yes
,$(build-shared
))
260 ifeq ($(cross-compiling
),no
)
261 tests
: $(objpfx
)tst-pathopt.out
265 $(objpfx
)testobj1.so
: $(libdl
)
266 $(objpfx
)testobj1_1.so
: $(objpfx
)testobj1.so
$(libdl
)
267 $(objpfx
)testobj2.so
: $(objpfx
)testobj1.so
$(libdl
)
268 $(objpfx
)testobj3.so
: $(libdl
)
269 $(objpfx
)testobj4.so
: $(libdl
)
270 $(objpfx
)testobj5.so
: $(libdl
)
271 $(objpfx
)testobj6.so
: $(objpfx
)testobj1.so
$(objpfx
)testobj2.so
$(libdl
)
272 $(objpfx
)failobj.so
: $(objpfx
)testobj6.so
273 $(objpfx
)dep1.so
: $(objpfx
)dep2.so
$(objpfx
)dep4.so
274 $(objpfx
)dep2.so
: $(objpfx
)dep3.so
$(objpfx
)dep4.so
275 $(objpfx
)dep4.so
: $(objpfx
)dep3.so
276 $(objpfx
)nodelmod3.so
: $(objpfx
)nodelmod4.so
277 $(objpfx
)nextmod1.so
: $(libdl
)
278 $(objpfx
)neededobj1.so
: $(libdl
)
279 $(objpfx
)neededobj2.so
: $(objpfx
)neededobj1.so
$(libdl
)
280 $(objpfx
)neededobj3.so
: $(objpfx
)neededobj1.so
$(objpfx
)neededobj2.so
$(libdl
)
281 $(objpfx
)neededobj4.so
: $(objpfx
)neededobj1.so
$(objpfx
)neededobj2.so \
282 $(objpfx
)neededobj3.so
$(libdl
)
283 $(objpfx
)neededobj6.so
: $(objpfx
)neededobj5.so
284 $(objpfx
)unload2mod.so
: $(objpfx
)unload2dep.so
285 $(objpfx
)ltglobmod2.so
: $(libdl
)
286 $(objpfx
)firstobj.so
: $(shared-thread-library
)
287 $(objpfx
)globalmod1.so
: $(libdl
)
288 $(objpfx
)reldep4mod1.so
: $(objpfx
)reldep4mod3.so
289 $(objpfx
)reldep4mod2.so
: $(objpfx
)reldep4mod4.so
290 $(objpfx
)dblloadmod1.so
: $(objpfx
)dblloadmod3.so
291 $(objpfx
)dblloadmod2.so
: $(objpfx
)dblloadmod3.so
292 $(objpfx
)reldepmod5.so
: $(objpfx
)reldepmod2.so
293 $(objpfx
)reldepmod6.so
: $(objpfx
)reldepmod2.so
294 $(objpfx
)reldep6mod1.so
: $(objpfx
)reldep6mod0.so
295 $(objpfx
)reldep6mod2.so
: $(objpfx
)reldep6mod1.so
296 $(objpfx
)reldep6mod3.so
: $(objpfx
)reldep6mod2.so
297 $(objpfx
)reldep6mod4.so
: $(objpfx
)reldep6mod1.so
298 $(objpfx
)tst-tlsmod3.so
: $(objpfx
)tst-tlsmod2.so
300 # filtmod1.so has a special rule
301 $(filter-out $(objpfx
)filtmod1.so
, $(test-modules
)): $(objpfx
)%.so
: $(objpfx
)%.os
304 $(objpfx
)loadtest
: $(libdl
)
305 LDFLAGS-loadtest
= -rdynamic
307 $(objpfx
)loadtest.out
: $(test-modules
)
309 $(objpfx
)neededtest
: $(libdl
)
310 $(objpfx
)neededtest.out
: $(objpfx
)neededobj1.so
$(objpfx
)neededobj2.so \
311 $(objpfx
)neededobj3.so
313 $(objpfx
)neededtest2
: $(libdl
)
314 $(objpfx
)neededtest2.out
: $(objpfx
)neededobj1.so
$(objpfx
)neededobj2.so \
315 $(objpfx
)neededobj3.so
317 $(objpfx
)neededtest3
: $(libdl
)
318 $(objpfx
)neededtest3.out
: $(objpfx
)neededobj1.so
$(objpfx
)neededobj2.so \
319 $(objpfx
)neededobj3.so
$(objpfx
)neededobj4.so
321 neededtest4-ENV
= LC_ALL
=C LANGUAGE
=C
322 $(objpfx
)neededtest4
: $(libdl
) $(objpfx
)neededobj1.so
323 $(objpfx
)neededtest4.out
: $(objpfx
)neededobj5.so
$(objpfx
)neededobj6.so
325 $(objpfx
)restest1
: $(objpfx
)testobj1.so
$(objpfx
)testobj1_1.so
$(libdl
)
326 LDFLAGS-restest1
= -rdynamic
328 $(objpfx
)restest2
: $(libdl
)
329 LDFLAGS-restest2
= -rdynamic
331 $(objpfx
)restest1.out
: $(test-modules
)
333 preloadtest-preloads
= testobj1 testobj2 testobj3 testobj4 testobj5
334 $(objpfx
)preloadtest
: $(objpfx
)testobj6.so
335 LDFLAGS-preloadtest
= -rdynamic
336 $(objpfx
)preloadtest.out
: $(preloadtest-preloads
:%=$(objpfx
)%.so
)
338 LD_PRELOAD
=$(subst $(empty
) ,:,$(strip $(preloadtest-preloads
:=.so
)))
340 $(objpfx
)loadfail
: $(libdl
)
341 LDFLAGS-loadfail
= -rdynamic
343 $(objpfx
)loadfail.out
: $(objpfx
)failobj.so
345 $(objpfx
)multiload
: $(libdl
)
346 LDFLAGS-multiload
= -rdynamic
347 CFLAGS-multiload.c
= -DOBJDIR
=\"$(elf-objpfx
)\"
349 $(objpfx
)multiload.out
: $(objpfx
)testobj1.so
351 $(objpfx
)origtest
: $(libdl
)
352 LDFLAGS-origtest
= -rdynamic
353 $(objpfx
)origtest.out
: $(objpfx
)testobj1.so
355 ifeq ($(have-thread-library
),yes
)
356 $(objpfx
)resolvfail
: $(libdl
) $(shared-thread-library
)
358 $(objpfx
)resolvfail
: $(libdl
)
361 $(objpfx
)constload1
: $(libdl
)
362 $(objpfx
)constload1.out
: $(objpfx
)constload2.so
$(objpfx
)constload3.so
364 $(objpfx
)order
: $(addprefix $(objpfx
),dep4.so dep3.so dep2.so dep1.so
)
366 $(objpfx
)order.out
: $(objpfx
)order
367 $(elf-objpfx
)$(rtld-installed-name
) \
368 --library-path
$(rpath-link
)$(patsubst %,:%,$(sysdep-library-path
)) \
370 (echo
"0123456789" | cmp
$@
-) > /dev
/null
372 $(objpfx
)vismain
: $(addprefix $(objpfx
),vismod1.so vismod2.so
)
373 $(objpfx
)vismain.out
: $(addprefix $(objpfx
),vismod3.so
)
374 vismain-ENV
= LD_PRELOAD
=$(addprefix $(objpfx
),vismod3.so
)
376 $(objpfx
)noload
: $(objpfx
)testobj1.so
377 LDFLAGS-noload
= -rdynamic
378 $(objpfx
)noload.out
: $(objpfx
)testobj5.so
380 LDFLAGS-nodelete
= -rdynamic
381 LDFLAGS-nodelmod1.so
= -Wl
,--enable-new-dtags
,-z
,nodelete
382 LDFLAGS-nodelmod4.so
= -Wl
,--enable-new-dtags
,-z
,nodelete
383 $(objpfx
)nodelete
: $(libdl
)
384 $(objpfx
)nodelete.out
: $(objpfx
)nodelmod1.so
$(objpfx
)nodelmod2.so \
385 $(objpfx
)nodelmod3.so
387 LDFLAGS-nodlopenmod.so
= -Wl
,--enable-new-dtags
,-z
,nodlopen
388 $(objpfx
)nodlopen
: $(libdl
)
389 $(objpfx
)nodlopen.out
: $(objpfx
)nodlopenmod.so
391 $(objpfx
)nodlopenmod2.so
: $(objpfx
)nodlopenmod.so
392 $(objpfx
)nodlopen2
: $(libdl
)
393 $(objpfx
)nodlopen2.out
: $(objpfx
)nodlopenmod2.so
395 $(objpfx
)filtmod1.so
: $(objpfx
)filtmod1.os
$(objpfx
)filtmod2.so
396 $(LINK.o
) -shared
-o
$@
-B
$(csu-objpfx
) $(LDFLAGS.so
) \
397 -L
$(subst :, -L
,$(rpath-link
)) \
398 -Wl
,-rpath-link
=$(rpath-link
) \
399 $< -Wl
,-F
,$(objpfx
)filtmod2.so
400 $(objpfx
)filter: $(objpfx
)filtmod1.so
402 $(objpfx
)unload
: $(libdl
)
403 $(objpfx
)unload.out
: $(objpfx
)unloadmod.so
405 $(objpfx
)reldep
: $(libdl
)
406 $(objpfx
)reldep.out
: $(objpfx
)reldepmod1.so
$(objpfx
)reldepmod2.so
408 $(objpfx
)reldep2
: $(libdl
)
409 $(objpfx
)reldep2.out
: $(objpfx
)reldepmod1.so
$(objpfx
)reldepmod3.so
411 $(objpfx
)reldep3
: $(libdl
)
412 $(objpfx
)reldep3.out
: $(objpfx
)reldepmod1.so
$(objpfx
)reldepmod4.so
414 $(objpfx
)reldep4
: $(libdl
)
415 $(objpfx
)reldep4.out
: $(objpfx
)reldep4mod1.so
$(objpfx
)reldep4mod2.so
417 $(objpfx
)next
: $(objpfx
)nextmod1.so
$(objpfx
)nextmod2.so
$(libdl
)
419 $(objpfx
)unload2
: $(libdl
)
420 $(objpfx
)unload2.out
: $(objpfx
)unload2mod.so
$(objpfx
)unload2dep.so
422 $(objpfx
)lateglobal
: $(libdl
)
423 $(objpfx
)lateglobal.out
: $(objpfx
)ltglobmod1.so
$(objpfx
)ltglobmod2.so
425 $(objpfx
)tst-pathopt
: $(libdl
)
426 $(objpfx
)tst-pathopt.out
: tst-pathopt.sh
$(objpfx
)tst-pathopt \
427 $(objpfx
)pathoptobj.so
428 $(SHELL
) -e
$< $(common-objpfx
)
430 $(objpfx
)initfirst
: $(libdl
)
431 $(objpfx
)initfirst.out
: $(objpfx
)firstobj.so
433 $(objpfx
)global
: $(objpfx
)globalmod1.so
434 $(objpfx
)global.out
: $(objpfx
)reldepmod1.so
436 $(objpfx
)dblload
: $(libdl
)
437 $(objpfx
)dblload.out
: $(objpfx
)dblloadmod1.so
$(objpfx
)dblloadmod2.so
439 $(objpfx
)dblunload
: $(libdl
)
440 $(objpfx
)dblunload.out
: $(objpfx
)dblloadmod1.so
$(objpfx
)dblloadmod2.so
442 $(objpfx
)reldep5
: $(libdl
)
443 $(objpfx
)reldep5.out
: $(objpfx
)reldepmod5.so
$(objpfx
)reldepmod5.so
445 $(objpfx
)reldep6
: $(libdl
)
446 $(objpfx
)reldep6.out
: $(objpfx
)reldep6mod3.so
$(objpfx
)reldep6mod4.so
448 $(objpfx
)reldep7
: $(libdl
)
449 $(objpfx
)reldep7.out
: $(objpfx
)reldep7mod1.so
$(objpfx
)reldep7mod2.so
451 $(objpfx
)tst-tls3
: $(objpfx
)tst-tlsmod1.so
453 $(objpfx
)tst-tls4
: $(libdl
)
454 $(objpfx
)tst-tls4.out
: $(objpfx
)tst-tlsmod2.so
456 $(objpfx
)tst-tls5
: $(libdl
)
457 $(objpfx
)tst-tls5.out
: $(objpfx
)tst-tlsmod2.so
459 $(objpfx
)tst-tls6
: $(libdl
)
460 $(objpfx
)tst-tls6.out
: $(objpfx
)tst-tlsmod2.so
462 $(objpfx
)tst-tls7
: $(libdl
)
463 $(objpfx
)tst-tls7.out
: $(objpfx
)tst-tlsmod3.so
465 $(objpfx
)tst-tls8
: $(libdl
)
466 $(objpfx
)tst-tls8.out
: $(objpfx
)tst-tlsmod3.so
$(objpfx
)tst-tlsmod4.so