]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdio-common/Makefile
Prepare vfscanf to use __strtof128_internal
[thirdparty/glibc.git] / stdio-common / Makefile
index 738a3cead0014d05ccdc62992bb808c569e28aa6..8978b3fb1f479ab19f6df30874672761409737c8 100644 (file)
@@ -35,11 +35,13 @@ routines    :=                                                            \
        perror psignal                                                        \
        tmpfile tmpfile64 tmpnam tmpnam_r tempnam tempname                    \
        getline getw putw                                                     \
-       remove rename renameat                                                \
+       remove rename renameat renameat2                                      \
        flockfile ftrylockfile funlockfile                                    \
        isoc99_scanf isoc99_vscanf isoc99_fscanf isoc99_vfscanf isoc99_sscanf \
        isoc99_vsscanf                                                        \
-       psiginfo gentempfd
+       psiginfo gentempfd                                                    \
+       vfscanf-internal vfwscanf-internal iovfscanf iovfwscanf               \
+       vfprintf-internal vfwprintf-internal
 
 aux    := errlist siglist printf-parsemb printf-parsewc fxprintf
 
@@ -62,14 +64,16 @@ tests := tstscanf test_rdwr test-popen tstgetln test-fseek \
         tst-vfprintf-user-type \
         tst-vfprintf-mbs-prec \
         tst-scanf-round \
+        tst-renameat2 tst-bz11319 tst-bz11319-fortify2 \
 
-test-srcs = tst-unbputc tst-printf
+test-srcs = tst-unbputc tst-printf tst-printfsz-islongdouble
 
 ifeq ($(run-built-tests),yes)
 tests-special += $(objpfx)tst-unbputc.out $(objpfx)tst-printf.out \
                 $(objpfx)tst-printf-bz18872-mem.out \
                 $(objpfx)tst-setvbuf1-cmp.out \
-                $(objpfx)tst-vfprintf-width-prec-mem.out
+                $(objpfx)tst-vfprintf-width-prec-mem.out \
+                $(objpfx)tst-printfsz-islongdouble.out
 generated += tst-printf-bz18872.c tst-printf-bz18872.mtrace \
             tst-printf-bz18872-mem.out \
             tst-vfprintf-width-prec.mtrace tst-vfprintf-width-prec-mem.out
@@ -103,6 +107,11 @@ $(objpfx)tst-printf.out: tst-printf.sh $(objpfx)tst-printf
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' > $@; \
        $(evaluate-test)
 
+$(objpfx)tst-printfsz-islongdouble.out: \
+  tst-printfsz-islongdouble.sh $(objpfx)tst-printfsz-islongdouble
+       $(SHELL) $^ '$(test-program-prefix)' $@; \
+       $(evaluate-test)
+
 # We generate this source because it requires a printf invocation with
 # 10K arguments.
 $(objpfx)tst-printf-bz18872.c: tst-printf-bz18872.sh
@@ -155,6 +164,10 @@ CFLAGS-test_rdwr.c += -DOBJPFX=\"$(objpfx)\"
 # tst-gets.c tests a deprecated function.
 CFLAGS-tst-gets.c += -Wno-deprecated-declarations
 
+# BZ #11319 was first fixed for regular vdprintf, then reopened because
+# the fortified version had the same bug.
+CFLAGS-tst-bz11319-fortify2.c += -D_FORTIFY_SOURCE=2
+
 CPPFLAGS += $(libio-mtsafe)
 
 $(objpfx)tst-setvbuf1.out: /dev/null $(objpfx)tst-setvbuf1