about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-04-30 09:57:12 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-05-06 07:49:40 -0700
commit5f245f3bfbe61b2182964dafb94907e38284b806 (patch)
treea659a989f529ef0cfa2430b051bece7406d1889b /libio/Makefile
parent23f0d81608d0ca6379894ef81670cf30af7fd081 (diff)
downloadglibc-5f245f3bfbe61b2182964dafb94907e38284b806.tar.gz
glibc-5f245f3bfbe61b2182964dafb94907e38284b806.tar.xz
glibc-5f245f3bfbe61b2182964dafb94907e38284b806.zip
Add crt1-2.0.o for glibc 2.0 compatibility tests
Starting from glibc 2.1, crt1.o contains _IO_stdin_used which is checked
by _IO_check_libio to provide binary compatibility for glibc 2.0.  Add
crt1-2.0.o for tests against glibc 2.0.  Define tests-2.0 for glibc 2.0
compatibility tests.  Add and update glibc 2.0 compatibility tests for
stderr, matherr and pthread_kill.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index a4f4409b56..0c1f16ee3b 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -266,6 +266,12 @@ aux	:= fileops genops stdfiles stdio strops
 ifeq ($(build-shared),yes)
 generated += tst-bz24228.mtrace tst-bz24228.check
 aux	+= oldfileops oldstdfiles
+tests += \
+  tst-stderr-compat \
+# tests
+tests-2.0 += \
+  tst-stderr-compat \
+# tests-2.0
 endif
 
 shared-only-routines = oldiofopen oldiofdopen oldiofclose oldfileops	\