OSDN Git Service

uclinux-h8/uclibc-ng.git
17 years agofix ld.so.cache handling on no-mmu setups
Mike Frysinger [Tue, 17 Apr 2007 21:54:11 +0000 (21:54 -0000)]
fix ld.so.cache handling on no-mmu setups

17 years ago- shrink resolver code
Bernhard Reutner-Fischer [Tue, 17 Apr 2007 17:24:29 +0000 (17:24 -0000)]
- shrink resolver code

17 years agoforce ourselves to write proper code and develop testscases
Mike Frysinger [Tue, 17 Apr 2007 13:34:11 +0000 (13:34 -0000)]
force ourselves to write proper code and develop testscases

17 years agomove uclibc.org out of actual source tree
Mike Frysinger [Tue, 17 Apr 2007 13:11:21 +0000 (13:11 -0000)]
move uclibc.org out of actual source tree

17 years agodont force a . before EXTRAVERSION so we can be a little more flexible with versioning
Mike Frysinger [Tue, 17 Apr 2007 13:05:20 +0000 (13:05 -0000)]
dont force a . before EXTRAVERSION so we can be a little more flexible with versioning

17 years agocatch a small overflow in malloc-standard
Mike Frysinger [Tue, 17 Apr 2007 11:58:35 +0000 (11:58 -0000)]
catch a small overflow in malloc-standard

17 years agodisable for now
Mike Frysinger [Tue, 17 Apr 2007 11:45:20 +0000 (11:45 -0000)]
disable for now

17 years agoadd a basic .depend target to better catch updates in source files
Mike Frysinger [Tue, 17 Apr 2007 11:38:21 +0000 (11:38 -0000)]
add a basic .depend target to better catch updates in source files

17 years ago- doesn't make sense to impose a limit that is too narrow. 12 ought to be fine..
Bernhard Reutner-Fischer [Sat, 14 Apr 2007 17:34:47 +0000 (17:34 -0000)]
- doesn't make sense to impose a limit that is too narrow. 12 ought to be fine..

17 years ago- dtrt
Bernhard Reutner-Fischer [Sat, 14 Apr 2007 17:03:18 +0000 (17:03 -0000)]
- dtrt

17 years agofix up malloc debug building
Mike Frysinger [Fri, 13 Apr 2007 18:01:21 +0000 (18:01 -0000)]
fix up malloc debug building

17 years agoPatch by Ricard Wanderlof <ricardw at axis dot com>:
Peter Kjellerstedt [Fri, 13 Apr 2007 08:32:18 +0000 (08:32 -0000)]
Patch by Ricard Wanderlof <ricardw at axis dot com>:
* Add configurable buffer sizes for getpwnam() and getgrnam().
  The default buffer size is, as before, 256 (glibc seems to use
  1024 by default).

17 years agoremove __* symbols and enable llrintf()
Mike Frysinger [Thu, 12 Apr 2007 03:41:16 +0000 (03:41 -0000)]
remove __* symbols and enable llrintf()

17 years agotest case to make sure realloc() can shrink buffers properly
Mike Frysinger [Wed, 11 Apr 2007 22:53:54 +0000 (22:53 -0000)]
test case to make sure realloc() can shrink buffers properly

17 years agoPOSIX says you can use realloc() to shrink buffers ... make sure we dont trigger...
Mike Frysinger [Wed, 11 Apr 2007 22:52:20 +0000 (22:52 -0000)]
POSIX says you can use realloc() to shrink buffers ... make sure we dont trigger a buffer overflow in that case

17 years agoimport llrint() from glibc
Mike Frysinger [Tue, 3 Apr 2007 01:03:42 +0000 (01:03 -0000)]
import llrint() from glibc

17 years agoimplement carg
Mike Frysinger [Mon, 2 Apr 2007 20:52:18 +0000 (20:52 -0000)]
implement carg

17 years agofixes from Carmelo AMOROSO to depend less on kernel headers
Mike Frysinger [Mon, 2 Apr 2007 19:30:58 +0000 (19:30 -0000)]
fixes from Carmelo AMOROSO to depend less on kernel headers

17 years agoPOSIX requires that errno be set whenever 0 is returned by malloc()
Mike Frysinger [Mon, 2 Apr 2007 12:06:00 +0000 (12:06 -0000)]
POSIX requires that errno be set whenever 0 is returned by malloc()

17 years agoFix fallout from the e500 math integration.
Joakim Tjernlund [Mon, 2 Apr 2007 11:10:22 +0000 (11:10 -0000)]
Fix fallout from the e500 math integration.
from Steve Papacharalambous.

17 years agoBernd Schmidt writes:
Joakim Tjernlund [Sat, 31 Mar 2007 13:42:48 +0000 (13:42 -0000)]
Bernd Schmidt writes:
Currently a static libdl.a doesn't run all the constructors or
destructors of the libraries it loads.  I can't see a good reason for
that, and it does cause aborts in the destructors it does run for things
like libgcc.so on the Blackfin.

Fixed with the patch below - untested in mainline, but the equivalent
has been in our Blackfin tree for a while now.

17 years agoUpdate comment regarding passing dl_fini.
Joakim Tjernlund [Sat, 31 Mar 2007 13:36:07 +0000 (13:36 -0000)]
Update comment regarding passing dl_fini.

17 years agoFrom Steve Papacharalambous:
Joakim Tjernlund [Sat, 31 Mar 2007 13:28:15 +0000 (13:28 -0000)]
From Steve Papacharalambous:
Add math support for PowerPC e500.

17 years agoRevert last change until we figure out the correct fix.
Rob Landley [Thu, 29 Mar 2007 17:18:09 +0000 (17:18 -0000)]
Revert last change until we figure out the correct fix.

17 years agoMake the code match the comments. (I narrowed down the bug, Khem Raj
Rob Landley [Wed, 28 Mar 2007 22:50:26 +0000 (22:50 -0000)]
Make the code match the comments.  (I narrowed down the bug, Khem Raj
pointed out the solution.  This fixes a segfault for me on exit from a
statically linked "hello world".)

17 years agoWarning fix for uninitialized variable, by Al Stone.
Rob Landley [Wed, 28 Mar 2007 19:13:06 +0000 (19:13 -0000)]
Warning fix for uninitialized variable, by Al Stone.

17 years agoPaul Brook writes: filter .svn dirs to greatly speed up the file grep test
Mike Frysinger [Sun, 25 Mar 2007 13:08:31 +0000 (13:08 -0000)]
Paul Brook writes: filter .svn dirs to greatly speed up the file grep test

17 years ago- add arm1176 options
Bernhard Reutner-Fischer [Tue, 20 Mar 2007 14:19:37 +0000 (14:19 -0000)]
- add arm1176 options

17 years agoJoseph S. Myers writes:
Joakim Tjernlund [Mon, 19 Mar 2007 18:02:16 +0000 (18:02 -0000)]
Joseph S. Myers writes:
On PowerPC, r13 is used for a small data pointer and needs to be set up
from _SDA_BASE_ (defined by the linker) at startup.

This is needed for the GCC testcase gcc.target/powerpc/980827-1.c to work.
This patch fixes that testcase (verified for both static and dynamic
linking).

17 years agodont want to actually bump EXTRAVERSION
Mike Frysinger [Mon, 19 Mar 2007 09:59:50 +0000 (09:59 -0000)]
dont want to actually bump EXTRAVERSION

17 years ago#1273 if EXTRAVERSION is set, make sure we respect it
Mike Frysinger [Mon, 19 Mar 2007 09:49:04 +0000 (09:49 -0000)]
#1273 if EXTRAVERSION is set, make sure we respect it

17 years agoremove dead link as pointed out by Denis Vlasenko
Mike Frysinger [Sun, 18 Mar 2007 21:50:02 +0000 (21:50 -0000)]
remove dead link as pointed out by Denis Vlasenko

17 years agofix one more to use html entities rather than the ISO 8859 version
Mike Frysinger [Sun, 18 Mar 2007 21:42:48 +0000 (21:42 -0000)]
fix one more to use html entities rather than the ISO 8859 version

17 years agouse html entities rather than the ISO 8859 version
Mike Frysinger [Sun, 18 Mar 2007 21:41:49 +0000 (21:41 -0000)]
use html entities rather than the ISO 8859 version

17 years agoBernd Schmidt writes: The following patch is needed for libc to be able to emulate...
Mike Frysinger [Sun, 18 Mar 2007 21:37:44 +0000 (21:37 -0000)]
Bernd Schmidt writes: The following patch is needed for libc to be able to emulate poll with ppoll.

17 years agofix typo pointed out by Al Stone
Mike Frysinger [Sun, 18 Mar 2007 21:33:32 +0000 (21:33 -0000)]
fix typo pointed out by Al Stone

17 years agoHave Makefile.in call conf-header.sh instead of having kconfig call it
Rob Landley [Sat, 17 Mar 2007 02:45:59 +0000 (02:45 -0000)]
Have Makefile.in call conf-header.sh instead of having kconfig call it
via system().  Also move it to extra/scripts since it's a uClibc
build script, not part of upstream kconfig.  Adjust the "grabbing a new
kconfig snapshot" procedure accordingly.

17 years agoNo configs actually set LIBGCC_CFLAGS to anything, and it's not even
Rob Landley [Fri, 16 Mar 2007 19:38:14 +0000 (19:38 -0000)]
No configs actually set LIBGCC_CFLAGS to anything, and it's not even
written into the resulting .config, so remove it.

17 years agomore ifdef tweaks from holin (#1247) for retarded hosts (like OS X)
Mike Frysinger [Wed, 14 Mar 2007 03:45:56 +0000 (03:45 -0000)]
more ifdef tweaks from holin (#1247) for retarded hosts (like OS X)

17 years agodont include asm/user.h
Mike Frysinger [Wed, 14 Mar 2007 03:10:29 +0000 (03:10 -0000)]
dont include asm/user.h

17 years agoBe consistent about spelling. LGPL says "License" not "Licence", so go
Rob Landley [Tue, 13 Mar 2007 18:34:52 +0000 (18:34 -0000)]
Be consistent about spelling.  LGPL says "License" not "Licence", so go
with that.  (Spotted by Xride on irc.)

17 years agoCarmelo Amoroso writes:
Joakim Tjernlund [Tue, 13 Mar 2007 11:02:33 +0000 (11:02 -0000)]
Carmelo Amoroso writes:
I experiencied some problems while trying to debug the ld.so (sh4)
in debug mode. I found that the _start code was not placed into any
PT_LOAD segment causing a SIGSEV.
I solved this issue explicitely placing the _start code into
the .text section (see attached patch).

17 years agoCarmelo Amoroso writes:
Joakim Tjernlund [Tue, 13 Mar 2007 10:13:35 +0000 (10:13 -0000)]
Carmelo Amoroso writes:
Hi All,
the attached patch completes my previous patch on statically linked
application calling dlopen enabling the support for LD_DEBUG.
Further it fixes the missing initialization of the _dl_library_path
variable.
This patch has been fully tested with the uClibc-nptl branch (sh4).

17 years agoUsing local variable 'result' caused problems with lseek64 syscall failing with gcc...
Khem Raj [Tue, 13 Mar 2007 00:02:10 +0000 (00:02 -0000)]
Using local variable 'result' caused problems with lseek64 syscall failing with gcc 4.2. Renaming to make it a bit uncommon name.

17 years agomake sure undefine references in dlopen()-ed libs are handled graciously
Mike Frysinger [Mon, 12 Mar 2007 19:44:58 +0000 (19:44 -0000)]
make sure undefine references in dlopen()-ed libs are handled graciously

17 years agomake sure dlsym() properly returns NULL with undefined symbols
Mike Frysinger [Mon, 12 Mar 2007 19:22:52 +0000 (19:22 -0000)]
make sure dlsym() properly returns NULL with undefined symbols

17 years agofix from upstream blackfin repo for sigsetjmp
Mike Frysinger [Mon, 12 Mar 2007 18:48:13 +0000 (18:48 -0000)]
fix from upstream blackfin repo for sigsetjmp

17 years agoPatch from Al Stone to fix ia64:
Rob Landley [Sun, 11 Mar 2007 23:06:39 +0000 (23:06 -0000)]
Patch from Al Stone to fix ia64:

The attached patch works around some compilation failures on
ia64 caused by the use of the C preprocessor ## operator, and
allows the ia64 default configuration to build again -- or, at
least get as far as an x86 build does (the current source tree
has some problems compiling because of conflicting type
declarations for __kernel_dev_t).

17 years agoSync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints.
Khem Raj [Thu, 8 Mar 2007 18:11:34 +0000 (18:11 -0000)]
Sync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints.

17 years agoPatch from Khem Raj that fixes running gcc on arm for me. (Otherwise it
Rob Landley [Thu, 8 Mar 2007 18:00:42 +0000 (18:00 -0000)]
Patch from Khem Raj that fixes running gcc on arm for me.  (Otherwise it
says "virtual memory exhausted" trying to build hello world.)

17 years agoNow Test.mak includes toplevel Rules.mak so if DO_ASSERT is not set then -DNDEBUG...
Khem Raj [Thu, 8 Mar 2007 08:55:52 +0000 (08:55 -0000)]
Now Test.mak includes toplevel Rules.mak so if DO_ASSERT is not set then -DNDEBUG is added
to CFLAGS so we need to get the seeko() calls out of the assert otherwise they get
cancelled when NDEBUG is defined.

17 years agosvn 17941/17943 broke the build. 18032 made the threaded case compile
Rob Landley [Thu, 8 Mar 2007 01:26:49 +0000 (01:26 -0000)]
svn 17941/17943 broke the build.  18032 made the threaded case compile
again, this makes the non-threaded case compile again.  I have no idea
if this is the proper fix, I'm just tired if it not compiling for two
weeks.

17 years agoFix a build break due to errno and h_errno being unresolved symbols.
Rob Landley [Wed, 7 Mar 2007 23:39:28 +0000 (23:39 -0000)]
Fix a build break due to errno and h_errno being unresolved symbols.
(No idea if this is the right fix but it's something for now.)

17 years agoSync sh's procfs.h with glibc, fixes gdbserver.
Paul Mundt [Wed, 7 Mar 2007 09:47:39 +0000 (09:47 -0000)]
Sync sh's procfs.h with glibc, fixes gdbserver.
Patch from Carmelo Amoroso <carmelo73@gmail.com>.

17 years agoFix PLTJMP() token pasting build error, patch from
Paul Mundt [Wed, 7 Mar 2007 09:46:22 +0000 (09:46 -0000)]
Fix PLTJMP() token pasting build error, patch from
Carmelo Amoroso <carmelo73@gmail.com>.

17 years agoI always miss svn add.
Khem Raj [Tue, 6 Mar 2007 19:13:31 +0000 (19:13 -0000)]
I always miss svn add.

17 years agoRemove debian directory at the request of Simon Richter. (The debian
Rob Landley [Tue, 6 Mar 2007 18:37:15 +0000 (18:37 -0000)]
Remove debian directory at the request of Simon Richter.  (The debian
developers prefer to maintain their own debian subdir as a patch.)

17 years agoAdd posix_fadvise posix_fadvise64 for arm.
Khem Raj [Tue, 6 Mar 2007 08:06:26 +0000 (08:06 -0000)]
Add posix_fadvise posix_fadvise64 for arm.
Import INTERNAL_SYSCALL macro for i386 from glibc.
Use above macro in posix_fadvise implementation if an arch defines it.

17 years agoNew test targets 'compile' and 'run'
Khem Raj [Mon, 5 Mar 2007 20:49:57 +0000 (20:49 -0000)]
New test targets 'compile' and 'run'

17 years agoinclude stddef.h to get NULL definition.
Khem Raj [Thu, 1 Mar 2007 22:26:51 +0000 (22:26 -0000)]
include stddef.h to get NULL definition.

17 years agoFix compiler warning about shadowed declaration.
Khem Raj [Thu, 1 Mar 2007 22:02:09 +0000 (22:02 -0000)]
Fix compiler warning about shadowed declaration.

17 years agoShould be __sigset_t instead of sigset_t.
Khem Raj [Thu, 1 Mar 2007 21:59:59 +0000 (21:59 -0000)]
Should be __sigset_t instead of sigset_t.

17 years agoadd support for ppoll() and emulate poll() with it when __NR_poll does not exist
Mike Frysinger [Wed, 28 Feb 2007 22:25:41 +0000 (22:25 -0000)]
add support for ppoll() and emulate poll() with it when __NR_poll does not exist

17 years agomention the uClibc 0.9.28.3 release
Eric Andersen [Wed, 28 Feb 2007 21:36:09 +0000 (21:36 -0000)]
mention the uClibc 0.9.28.3 release

17 years agoAdd a hack for compiling a 32 bit user space with a 64 bit kernel on x86_64
Eric Andersen [Wed, 28 Feb 2007 21:20:00 +0000 (21:20 -0000)]
Add a hack for compiling a 32 bit user space with a 64 bit kernel on x86_64

17 years agoifdef out RTLD defines we dont actually support nor are in POSIX
Mike Frysinger [Wed, 28 Feb 2007 17:10:27 +0000 (17:10 -0000)]
ifdef out RTLD defines we dont actually support nor are in POSIX

17 years agosync with glibc
Mike Frysinger [Wed, 28 Feb 2007 17:04:42 +0000 (17:04 -0000)]
sync with glibc

17 years agoneed to double check internal errno handling wrt libpthread
Mike Frysinger [Thu, 22 Feb 2007 17:23:56 +0000 (17:23 -0000)]
need to double check internal errno handling wrt libpthread

17 years agofix the date
Eric Andersen [Wed, 21 Feb 2007 23:46:45 +0000 (23:46 -0000)]
fix the date

17 years agonote the release of uClibc 0.9.28.2
Eric Andersen [Wed, 21 Feb 2007 23:45:54 +0000 (23:45 -0000)]
note the release of uClibc 0.9.28.2

17 years agoadd missing file for previous commit as pointed out by Peter Kjellerstedt
Mike Frysinger [Wed, 21 Feb 2007 16:14:11 +0000 (16:14 -0000)]
add missing file for previous commit as pointed out by Peter Kjellerstedt

17 years agotouchup new kconfig handling so we dont constantly rebuild
Mike Frysinger [Wed, 21 Feb 2007 08:27:01 +0000 (08:27 -0000)]
touchup new kconfig handling so we dont constantly rebuild

17 years agoredo errno handling so that it should work both in thread and non-threaded situations
Mike Frysinger [Wed, 21 Feb 2007 08:16:28 +0000 (08:16 -0000)]
redo errno handling so that it should work both in thread and non-threaded situations

17 years agomake sure we have rtld_hidden_def(_dl_debug_state)
Mike Frysinger [Wed, 21 Feb 2007 07:58:16 +0000 (07:58 -0000)]
make sure we have rtld_hidden_def(_dl_debug_state)

17 years agostub out msync() for no-mmu as well
Mike Frysinger [Wed, 21 Feb 2007 06:27:56 +0000 (06:27 -0000)]
stub out msync() for no-mmu as well

17 years agodrop -Wl,-warn-common since it doesnt serve much purpose
Mike Frysinger [Wed, 21 Feb 2007 05:14:42 +0000 (05:14 -0000)]
drop -Wl,-warn-common since it doesnt serve much purpose

17 years agomake sure cleanup handler is only called once
Mike Frysinger [Tue, 20 Feb 2007 16:21:29 +0000 (16:21 -0000)]
make sure cleanup handler is only called once

17 years agocall kernel helper to do spinlocks
Mike Frysinger [Tue, 20 Feb 2007 15:25:12 +0000 (15:25 -0000)]
call kernel helper to do spinlocks

17 years agosimple script for counting relocs
Mike Frysinger [Sun, 18 Feb 2007 15:47:56 +0000 (15:47 -0000)]
simple script for counting relocs

17 years agodefault to pulling kernel headers from the system install
Mike Frysinger [Sun, 18 Feb 2007 14:17:20 +0000 (14:17 -0000)]
default to pulling kernel headers from the system install

17 years agorewrite all superh targets to just sh
Mike Frysinger [Sun, 18 Feb 2007 13:58:24 +0000 (13:58 -0000)]
rewrite all superh targets to just sh

17 years agorewrite all sparc targets to just sparc
Mike Frysinger [Sun, 18 Feb 2007 13:57:29 +0000 (13:57 -0000)]
rewrite all sparc targets to just sparc

17 years agorewrite parisc to hppa
Mike Frysinger [Sun, 18 Feb 2007 13:56:24 +0000 (13:56 -0000)]
rewrite parisc to hppa

17 years agoMake _dl_malloc alignment arch configurable.
Joakim Tjernlund [Sat, 17 Feb 2007 17:55:45 +0000 (17:55 -0000)]
Make _dl_malloc alignment arch configurable.
From Atsushi Nemoto.

17 years agomake sure static variables are re-initialized everytime
Mike Frysinger [Fri, 16 Feb 2007 21:35:21 +0000 (21:35 -0000)]
make sure static variables are re-initialized everytime

17 years agocleanup a little
Mike Frysinger [Fri, 16 Feb 2007 21:34:34 +0000 (21:34 -0000)]
cleanup a little

17 years agoFix dlopen for static apps.
Joakim Tjernlund [Fri, 16 Feb 2007 18:02:50 +0000 (18:02 -0000)]
Fix dlopen for static apps.
From Carmelo Amoroso.

17 years agoAtsushi Nemoto writes:
Mike Frysinger [Thu, 15 Feb 2007 14:11:59 +0000 (14:11 -0000)]
Atsushi Nemoto writes:
When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole
macros for each ABI.  Actually, except for argument type (long
vs. long long), internal_syscall[0-4] are identical for all ABI, and
internal_syscall[5-6] for N32/N64 are identical for N32/N64.

And I just disabled FORCE_FRAME_POINTER since it had caused build
failure, but including <alloca.h> can solve it.

Here is a patch to handle these issues, plus asm/__asm__ and
volatile/__volatile__ conversion.

Thanks for Peter S. Mazinger who did basic work of this cleanup.

17 years ago- kbuild update broke uClibc's configuration. It complains about
Bernhard Reutner-Fischer [Thu, 15 Feb 2007 09:59:59 +0000 (09:59 -0000)]
- kbuild update broke uClibc's configuration. It complains about
  include/bits/uClibc_config.h since there is no include/bits (yet). Depend on it.

17 years agoRevert previous commit as it is unclear if it is needed.
Joakim Tjernlund [Wed, 14 Feb 2007 19:53:54 +0000 (19:53 -0000)]
Revert previous commit as it is unclear if it is needed.

17 years agoHopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]
Joakim Tjernlund [Wed, 14 Feb 2007 14:12:29 +0000 (14:12 -0000)]
Hopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]
test by adding quotes. From Steve Papacharalambous.

17 years agomake arch default to hostarch
Mike Frysinger [Wed, 14 Feb 2007 08:25:26 +0000 (08:25 -0000)]
make arch default to hostarch

17 years agopull latest kconfig from kernel
Mike Frysinger [Wed, 14 Feb 2007 08:21:06 +0000 (08:21 -0000)]
pull latest kconfig from kernel

17 years agomake sure we declare TARGET_ARCH as a string
Mike Frysinger [Wed, 14 Feb 2007 06:52:55 +0000 (06:52 -0000)]
make sure we declare TARGET_ARCH as a string

17 years agoadd silentoldconfig target
Mike Frysinger [Tue, 13 Feb 2007 20:11:42 +0000 (20:11 -0000)]
add silentoldconfig target

17 years agocleanup style
Mike Frysinger [Tue, 13 Feb 2007 20:05:22 +0000 (20:05 -0000)]
cleanup style

17 years agoAdd missing bits/fenv.h that got lost in the e500 port.
Joakim Tjernlund [Tue, 13 Feb 2007 15:01:38 +0000 (15:01 -0000)]
Add missing bits/fenv.h that got lost in the e500 port.
clean up E500 math support somewhat.
From Steve Papacharalambous with mods by me.

17 years agoDo not produce spurious "/bin/sh: [: too many arguments" if
Peter Kjellerstedt [Tue, 13 Feb 2007 09:47:44 +0000 (09:47 -0000)]
Do not produce spurious "/bin/sh: [: too many arguments" if
$(HEADERS_BITS_SUBARCH) is empty (which it most likely is).

17 years agouse /*...*/ comments rather than #... so we can preprocess
Mike Frysinger [Tue, 13 Feb 2007 00:54:35 +0000 (00:54 -0000)]
use /*...*/ comments rather than #... so we can preprocess

17 years agoImpl. linux syscalls sched_getaffinity/sched_setaffinity but
Joakim Tjernlund [Mon, 12 Feb 2007 22:52:32 +0000 (22:52 -0000)]
Impl. linux syscalls sched_getaffinity/sched_setaffinity but
protect its use by #ifdef INTERNAL_SYSCALL since not all
arch's has INTERNAL_SYSCALL.

All arch's not having INTERNAL_SYSCALL in
libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update
from glibc.