diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-04-30 09:57:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-05-06 07:49:40 -0700 |
commit | 5f245f3bfbe61b2182964dafb94907e38284b806 (patch) | |
tree | a659a989f529ef0cfa2430b051bece7406d1889b /csu/Makefile | |
parent | 23f0d81608d0ca6379894ef81670cf30af7fd081 (diff) | |
download | glibc-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 'csu/Makefile')
-rw-r--r-- | csu/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/csu/Makefile b/csu/Makefile index 946fd91031..777d6720a7 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -42,6 +42,7 @@ csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o) extra-objs = \ $(csu-dummies) \ $(start-installed-name) \ + $(start-name-2.0) \ S$(start-installed-name) \ g$(start-installed-name) \ start.o \ @@ -182,6 +183,9 @@ ifndef start-installed-name-rule $(objpfx)$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o \ $(objpfx)init.o $(objpfx)static-reloc.o $(link-relocatable) +$(objpfx)$(start-name-2.0): $(objpfx)start.o $(objpfx)abi-note.o \ + $(objpfx)static-reloc.o + $(link-relocatable) $(objpfx)r$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o \ $(objpfx)init.o $(link-relocatable) |