]> sourceware.org Git - glibc.git/commit
Add a test for main () in a shared object
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Oct 2017 22:40:37 +0000 (15:40 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Oct 2017 22:40:49 +0000 (15:40 -0700)
commit5dba84b3246961ea3032ce48ac72c1ac9364cf2b
treec96f72f435d5c899fdb668dafa1dceb139340b47
parent758f1bfa2a1bccb52f1b3e97444a367d35aceaee
Add a test for main () in a shared object

Verify that crt1.o can be used with main () in a shared object.

* elf/Makefile (tests): Add tst-main1.
(modules-names): Add tst-main1mod.
($(objpfx)tst-main1): New.
(CRT-tst-main1): Likewise.
(LDFLAGS-tst-main1): Likewise.
(LDLIBS-tst-main1): Likewise.
(tst-main1mod.so-no-z-defs): Likewise.
* elf/tst-main1.c: New file.
* elf/tst-main1mod.c: Likewise.
ChangeLog
elf/Makefile
elf/tst-main1.c [new file with mode: 0644]
elf/tst-main1mod.c [new file with mode: 0644]
This page took 0.039698 seconds and 5 git commands to generate.