mirror of git://sourceware.org/git/glibc.git
Support cross-testing for elf/tst-array*.
This commit is contained in:
parent
09dec6c37e
commit
df61ffb2ac
11
ChangeLog
11
ChangeLog
|
|
@ -1,3 +1,14 @@
|
||||||
|
2012-10-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
|
||||||
|
input. Use $(build-program-cmd).
|
||||||
|
($(objpfx)tst-array1-static.out): Likewise.
|
||||||
|
($(objpfx)tst-array2.out): Likewise.
|
||||||
|
($(objpfx)tst-array3.out): Likewise.
|
||||||
|
($(objpfx)tst-array4.out): Likewise.
|
||||||
|
($(objpfx)tst-array5.out): Likewise.
|
||||||
|
($(objpfx)tst-array5-static.out): Likewise.
|
||||||
|
|
||||||
2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
|
2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
* elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
|
* elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
|
||||||
|
|
|
||||||
40
elf/Makefile
40
elf/Makefile
|
|
@ -846,45 +846,37 @@ LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack
|
||||||
LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
|
LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(objpfx)tst-array1.out: $(objpfx)tst-array1
|
$(objpfx)tst-array1.out: tst-array1.exp $(objpfx)tst-array1
|
||||||
$(elf-objpfx)$(rtld-installed-name) \
|
$(built-program-cmd) > $@
|
||||||
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
|
|
||||||
$(objpfx)tst-array1 > $@
|
|
||||||
cmp $@ tst-array1.exp > /dev/null
|
cmp $@ tst-array1.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array1-static.out: $(objpfx)tst-array1-static
|
$(objpfx)tst-array1-static.out: tst-array1.exp $(objpfx)tst-array1-static
|
||||||
$(objpfx)tst-array1-static > $@
|
$(built-program-cmd) > $@
|
||||||
cmp $@ tst-array1.exp > /dev/null
|
cmp $@ tst-array1.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array2: $(objpfx)tst-array2dep.so
|
$(objpfx)tst-array2: $(objpfx)tst-array2dep.so
|
||||||
$(objpfx)tst-array2.out: $(objpfx)tst-array2
|
$(objpfx)tst-array2.out: tst-array2.exp $(objpfx)tst-array2
|
||||||
$(elf-objpfx)$(rtld-installed-name) \
|
$(built-program-cmd) > $@
|
||||||
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
|
|
||||||
$(objpfx)tst-array2 > $@
|
|
||||||
cmp $@ tst-array2.exp > /dev/null
|
cmp $@ tst-array2.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array3.out: $(objpfx)tst-array3
|
$(objpfx)tst-array3.out: tst-array1.exp $(objpfx)tst-array3
|
||||||
$(elf-objpfx)$(rtld-installed-name) \
|
$(built-program-cmd) > $@
|
||||||
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
|
|
||||||
$(objpfx)tst-array3 > $@
|
|
||||||
cmp $@ tst-array1.exp > /dev/null
|
cmp $@ tst-array1.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array4: $(libdl)
|
$(objpfx)tst-array4: $(libdl)
|
||||||
$(objpfx)tst-array4.out: $(objpfx)tst-array4 $(objpfx)tst-array2dep.so
|
$(objpfx)tst-array4.out: tst-array4.exp $(objpfx)tst-array4 \
|
||||||
$(elf-objpfx)$(rtld-installed-name) \
|
$(objpfx)tst-array2dep.so
|
||||||
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
|
$(built-program-cmd) > $@
|
||||||
$< > $@
|
|
||||||
cmp $@ tst-array4.exp > /dev/null
|
cmp $@ tst-array4.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array5: $(objpfx)tst-array5dep.so
|
$(objpfx)tst-array5: $(objpfx)tst-array5dep.so
|
||||||
$(objpfx)tst-array5.out: $(objpfx)tst-array5
|
$(objpfx)tst-array5.out: tst-array5.exp $(objpfx)tst-array5
|
||||||
$(elf-objpfx)$(rtld-installed-name) \
|
$(built-program-cmd) > $@
|
||||||
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
|
|
||||||
$(objpfx)tst-array5 > $@
|
|
||||||
cmp $@ tst-array5.exp > /dev/null
|
cmp $@ tst-array5.exp > /dev/null
|
||||||
|
|
||||||
$(objpfx)tst-array5-static.out: $(objpfx)tst-array5-static
|
$(objpfx)tst-array5-static.out: tst-array5-static.exp \
|
||||||
$(objpfx)tst-array5-static > $@
|
$(objpfx)tst-array5-static
|
||||||
|
$(built-program-cmd) > $@
|
||||||
cmp $@ tst-array5-static.exp > /dev/null
|
cmp $@ tst-array5-static.exp > /dev/null
|
||||||
|
|
||||||
CFLAGS-tst-pie1.c += $(pie-ccflag)
|
CFLAGS-tst-pie1.c += $(pie-ccflag)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue