OSDN Git Service
Mike Frysinger [Thu, 9 Jul 2009 19:09:29 +0000 (15:09 -0400)]
syscall: unify part 2: NCS variety
Declare common NCS (non-constant syscall) variants and convert the existing
ports over to this.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 9 Jul 2009 18:27:59 +0000 (14:27 -0400)]
MAKEALL: expand cross-compiler arch search
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Peter Griffin [Wed, 29 Apr 2009 11:02:47 +0000 (12:02 +0100)]
sh: Change __HAVE_SHARED__ to __PIC__
Generate PIC relocations when __PIC__ is defined rather than
__HAVE_SHARED__ (like other architectures).
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Mike Frysinger [Thu, 9 Jul 2009 01:32:45 +0000 (21:32 -0400)]
ignore generated .i files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 5 Jul 2009 22:30:04 +0000 (18:30 -0400)]
drop missing {INLINE,INTERNAL}_SYSCALL fallback logic
Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft
keeping them alive since it no longer works with the unification.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 3 Jul 2009 20:44:59 +0000 (16:44 -0400)]
syscall: unify common syscall defines
Unify all the common syscall defines in syscalls-common.h and scrub all
the duplicated code from relevant ports. This should also make converting
existing ports to INLINE_SYSCALL() much easier as they don't have to get
lost in all the unrelated noise, as well as creating new ports.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Austin Foxley [Mon, 6 Jul 2009 17:12:11 +0000 (10:12 -0700)]
sparc: Update syscalls.h to define INTERNAL_SYSCALL
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Mike Frysinger [Sun, 5 Jul 2009 22:29:46 +0000 (18:29 -0400)]
MAKEALL: start a quick build test helper script
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:28 +0000 (04:44 +0930)]
Avoid type-punned pointers that break strict-aliasing
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:27 +0000 (04:44 +0930)]
Avoid warnings about shifting more bits than we have
The test here is a constant expression and will compile out.
For platforms that don't need the shift the code gets slightly smaller
and simpler, for those that do the result is unchanged.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:26 +0000 (04:44 +0930)]
Don't shadow the chroot global
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:25 +0000 (04:44 +0930)]
Don't shadow the mask parameter with a local variable in the same function
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:24 +0000 (04:44 +0930)]
Don't shadow stat with a local variable
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:23 +0000 (04:44 +0930)]
Don't shadow the err() function with a local var
gcc-4.4 barks about that.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:22 +0000 (04:44 +0930)]
Add a few missing includes
elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX.
shm.c complains about no prototypes for shm_{open,unlink} without its header.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:21 +0000 (04:44 +0930)]
Check #if feature test macros are defined where they may not be
Once again all of these reduce the noise from gcc-4.4.
Replaces a few more (USE_TLS && HAVE___THREAD) with USE___THREAD while we need
to mess with them for this anyhow.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:20 +0000 (04:44 +0930)]
Provide token prototypes for functions that are external but have no header
This cuts down on a lot of noise from gcc-4.4
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:19 +0000 (04:44 +0930)]
Make more utility functions static
This keeps gcc-4.4 from nagging that they have no prototypes.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:18 +0000 (04:44 +0930)]
Add noreturn attributes to some functions that won't ever do so
usage() is also made static in answer to warnings about no prototype.
In __pthread_manager_event() we also have to drop the return statement,
else gcc will in turn complain about a non-returning function having one.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:17 +0000 (04:44 +0930)]
Move extern prototype out of function scope
gcc-4.4 now barks about this, so appease it.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ron [Fri, 26 Jun 2009 19:14:16 +0000 (04:44 +0930)]
Add some missing printf/scanf format attributes
The gcc-4.4 documentation still suggests that the compiler will automatically
do format checking for the standard format function prototypes, but it is now
also barking warnings suggesting that we add them for this lot too. So added.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 5 Jul 2009 20:50:27 +0000 (16:50 -0400)]
use -isystem with gcc paths
Use -isystem to include gcc header paths rather than -I as these are system
paths, not uClibc specific paths.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ingo van Lil [Thu, 4 Jun 2009 12:33:34 +0000 (14:33 +0200)]
i386: store errno value before using __set_errno()
The __syscall_error() function stores the errno value in the edx register
before invoking the __set_errno() macro. When using the pthread library
this macro calls thread_self() to determine the errno location, which might
clobber the edx register. The errno value must be stored in a "real"
variable so the compiler can take care of saving/restoring it if necessary.
Signed-off-by: Ingo van Lil <inguin@gmx.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 3 Jul 2009 19:16:00 +0000 (15:16 -0400)]
ignore generated unifdef
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 3 Jul 2009 04:43:23 +0000 (00:43 -0400)]
uClibc_arch_features: sync defines between ports
Make sure each arch has the same complete list to make comparing between
them easier.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 3 Jul 2009 04:28:18 +0000 (00:28 -0400)]
Merge branch 'master' of git://uclibc.org/uClibc
Bernhard Reutner-Fischer [Thu, 2 Jul 2009 22:20:19 +0000 (00:20 +0200)]
add testcases for shm_{open,unlink}
Reported-by: Mikael Lund Jepsen <mlj@iccc.dk>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Carmelo Amoroso [Thu, 2 Jul 2009 09:02:13 +0000 (11:02 +0200)]
sh: add cacheflush syscall wrapper
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Joseph Myers [Wed, 1 Jul 2009 14:37:15 +0000 (14:37 +0000)]
Correct ARM memcpy comments.
The comments on register usage in ARM memcpy had dest and src the
wrong way round; this patch (originally from Mark Shinwell) corrects
this and adds a note on the return value.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Tue, 30 Jun 2009 21:20:26 +0000 (21:20 +0000)]
Fix Thumb-2 setjmp.
Many Thumb-2 instructions cannot use sp or pc as operands, and the
assembler now diagnoses these. setjmp had one such instruction, movs;
this patch changes it to mov.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Tue, 30 Jun 2009 21:16:56 +0000 (21:16 +0000)]
Fix Thumb-2 memcpy.
When an IT block was changed from having two instructions to having
one, the IT instruction at the start of the block was not updated,
causing memcpy to fail to assemble for Thumb-2; this patch makes the
obvious fix.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Sun, 28 Jun 2009 23:48:09 +0000 (23:48 +0000)]
Add missing CLIBABI variables __aeabi_stdin, __aeabi_stdout, __aeabi_stderr.
The ARM EABI has a document CLIBABI specifying various __aeabi_*
functions and variables to be provided for the use of portable objects
that can be linked with different EABI-conforming C libraries.
__aeabi_stdin, __aeabi_stdout and __aeabi_stderr were missing in
uClibc; this patch (originally from Nathan Froyd and for glibc) adds
them.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Mike Frysinger [Sun, 28 Jun 2009 18:43:01 +0000 (14:43 -0400)]
locale: gen_wc8bit: try to find UTF8 locale automatically
Rather than require everyone to have en_US.UTF-8 when we really need any
UTF8 locale, do a scan for possible UTF8 locales if the default en_US does
not exist. Hopefully this should make the utility "just work" for most
people.
Reported-by: Daniel Cordero <theappleman@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 28 Jun 2009 17:56:00 +0000 (13:56 -0400)]
stop installing/screwing with linux-headers
It is not uClibc's business to make sure the user's toolchain is sane and
has proper kernel headers configured/installed. If they don't, then they
need to fix their toolchain, we don't need to try and magically do it for
them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 28 Jun 2009 17:53:21 +0000 (13:53 -0400)]
add gitignore for utils
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
André Goddard Rosa [Tue, 2 Jun 2009 12:36:28 +0000 (09:36 -0300)]
wchar: fix inverted parameters in error message
The error message should output "fromcode -> tocode" rather than
"tocode -> fromcode". Seems to be a typo due to the order of the func
called:
iconv_t iconv_open(const char *tocode, const char *fromcode);
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Steve Bennett [Sun, 28 Jun 2009 17:16:42 +0000 (13:16 -0400)]
libc.so: include all output formats in linker script
Rather than ripping out the default output format from the linker, include
the big/little endian alternatives for the people who link with bi-endian
toolchains.
URL: http://lists.uclibc.org/pipermail/uclibc/2009-June/042595.html
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 28 Jun 2009 17:00:02 +0000 (13:00 -0400)]
utils: punt readelf
This miniature version of readelf has never been terribly useful and has
caused significantly more headaches in its maintenance, so punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Tue, 2 Jun 2009 15:58:58 +0000 (17:58 +0200)]
include errno.h unconditionally
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 2 Jun 2009 14:53:24 +0000 (16:53 +0200)]
add stub for shm_open() and shm_unlink
Untested and needs testsuite exercise added
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Tue, 2 Jun 2009 00:27:45 +0000 (20:27 -0400)]
Blackfin: make sure all relocs are uppercase
This is to match changes in the toolchain.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Wed, 27 May 2009 23:32:18 +0000 (19:32 -0400)]
waitid: linux ABI takes 5 args, not 4
The POSIX waitid() takes 4 args, but the Linux one takes 5 args, so make
sure we stuff the 5th arg with a NULL. Otherwise garbage gets randomly
passed up and considering this is a pointer, that's baaaad.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Wed, 27 May 2009 21:00:25 +0000 (23:00 +0200)]
tweak .gitignore
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Austin Foxley [Tue, 26 May 2009 22:35:16 +0000 (15:35 -0700)]
Add working pipe implementation for sparc
Also get rid of warning in sparc sigaction
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 21 May 2009 20:53:53 +0000 (13:53 -0700)]
fix compilation of linuxthreads for sparc64
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 21 May 2009 01:05:24 +0000 (18:05 -0700)]
Add a sigaction implementation for sparc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Carmelo Amoroso [Tue, 5 May 2009 17:15:27 +0000 (19:15 +0200)]
Merge branch 'master' of git+ssh://carmelo@git.uclibc.org/git/uClibc
Carmelo Amoroso [Tue, 5 May 2009 17:07:03 +0000 (19:07 +0200)]
Add position independent code for crt1.S.
This will generate a Scrt1.o that is linked to executabled
when compiled as PIE code (position independent executable) without
requiring relocation in .text section (not allowed on uclibc/sh4).
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Austin Foxley [Tue, 5 May 2009 14:59:19 +0000 (07:59 -0700)]
Add .gitignore
ignore most of the build output
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Peter Griffin [Wed, 29 Apr 2009 10:04:00 +0000 (11:04 +0100)]
sh: Fix FPU config option
Change to UCLIBC_HAS_FPU because UCLIBC_HAS_FLOATS can be used with
UCLIBC_HAS_SOFT_FLOAT option.
austinf [Mon, 27 Apr 2009 22:47:49 +0000 (22:47 -0000)]
patch from Joseph S. Meyers
This patch merges
2006-06-23 Paul Eggert <eggert@cs.ucla.edu>
[BZ #2841]
* sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U',
since C99 requires the result to promote to 'int' when uint_least8_t
and uint_least16_t promote to 'int'.
from glibc to fix a bug in uClibc's stdint.h
(GCC's testsuite will now detect this problem, along with various others
some systems have in their stdint.h headers.)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Denis Vlasenko [Thu, 23 Apr 2009 11:19:30 +0000 (11:19 -0000)]
libc/string/i386/memset.c: memset 1 byte at a time is a bit gross
Denis Vlasenko [Sun, 19 Apr 2009 00:51:04 +0000 (00:51 -0000)]
Reinstate {drm,mtd,rdma,sound,video} directory installtion
pending some explanation from gurus. Expanded comment explaining
_why_ we try to install these exact directories.
Denis Vlasenko [Sat, 18 Apr 2009 23:45:13 +0000 (23:45 -0000)]
install_kernel_headers: comment out copying of extra directories,
this seem to be not needed
Denis Vlasenko [Sat, 18 Apr 2009 23:12:40 +0000 (23:12 -0000)]
libc/inet/resolv.c:
Collapse __length_dotted into __length_question (the sole user of it).
Make __length_question and __decode_answer static, they are used only once
by only one function.
Delete __decode_question, it is unused.
All in all, four less .o files in libc.a.
Document what __dns_lookup returns (length of the packet).
Propagate packet len into __decode_answer, __length_question, __decode_dotted
and check that we do not use data past the end of the packet.
Rename some variables/parameters to better names (len -> packet_len,
data -> packet etc).
Add mini-doc how DNS packets look like.
Style cleanup.
Mike Frysinger [Mon, 13 Apr 2009 00:06:40 +0000 (00:06 -0000)]
make sure to block all signals when calling daemon() to prevent delivery while the parent is sharing the stack
austinf [Sat, 11 Apr 2009 19:30:04 +0000 (19:30 -0000)]
for sparc v8 MAGIC1 was defined incorrectly
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
austinf [Sat, 11 Apr 2009 00:08:47 +0000 (00:08 -0000)]
sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Thu, 9 Apr 2009 17:48:17 +0000 (17:48 -0000)]
- fix typo
Khem Raj [Thu, 9 Apr 2009 08:45:24 +0000 (08:45 -0000)]
Fix the ifdef logic broken by last commit for !defined (__mcoldfire__)
Khem Raj [Thu, 9 Apr 2009 07:38:04 +0000 (07:38 -0000)]
The attached patches fixes the problems found bringing up uclibc on coldfire
M5485 processor
1. Disable mmap2() if we're compiling for coldfire and fall back to mmap().
It seems to map a different file area on a 2.6.25 linux kernel.
2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN
and OFFSET_ALIGN relatively to _dl_pagesize[3].
On coldfire/M5485 _dl_pagesize is 0x2000.
Signed-off-by: Groleo Marius <groleo@gmail.com>
Mike Frysinger [Tue, 7 Apr 2009 05:52:48 +0000 (05:52 -0000)]
implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier
Mike Frysinger [Mon, 6 Apr 2009 06:40:57 +0000 (06:40 -0000)]
apply getline() fix from linux kernel
Rob Landley [Fri, 27 Mar 2009 04:03:20 +0000 (04:03 -0000)]
32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.
The new guard symbol is "__SPARC_POSIX_TYPES_H".
Bernhard Reutner-Fischer [Wed, 25 Mar 2009 20:28:19 +0000 (20:28 -0000)]
- Add strtouq alias (to strtoul) for 64bit
The strtouq alias was only available on 32bit, breaking compilation of stuff
using strtouq on 64bit machines. At the same time use the correct return
type (u_quad_t).
Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
Bernhard Reutner-Fischer [Wed, 25 Mar 2009 19:27:56 +0000 (19:27 -0000)]
- do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)
austinf [Wed, 18 Mar 2009 23:05:54 +0000 (23:05 -0000)]
fix compilation of linuxthreads for sparc
add myself to MAINTAINERS for sparc
Carmelo Amoroso [Mon, 16 Mar 2009 13:36:39 +0000 (13:36 -0000)]
Fixed makefiles inclusion flow to pass actual configuration variable values.
Test build system modified to be similar to uClibc one:
* test custom logic moved from Makefile to a new Makefile.in (to be included
by Makefile).
* Makefile same for all tests and just used for including all other needed
makefiles.
Signed-off-by: Salvatore Cro <salvatore.cro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Mon, 16 Mar 2009 13:33:27 +0000 (13:33 -0000)]
Added string.h header for strerr prototype.
Mike Frysinger [Mon, 16 Mar 2009 06:16:15 +0000 (06:16 -0000)]
enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection
Mike Frysinger [Mon, 16 Mar 2009 06:14:34 +0000 (06:14 -0000)]
import user.h from the kernel as it is no longer exported by the kernel
Khem Raj [Mon, 16 Mar 2009 06:02:47 +0000 (06:02 -0000)]
Update copyright header.
Denis Vlasenko [Mon, 16 Mar 2009 02:56:27 +0000 (02:56 -0000)]
docs/pthreads_hacking.txt: new file
Mike Frysinger [Sat, 14 Mar 2009 11:30:56 +0000 (11:30 -0000)]
default linux-2.4 module support to off for Blackfin targets
Mike Frysinger [Sat, 14 Mar 2009 11:23:28 +0000 (11:23 -0000)]
force DOPIC for FDPIC ELF targets
Mike Frysinger [Fri, 13 Mar 2009 06:17:48 +0000 (06:17 -0000)]
add GNU extension for select timeouts where the sub-second field is actually longer than one second
Denis Vlasenko [Thu, 12 Mar 2009 23:04:19 +0000 (23:04 -0000)]
add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)
Denis Vlasenko [Thu, 12 Mar 2009 20:56:59 +0000 (20:56 -0000)]
linuxthreads fixes from Will Newton (will.newton AT gmail.com):
* share Sys V semaphores in order to get appropriate SEM_UNDO semantics.
* correct guardaddr in pthread_free() for TLS case
* move spinlock unlocking before restart()
* When exit was called from a signal handler, the restart
from the manager processing the exit request instead restarted the thread
in pthread_cond_timedwait.
(see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
Denis Vlasenko [Tue, 10 Mar 2009 14:42:54 +0000 (14:42 -0000)]
resolver:
res_query: do not unconditionally set h_errno to TRY_AGAIN (closes bug 173).
cleanups: s/__dn_expand/dn_expand/, remove superfluous dn_expand declaration,
remove libc_hidden_proto junk
Khem Raj [Thu, 5 Mar 2009 19:07:01 +0000 (19:07 -0000)]
Define creat in an independent file
Carmelo Amoroso [Thu, 5 Mar 2009 13:28:55 +0000 (13:28 -0000)]
Use __always_inline instead of __inline__
Carmelo Amoroso [Thu, 5 Mar 2009 13:08:35 +0000 (13:08 -0000)]
Make long double support available for sh too.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denis Vlasenko [Tue, 3 Mar 2009 13:00:48 +0000 (13:00 -0000)]
mknod: widen the parameters to match kernel
ustat: same, + remove superfluous "conversion"
which does nothing at best, loses high dev bits at worst
i386/bits/kernel_stat.h: update to reflect reality (wider dev_t)
h8300/bits/kernel_stat.h: same
arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
Denis Vlasenko [Mon, 2 Mar 2009 21:10:01 +0000 (21:10 -0000)]
Add EPOLLRDHUP constant
Denis Vlasenko [Fri, 27 Feb 2009 22:51:07 +0000 (22:51 -0000)]
fix breakage in x86_64 defconfig
Denis Vlasenko [Wed, 25 Feb 2009 11:06:29 +0000 (11:06 -0000)]
Reinstate __libc_foo's needed for linuxthreads.old.
Now they are only enabled if linuxthreads.old are selected.
Rob Landley [Tue, 24 Feb 2009 18:42:38 +0000 (18:42 -0000)]
Fix thinko in svn 25434.
Rob Landley [Tue, 24 Feb 2009 07:20:53 +0000 (07:20 -0000)]
Make HARDWIRED_ABSPATH a config option.
Rob Landley [Tue, 24 Feb 2009 00:27:33 +0000 (00:27 -0000)]
Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 11:18:30 +0000 (11:18 -0000)]
- remove superfluous $(strip)
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 10:54:15 +0000 (10:54 -0000)]
- remove dependency on GNU error functionality
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 10:50:49 +0000 (10:50 -0000)]
- disable libcrypt tests if we have no libcrypt
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 09:23:17 +0000 (09:23 -0000)]
- also filter out headers-y
Bernhard Reutner-Fischer [Mon, 23 Feb 2009 08:37:35 +0000 (08:37 -0000)]
- fix weak ssp symbol on some arches (Peter S. Mazinger)
Work around alleged binutils glitch with weak symbols on some arches.
See binutils ML, weak psm and vapier.
Carmelo Amoroso [Mon, 23 Feb 2009 07:00:33 +0000 (07:00 -0000)]
Use gcc built-in defines for detecting SH cores instead of
uclibc config option macros (aligning SH to all other archs).
Changes applied as below:
__CONFIG_SH4__ -> __SH4__
__CONFIG_SH2__ -> __sh2__
__CONFIG_SH2A__ -> __SH2A__
Note: pay attention to capital letters
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Fri, 20 Feb 2009 15:01:42 +0000 (15:01 -0000)]
Fix my previous commit to use preprocessor in the right way !
Carmelo Amoroso [Fri, 20 Feb 2009 14:37:43 +0000 (14:37 -0000)]
Linuxthreads_old and NPTL must be mutually exclusive.
TLS support cannot be enabled when using Linuxthreads_old
(at least until Linuxthreads and Linuxthreads_old will not
me merged togheter)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Fri, 20 Feb 2009 14:13:17 +0000 (14:13 -0000)]
Fix typo.
Carmelo Amoroso [Fri, 20 Feb 2009 13:31:01 +0000 (13:31 -0000)]
sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Denis Vlasenko [Thu, 19 Feb 2009 01:00:33 +0000 (01:00 -0000)]
Install other linux kernel header subdirectories too