RSS
Rev. 日時 作者
fd7e111 rx 2014-05-24 16:58:31 Yoshinori Sato

update header

37395e6 2011-06-17 16:58:30 Yoshinori Sato

argv fix

86e7488 2011-06-03 01:16:55 Yoshinori Sato

update __uClibc_main arguments

a83c744 2011-06-02 02:13:58 Yoshinori Sato

RX support

cf0b3a3 2011-05-31 17:03:23 Carmelo Amoroso

buildsys: fix pregen target (!NPTL with LOCALE)

When NPTL is not enabled, and LOCALE support is used, compilation fails
with the following error:

-------------------------------------------------------------------------
MKDIR include/bits
GEN include/bits/sysnum.h
make[1]: *** No rule to make target `../..//include/bits/uClibc_ctype.h', needed by `../../extra/locale/gen_wc8bit.c'. Stop.
make: *** [pregen] Error 2
-------------------------------------------------------------------------

The problem is that "headers" is not listed as prerequisite of pregen.
These have been changed multiple times recently:

o Austin: order headers before pregen-headers
1f5c73c9f8a98b1d2a35cea868a585c97ab0e436
o Khem: pregen: Fix the parallel build problem in pregen target
046035ecde92262d96eff2192ba3cda716f04909
o Khem: pregen-headers: Add new target which depends on headers.
ef18cfe8ebab25f5ef92e81956f50e2dc57df602
o Carmelo: build: Fix infinite loop when no threading support is enabled
ff5e4de7088fe8d34812c2a1e604bf04be713606
In all of these commits headers was actually as prerequisite

In commit 9381d622e2411a35a5fd73a5a573eb269e2dd9c9 [nptl: fix buildsys] by Bernhard, headers was removed,
causing the problem reported above.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

399ab8e 2011-05-31 16:47:12 Bernhard Reutner-Fischer

libubacktrace: Fix ASNEEDED emission

In master the variable is called SHARED_LIBNAME and not
SHARED_MAJORNAME.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

5c49e11 2011-05-31 16:45:44 Bernhard Reutner-Fischer

NPTL: Fix CTOR_DTOR

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

204c784 2011-05-28 00:37:09 Filippo Arcidiacono

libc: make common longjmp usable with NPTL

Call _longjmp_unwind conditionally under NPTL config option,
making longjmp usable with NPTL.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

461c768 2011-05-28 00:17:51 Filippo Arcidiacono

sh: use the common implementation for longjmp

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

5e87d86 2011-05-28 00:11:18 Filippo Arcidiacono

sh: fix build in !NPTL case

Fix build issue due to missing symbols in !NPTL case:
- vfork
- _longjmp_unwind

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

8514218 2011-05-27 19:46:03 Alan Davis

Correct a bug when remapping textrel segments on nommu

From: Alan Davis <adavis@ti.com>

On C6X, when trying to execute a program that has a textrel DSO, it
fails to load. The telltale line in the LD_DEBUG output is:

_dl_get_ready_to_run:779: file=''; needed by './a.out'

The corresponding DT_NEEDED entry has 'libc.so.0', but here the
filename is empty. This is what is happening in
_dl_elf_shared_library():

First, map all segments according to their permissions. Text gets
initially mapped read-only.

Then, parse the dynamic information. The dynamic table is in RW but
some of the tags may point to RO. For example, DT_NEEDED points to a
string in .dynstr which is in RO. These pointers get computed
according to the loadmap from the original mapping.

Then, in response to a DT_TEXTREL tag, the RO segment gets remapped,
thereby invaliding anything that points to it, in particular certain
dynamic tags such as DT_NEEDED.

The following patch re-parses the dynamic info after the remapping so
as to re-compute any invalid pointers.

Signed-off-by: Alan Davis <adavis@ti.com>
Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>

71d63ed 2011-05-14 07:31:06 Khem Raj

unwind.h: Move to libc/sysdeps from nptl sysdeps

Signed-off-by: Khem Raj <raj.khem@gmail.com>

1bfe83b 2011-05-13 19:16:29 Bernhard Reutner-Fischer

epoll: redo cancellation to match master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

c605758 2011-05-13 18:31:10 Peter S. Mazinger

epoll.c: add cancellation to epoll_[p]wait()

While there, fix epoll_pwait syscall, it takes 6 arguments

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

2fbbd10 2011-05-12 19:26:41 Bernhard Reutner-Fischer

libm: fix building out-of-tree

Thanks to Thierry Reding for noticing!

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

f6e44eb 2011-05-12 19:11:14 Bernhard Reutner-Fischer

wordexp: fix mishandled return value of pipe call

and use pipe2 if available while at it.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

44100da 2011-05-12 17:37:36 Bernhard Reutner-Fischer

linux_specific: handle accept4 and pipe2

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

3fb846d 2011-05-12 17:30:48 Bernhard Reutner-Fischer

NPTL: needs madvise internally

This fixes 8d09a50a044638fde2ed3e1a1c4d3c7c5a3cce5c since NPTL also uses
madvise internally.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

213709e 2011-05-12 17:07:25 Bernhard Reutner-Fischer

socket: fix stubs

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

4eebb1a 2011-05-12 05:22:51 Bernhard Reutner-Fischer

commentary typo fix

s/decriptor/descriptor/

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

3e72d1b 2011-05-12 05:17:23 Bernhard Reutner-Fischer

epoll: unify epoll.h

c91c3a2 2011-05-12 05:03:33 Bernhard Reutner-Fischer

commentary typo fix

use cancellation (with two 'l') uniformly.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

bf5dd19 2011-05-12 04:57:20 Thierry Reding

Implement epoll_create1 and epoll_pwait system calls.

Note: TODO: This lacks cancellation support.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

23b9906 2011-05-12 04:16:23 Bernhard Reutner-Fischer

buildsys: document UCLIBC_EXTRA_CPPFLAGS

Rename EXTRA_CPPFLAGS to UCLIBC_EXTRA_CPPFLAGS and make them override
previous flags (by appending - not prepending - them to the other flags).

803ea5f 2011-05-12 03:42:18 Bernhard Reutner-Fischer

lll: avoid shadow warnings

use __ret uniformly to avoid shadow warnings as seen on x86_64.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

08c36f4 2011-05-12 03:29:59 Bernhard Reutner-Fischer

x86_64: add TODO for R_X86_64_RELATIVE

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

7d8c08b 2011-05-12 02:52:16 Bernhard Reutner-Fischer

libubacktrace: mv unwind.h to include

Fixes compilation if NPTL is off.
I hope this doesn't break ARM EABI but cannot check ATM.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

bbb07be 2011-05-12 02:16:17 Bernhard Reutner-Fischer

Revert "libubacktrace: fix config-symbol handling"

This reverts commit 7a080cd149c7b25d415d76506510d55b34819fc2.

This symbol is in fact different (as it is set no 'n').

d3ddb92 2011-05-11 20:12:14 Bernhard Reutner-Fischer

add pipe2()

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

6af3427 2011-05-11 19:05:20 Bernhard Reutner-Fischer

socketcalls: add stubs

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

旧リポジトリブラウザで表示