| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
- reduce patch noise a little bit
|
|
|
|
|
|
|
|
|
|
| |
libc/string/*: small fixes sync from trunk
test/regex/tst-regex2.c: small fixes sync from trunk
libc/misc/time/time.c: optimization from trunk:
text data bss dec hex filename
- 854 24 0 878 36e libc/misc/time/_time_localtime_tzi.os
+ 818 16 0 834 342 libc/misc/time/_time_localtime_tzi.os
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use -O2 for optlevel. -Os doesnt go well with arm and gcc 4.3.x
because -Os enables -fearly-inlining as a result some of libgcc
functions which call _div0 get emitted. div0 needs raise () and
it comes from libc so a catch 22. We avoid this by avoiding division
functions as much as we can. So either we can use -Os -fno-early-inlining
or use other opt level like O1 or O2. I chose O2.
|
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
Step 19: merge change in rev 24250
- Use runtime pagesize (Jeremy Kerr)
Some powerpc machines can support 64k pages, enabled by the
CONFIG_64K_PAGES option in linux.
|
|
|
|
|
|
|
| |
Anyway, being the ldso linked with -Bsymbolic, this piece of code
is not actually executed.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
| |
Step 13: build system updates.
|
|
|
|
| |
Step 12: ldso minor changes: code tidy-up, inline, comments.
|
|
|
|
|
|
|
|
|
|
| |
If a shared object has a constructor that accesses a TLS variable
using the localor global synamic access model (that is by calling
the __tls_get_addr function), all the filed of each dtv entry must be
already initialized to point to the right address in the TLS static block
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
Functionally the code is the same, just a matter of coding style.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
add pt-__syscall_rt_sigaction.c for mips
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
system
|
| |
|
| |
|
|
|
|
|
|
|
| |
Step 8: add xtensa, cris and avr32 architecture dependent
files, as is.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
Step 6: fix Makefiles to use $(VERSION) and the compiler-driver
for the link stage
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
| |
Step 1: basically code formatting and minor changes
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
that don't support TLS yet in the nptl branch.
Just to speed-up final merge.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
of elf_resolve's loadaddr field for the main application.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
| |
if TLS is disabled (once merged into the trunk)
Pointed out by Peter Mazinger.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added TLS support to sh4
Replaced _dl_find_hash implementation with sh4 based code.
Merged some fixes into libdl.c
Changes committes as requested by sjhill for the mips-sh4
nptl merge.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
| |
Khem Raj.
|
| |
|
| |
|
| |
|
|
|
|
| |
was giving an incorrect return code due to memory being dynamically allocated on the stack. This is not allowed when using TLS.
|
|
|
|
|
| |
needs to be done, but I would rather wait until after merging with
the other architectures.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
'libc/sysdeps/linux/common/fork.c' when NPTL is being used. Finally, there
are additional weak functions that need to be defined when using NPTL which
have also been added.
|
| |
|