]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Merge from mainline.
authorAndreas Jaeger <aj@suse.de>
Mon, 17 Jun 2002 09:21:32 +0000 (09:21 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 17 Jun 2002 09:21:32 +0000 (09:21 +0000)
linuxthreads/ChangeLog
linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile [new file with mode: 0644]

index 834509eb82fe5e63b9e57e4ce06022e89940cc05..c7634e7aba66f54187ae0ce97c33cc5da6747778 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-17  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/x86_64/Makefile: Merge from mainline.
+
 2002-05-20  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/alpha/pt-machine.c (THREAD_SELF): Remove clobber.
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile
new file mode 100644 (file)
index 0000000..b65099f
--- /dev/null
@@ -0,0 +1,10 @@
+ifeq ($(subdir),linuxthreads)
+CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions -fno-asynchronous-unwind-tables
+# gcc -m64 has /usr/lib64/crti.o hardcoded in the specs file, because otherwise
+# it would normally find 32bit crti.o.
+LDFLAGS-pthread.so += -specs=$(objpfx)specs
+before-compile += $(objpfx)specs
+generated += specs
+$(objpfx)specs:
+       $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs | sed 's_/usr/lib64/crti.o_crti.o_g' > $@
+endif