summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-2312-40/+40
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-2318-48/+48
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-239-10/+10
|
* avr32: Put underscores around asm, inline, etc.Haavard Skinnemoen2008-07-232-7/+7
| | | | | This fixes build breakage introduced in r22868.
* - move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer2008-06-172-3/+0
|
* - strip the targets and not prerequisitesBernhard Reutner-Fischer2008-06-042-3/+3
| | | | | | - tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.
* - Revert _dl_exit touch-up.Bernhard Reutner-Fischer2008-06-031-5/+1
| | | | It breaks on arches that don't define proper/complete/nice syscall facilities.
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt2008-06-011-1/+1
| | | | | | | | | libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
* - fix the macros rather than the callees as rightfully noted by bernds (duh!)Bernhard Reutner-Fischer2008-05-303-7/+6
|
* - nlist is unsigned. Adjust iterator variables accordingly to avoid ↵Bernhard Reutner-Fischer2008-05-301-2/+2
| | | | signedness warnings.
* - Avoid warning about missing brace. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+2
|
* - fix dependencies of ldso.cBernhard Reutner-Fischer2008-05-301-1/+8
| | | | Previously a touch ldso/ldso/dl-debug.c && make ldso/ldso/ldso.oS did nothing
* - Avoid warning about missing brace.Bernhard Reutner-Fischer2008-05-301-4/+4
|
* - Avoid warning about missing brace. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+2
|
* Fix the ELF magic number for SPARCV9: by Friedrich Oslage ↵Carmelo Amoroso2008-05-281-1/+8
| | | | <bluebird@porno-bullen.de>
* - fix compilation errorBernhard Reutner-Fischer2008-05-231-2/+3
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-1/+1
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-2412-32/+32
|
* Fix whitespace damage in AVR32 part of ldso.Hans-Christian Egtvedt2008-04-164-241/+241
|
* Paul Brook writes:Bernhard Reutner-Fischer2008-03-261-1/+2
| | | | | | | | | | | | | | | The attached patch adds support for compiling arm uClibc as pure Thumb code. This is needed because some recent ARM codes do not implement traditional ARM mode. Specifically: * Cortex-M1 - An extremely minimal FPGA based core that only implements Thumb-1 (aka ARMv6-M). * Cortex-M3 - A Thumb-2 only ARMv7-M core. Most of uClibc already builds in Thumb mode, all that is left are a handful of assembly bits. Tested on arm-uclinuxeabi.
* Add missing cast in pointer assignmentCarmelo Amoroso2008-03-251-1/+1
|
* Move calculation of rem within if (unlikely statementCarmelo Amoroso2008-03-111-3/+5
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> SIgned-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Khem Raj <kraj@mvista.com> writes:Carmelo Amoroso2008-03-091-2/+3
| | | | | | | | | | While compiling trunk on ARM with GCC 4.2 and enabling LDSO_GNU_HASH_SUPPORT I stumbled upon this problem. GCC made a call to libgcc function __aeabi_uidivmod()->__div0()->__raise() and raise is not yet compiled in at the time of compiling ldso so I got well known undefined symbol __raise problem This patch uses the do_rem () macro to do the same operation.
* Fix typos in commentCarmelo Amoroso2008-02-201-1/+1
|
* Do not call _dl_de ug_state() before recording ld.so. Signed-off-by: Daniel ↵Carmelo Amoroso2008-02-201-3/+1
| | | | Jacobowit <dan@codesourcery.com>
* Use DL_RELOC_ADDR when dealing with DL_LOADADDR_TYPE types. Fixes gnu-hashBernd Schmidt2008-02-121-1/+1
| | | | compilation on Blackfin.
* Fix the recent dladdr changes so that they compile on FD-PIC targets.Bernd Schmidt2008-02-085-9/+10
|
* Update dl-inlines.h from Blackfin repository.Bernd Schmidt2008-01-181-12/+43
|
* This patch solves a problem in dladdr caused by the wrong valueCarmelo Amoroso2008-01-185-7/+44
| | | | | | | 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>
* Make sh4 build works again adding a temporary work-aroundCarmelo Amoroso2008-01-121-4/+7
| | | | | | | | iby redefining __always_inline to inline until gcc 4.x.x will get fixed. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Make sh4 build works again adding a temporary work-aroundCarmelo Amoroso2008-01-121-0/+5
| | | | | | | | iby redefining __always_inline to inline until gcc 4.x.x will get fixed. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* fix broken whitespace in many places; no functional changesMike Frysinger2008-01-098-95/+94
|
* Some more Blackfin/FDPIC ldso merging work. Include dl-inlines.h when itBernd Schmidt2008-01-083-11/+17
| | | | exists, and move some definitions to their proper place.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-082-5/+5
| | | | doing double negatives
* the _dl_errno extern already exists in common headers, so no need for a ↵Mike Frysinger2008-01-081-1/+0
| | | | local one
* Chris Zankel writes:Mike Frysinger2008-01-057-1/+653
| | | | | | | | | | | | | | | | | | The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
* whitespace only: fix indentationMike Frysinger2008-01-051-1/+1
|
* Blackfin FD-PIC patch 6/6.Bernd Schmidt2007-12-043-51/+222
| | | | | | | These are mostly the changes necessary to deal with loading the libraries into memory. A couple new target macros are defined for this purpose, and the code in dl-elf.c is modified to deal with nommu systems.
* Fix a few warnings introduced by my previous commits.Bernd Schmidt2007-12-032-3/+3
|
* Blackfin FD-PIC patches 5/6.Bernd Schmidt2007-12-034-8/+35
| | | | | | | A couple more target macros for ld.so to deal with FD-PIC support. We need special code to compute the initial got and dpnt, and we need to pass extra arguments to _dl_get_ready_to_run.
* Blackfin FD-PIC patch 4/6.Bernd Schmidt2007-12-031-0/+7
| | | | Add a hash table for function descriptors on FD-PIC targets.
* Blackfin FD-PIC patch 3/6.Bernd Schmidt2007-12-036-14/+61
| | | | | | | | | | | | | | | Change _dl_find_hash to _dl_lookup_hash, as on the NPTL branch. _dl_find_hash is now a wrapper function around it; unlike on the NPTL branch, it retains the old interface so that not all callers need to be changed. _dl_lookup_hash can optionally give its caller a pointer to the module where the symbol was found. Introduce ELF_RTYPE_CLASS_DLSYM for lookups from libdl. Spelling fixes in the Blackfin port, since Alex Oliva's original version of these patches used _dl_find_hash_mod as the name of the function rather than _dl_lookup_hash.
* Blackfin FD-PIC patch 2/6.Bernd Schmidt2007-12-033-6/+33
| | | | | | Add the necessary changes in ld.so and libdl to deal with targets that prepend an underscore to symbol names.
* Blackfin FD-PIC patch 1/6.Bernd Schmidt2007-12-033-5/+43
| | | | | | | Add a new function _dl_free. In _dl_malloc, ensure we always get back a full page from mmap. Reset _dl_malloc_function and _dl_free_function when libdl is initialized.
* Some versions of gcc consider inline merely a hint. AVR32 depends on theCarmelo Amoroso2007-12-031-20/+20
| | | | | | | | | system calls actually being inlined, so AVR32 needs to use __always_inline instead of just inline. The attached patch changes this for the system calls. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
* Fix merging error: a macro was renamed.Bernd Schmidt2007-11-281-1/+2
|
* Change test for a define that got renamed a while ago.Bernd Schmidt2007-11-231-1/+1
|
* If uClibc's ld.so encounters text relocations in a shared library - one Carmelo Amoroso2007-11-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | containing an object built without -fpic/-fPIC - then: * If __FORCE_SHAREABLE_TEXT_SEGMENTS__, then it gives an error "Can't modify %s's text section. Use GCC option -fPIC for shared objects, please.\n" and exits. * Otherwise, it makes the library's pages writable and relocates it. If it encounters text relocations in a position-independent executable - one containing an object built without -fpie/-fPIE/-fpic/-fPIC - then: * If __FORCE_SHAREABLE_TEXT_SEGMENTS__, it does nothing about making the pages writable, leading to a crash. * Otherwise, the loop to make the pages writable uses the same variable ppnt as used in an outer loop, messing up that outer loop and also causing a crash. This patch fixes both cases, by giving an error if __FORCE_SHAREABLE_TEXT_SEGMENTS__ and saving and restoring ppnt otherwise. Tested in both cases on ARM EABI. Joseph S. Myers joseph@codesourcery.com
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-168-2/+494
| | | | <hcegtvedt@atmel.com>