From: Ulrich Drepper Date: Thu, 16 Aug 2001 05:32:30 +0000 (+0000) Subject: Add rule to import kernel symbols. X-Git-Tag: glibc-2.16-ports-before-merge~1821 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85e36b09226c35613a758ebb57f3fed78dbc3f18;p=thirdparty%2Fglibc.git Add rule to import kernel symbols. --- diff --git a/sysdeps/unix/sysv/aix/Makefile b/sysdeps/unix/sysv/aix/Makefile index 19ec8854737..3fcf4bb3e98 100644 --- a/sysdeps/unix/sysv/aix/Makefile +++ b/sysdeps/unix/sysv/aix/Makefile @@ -2,6 +2,21 @@ # This is a hack until the import/export stuff is worked out. +postctor += /lib/syscalls.exp +ifeq ($(subdir),csu) + +sysdep_routines += aix-syscalls + +# +# The foo.c is a workaround for the linker complaining about no input files. +$(objpfx)aix-syscalls.o : /lib/syscalls.exp + echo "static int a;" > foo.c + $(CC) -c foo.c + ld -bM:SRE -bnoentry -bI:/lib/syscalls.exp -bE:/lib/syscalls.exp foo.o -o $@ + rm foo.c foo.o + + +endif + ifeq ($(subdir),misc) sysdep_routines += dl-error dl-support dl-libc dl-open dl-sym \ dl-close dl-addr uitrunc @@ -24,3 +39,4 @@ inhibit-glue = yes ifeq ($(subdir),timezone) CPPFLAGS-zic.c = -Dunix endif +