summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* __asm__ and __volatile__ conversion for arm.Khem Raj2008-08-152-3/+3
|
* &> seems like tcsh like. busybox/ash does not seem to like it I am getting ↵Khem Raj2008-08-151-1/+1
| | | | wrong fd number error. So I replaced it with something that makes ash happy.
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-082-4/+20
| | | | | | | | | | | | | | | | | | Pass via r4 the rtld finalizer _dl_fini to the user application. This will be the 6^ arg of __uClibc_main and will be registered with 'atexit'. In this way the dynamic linker will be able to call destructors defined within the loaded DSOs. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Add missing 7th arg "stack_end". add comment of undocumented usage of r4. fix comment of expected __uClibc_main() prototype. Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-064-21/+19
|
* Revert recent changes to previous version at rev 20454.Carmelo Amoroso2008-08-041-8/+7
| | | | | | Functionally the code is the same, just a matter of coding style. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove trailing whitespaces: two missing filesCarmelo Amoroso2008-07-312-5/+5
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-31397-1314/+1371
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Update sh4 pthread_mutex_t definitionCarmelo Amoroso2008-07-311-3/+13
|
* Fix preprocessor directive to silent warningCarmelo Amoroso2008-07-311-1/+1
|
* Removed duplicated file (already moved into libc/misc/elf)Carmelo Amoroso2008-07-291-68/+0
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix build failure:Carmelo Amoroso2008-07-291-0/+2
| | | | | | | | | | | | | sh4-linux-uclibc-gcc \ -Wall -Wstrict-prototypes -Os -funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -mprefergot -Os -D_GNU_SOURCE -I../../test -ml -m4 -nostdinc -I../../install_dir/usr/include -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1//include-fixed -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1/include \ -fPIC -shared libtest.c -o libtest.so -Wl,-soname,libtest.so \ -s -B../../lib -Wl,-rpath,../../lib -Wl,-rpath-link,../../lib -Wl,-rpath,./ -Wl,--dynamic-linker,"/lib"/ld-uClibc.so.0 -Wl,--hash-style=gnu libtest.c: In function 'dltest': libtest.c:8: error: '__pthread_once' undeclared (first use in this function) libtest.c:8: error: (Each undeclared identifier is reported only once libtest.c:8: error: for each function it appears in.) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Use rtld_hidden_{proto,def} properly within ld.soCarmelo Amoroso2008-07-291-4/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove .depend when doing distcleanCarmelo Amoroso2008-07-291-1/+1
|
* These are already unwired in kernel headers so dont worry about them in uclibcKhem Raj2008-07-171-18/+0
|
* Do not include libc-lock.h because uClibc_mutex.h is exported file and ↵Khem Raj2008-07-141-1/+0
| | | | several application using this headers fail because they do not get __extern_inline define and if cdefs.h is included then the mudslide begins. For now we will live with the warnings in uclibc build.
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-142-2/+19
| | | | | | could use alternative implementations for them. include sys/syscalls.h in pt-gettimeofday.c
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-124-2/+116
| | | | Add NTPL testing support for ARM.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-4/+1
| | | | | We have pt-sleep.c now no need to create link and worse make clean deletes the proper pt-sleep.c file.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-117-18/+20
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-113-20/+11
| | | | Fix ARM specific makefiles for NPTL build.
* uClibc_mutex.h should not include bits/libc-lock.h. Revert libtest.c ↵Carmelo Amoroso2008-07-112-1/+2
| | | | accordingly otherwise it cannot compile
* Ahhhhh too tired... I'm doing all wrong. Stop meCarmelo Amoroso2008-07-111-2/+2
|
* Resynch with trunk fixing problem on test build system due to my last commitCarmelo Amoroso2008-07-114-5/+15
|
* Avoid conflict with __pthread_once defined into bits/libc-lock.hCarmelo Amoroso2008-07-111-2/+0
|
* Revert previous useless change based on an older versionCarmelo Amoroso2008-07-111-4/+4
|
* Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. ↵Carmelo Amoroso2008-07-116-103/+88
| | | | Thanks Khem for pointing this out
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-4/+4
| | | | Append the objects.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-23/+8
| | | | Use wait4 for waitpid syscall.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-112-31/+45
| | | | Replace the code which could force gcc to use libgcc division functions, the libgcc function inturn call 'raise' which is expected from uclibc which we are compiling. This avoids this circular dependency problem.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-101-0/+1
| | | | Include <bits/libc-lock.h> to get *once* definitions.
* Remove trailing whitespaces and wrong preprocessed filesCarmelo Amoroso2008-07-106-16706/+31
|
* Exclude some files for ARM NPTL, Do not use _libc_fatalKhem Raj2008-07-103-4/+18
|
* Fix __USE_STDIO_FUTEXES__ falloutKhem Raj2008-07-101-4/+11
|
* Adjust for correct return values from dl_find_hashKhem Raj2008-07-101-11/+10
|
* Handle ARM TLS relocationsKhem Raj2008-07-103-13/+52
|
* Save PID across vfork syscall. Create a __clone() aliased to clone(). Load ↵Khem Raj2008-07-102-5/+31
| | | | arguments from stack into registers before making clone syscall
* Do not use push/pop in inline asm. It breaks unwindingKhem Raj2008-07-101-6/+10
|
* ARM specific NPTL bitsKhem Raj2008-07-1034-0/+2582
|
* Thumb atomic operations and makefile changes to accomodate NPTLKhem Raj2008-07-105-2/+157
|
* Add TLS reltypes for ARMKhem Raj2008-07-102-1/+14
|
* Handle system call names like __ARM_NR_set_tlsKhem Raj2008-07-101-6/+11
|
* Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ↵Khem Raj2008-07-098-156/+151
| | | | ARM as well.
* Revert the mips related fixed that got in due to the trunk merge and also ↵Khem Raj2008-07-096-8/+31
| | | | add pt-__syscall_rt_sigaction.c for mips
* BIG BIG commit: forgotten filesCarmelo Amoroso2008-07-099-91/+203
|
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-09530-5045/+7047
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk: remove obsolete filesCarmelo Amoroso2008-07-095-582/+0
|
* SYnch with trunk: new filesCarmelo Amoroso2008-07-099-0/+302
|
* Added 'locale' utilities Carmelo Amoroso2008-07-092-0/+819
|
* Synch tests with trunkCarmelo Amoroso2008-07-0920-35/+82
|
* Remove Ctrl^MCarmelo Amoroso2008-07-091-25/+25
|