OSDN Git Service
Eric Andersen [Thu, 26 Aug 2004 23:36:04 +0000 (23:36 -0000)]
Partial patch from Alexandre Oliva:
- adjust licensing terms of sources for crt*.o
- change the stat ABI to speed it up, matching changes in the kernel
- assorted bug-fixes, improvements and updates in the FR-V port
etc.
Eric Andersen [Thu, 26 Aug 2004 22:08:19 +0000 (22:08 -0000)]
Mention FunctionCheck
Eric Andersen [Thu, 26 Aug 2004 22:07:56 +0000 (22:07 -0000)]
Update TODO list a bit
Eric Andersen [Thu, 26 Aug 2004 20:43:25 +0000 (20:43 -0000)]
Only print debug stuff when asked
Eric Andersen [Thu, 26 Aug 2004 18:38:19 +0000 (18:38 -0000)]
Fixup a couple of warnings
Eric Andersen [Thu, 26 Aug 2004 18:36:23 +0000 (18:36 -0000)]
Avoid multiple passes to perform mips GOT relocations, and do
the whole lot in a single pass.
-Erik
Manuel Novoa III [Thu, 26 Aug 2004 17:03:09 +0000 (17:03 -0000)]
Fixes from gentoo.
Joakim Tjernlund [Thu, 26 Aug 2004 14:17:10 +0000 (14:17 -0000)]
Let ldso find libc's malloc function and set _dl_malloc_function.
This removes some crap in libdl.c(and future libs which needs
to access ldso functions).
What do you think?
Joakim Tjernlund [Thu, 26 Aug 2004 14:00:04 +0000 (14:00 -0000)]
Added test for RTLD_GLOBAL flag in _dl_find_hash().
Fixed a bug in libdl.c where the RTLD_GLOBAL was assigned
wronly.
Eric Andersen [Thu, 26 Aug 2004 11:30:48 +0000 (11:30 -0000)]
Relocations of the application's global GOT entries were not being run, and
only the global GOT entry relocations for the loaded shared libs were being
handled. This made applications segfault when using un-fixedup symbols. After
many hours debugging to track down the problem, this patch makes the mips port
happy again.
-Erik
Joakim Tjernlund [Thu, 26 Aug 2004 09:40:09 +0000 (09:40 -0000)]
Stefan Allius writes:
"I fixed the _dl_parse_copy_information in the same way than for the
powerpc and it works fine for me.
You may luck at the patch for the powerpc/elfinterp.c, where I change
the paramter of a dl_dprintf statement. Now we use the same
parameters than for the relocation copy."
Arch mantainers, please do the same.
When all arches has been fixed, we can remove of _dl_parse_copy_information,
it is just a waste of CPU cycles.
Eric Andersen [Wed, 25 Aug 2004 23:46:46 +0000 (23:46 -0000)]
Mike Frysinger writes:
this was sent earlier in a different form:
http://www.uclibc.org/lists/uclibc/2004-January/008136.html
find attached a smaller version ... perhaps adding a fprintf to stderr before
calling abort would be nice like in the glibc patch, but whatever
glibc has since adopted a similar fix for their malloc (third hunk, line 1970)
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h
-mike
Eric Andersen [Wed, 25 Aug 2004 23:42:46 +0000 (23:42 -0000)]
Mike Frysinger writes:
i sent this earlier but perhaps people missed it the first time around :)
http://www.uclibc.org/lists/uclibc/2004-August/009544.html
basically if you try to #include <sys/ucontext.h> on arm it'll fail because
ucontext.h utilizes typedefs found in bits/sigcontext.h ... i386 already has
this fix in uClibc
find attached a trivial patch to fix this
-mike
Eric Andersen [Wed, 25 Aug 2004 23:10:43 +0000 (23:10 -0000)]
Joakim Tjernlund writes:
Hi Manuel & Erik
I think I know why MIPS is broken. _dl_perform_mips_global_got_relocations() is
broken. It will due to my latest changes reloctate ldso. This
function needs to die and its job should be done inside _dl_parse_relocation_information().
It is mostly a copy and paste job,
Also PERFORM_BOOTSTRAP_GOT and PERFORM_BOOTSTRAP_RELOCATION should be fixed, they
use symbols which aren't passed as arguments.
Jocke
Manuel Novoa III [Wed, 25 Aug 2004 17:24:19 +0000 (17:24 -0000)]
Patch by Carl SHAW <carl.shaw@st.com>...
Below is a patch to make the pread and pwrite calls work on the SH
architecture. I've only tested this on the SH4 with a 2.4.24 kernel - a
fairly recent kernel is required as the problem is partially fixed in
the kernel itself. For more information (in relation to glibc, but the
problem is the same) see the thread at
http://sourceforge.net/mailarchive/message.php?msg_id=
2375908
Someone should really test this on the SH2/3...
Joakim Tjernlund [Wed, 25 Aug 2004 15:19:00 +0000 (15:19 -0000)]
Patch from Stefan Allius:
Remove unused function parameter in ldso.
Remove echo option '-e' since it is not supported on Solaris.
Joakim Tjernlund [Wed, 25 Aug 2004 14:22:05 +0000 (14:22 -0000)]
Hopefully fix Laszlo and Jacobs dlopen problem.
Eric Andersen [Mon, 23 Aug 2004 20:09:15 +0000 (20:09 -0000)]
Note a security item for the next release
Eric Andersen [Sun, 22 Aug 2004 06:04:57 +0000 (06:04 -0000)]
Make the stub profiling stuff work
Eric Andersen [Sat, 21 Aug 2004 21:42:51 +0000 (21:42 -0000)]
The "Delete current profiling code because it is complete crap"
TODO item is now done.
Eric Andersen [Sat, 21 Aug 2004 21:39:51 +0000 (21:39 -0000)]
Attempt to support 'gcc -finstrument-functions', which seems much
more sane than 'gcc -pg' and seems much easier to support.
-Erik
Eric Andersen [Sat, 21 Aug 2004 21:19:29 +0000 (21:19 -0000)]
Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both a
size and performance penalty to profiling applications this way, as well as
Heisenberg effects, where the act of measuring changes what is measured.
There are better tools for doing profiling, such as OProfile, that do not
require gcc to instrument the application code.
-Erik
Eric Andersen [Fri, 20 Aug 2004 20:46:01 +0000 (20:46 -0000)]
Enable only for architectures where __NR_madvise is defined
-Erik
Eric Andersen [Thu, 19 Aug 2004 23:04:26 +0000 (23:04 -0000)]
Never directly include kernel sources
Eric Andersen [Thu, 19 Aug 2004 20:21:26 +0000 (20:21 -0000)]
'pagesize' was local to dl-startup.c. In ldso.c we need
to use '_dl_pagesize'
-Erik
Manuel Novoa III [Thu, 19 Aug 2004 16:44:19 +0000 (16:44 -0000)]
Fix dependencies.
Joakim Tjernlund [Thu, 19 Aug 2004 09:52:27 +0000 (09:52 -0000)]
Accunt for ELF_MACHINE_PLTREL_OVERLAP when relocating ldso.
Joakim Tjernlund [Thu, 19 Aug 2004 09:34:11 +0000 (09:34 -0000)]
Remove poor man's malloc. Not needed anymore.
Joakim Tjernlund [Thu, 19 Aug 2004 09:06:15 +0000 (09:06 -0000)]
Move "debug_addr" ptr from dl-startup.c to ldso.c
Joakim Tjernlund [Thu, 19 Aug 2004 08:53:29 +0000 (08:53 -0000)]
Move the app specific stuff from dl-startup.c to ldso.c.
Joakim Tjernlund [Thu, 19 Aug 2004 08:08:27 +0000 (08:08 -0000)]
Oops, forgot to remove unused variable.
Joakim Tjernlund [Thu, 19 Aug 2004 08:03:58 +0000 (08:03 -0000)]
This is now done in ldso.c
Joakim Tjernlund [Wed, 18 Aug 2004 09:26:17 +0000 (09:26 -0000)]
Clean up the _dl_boot code and make it similar to arm and sh.
Eric Andersen [Tue, 17 Aug 2004 20:00:42 +0000 (20:00 -0000)]
Carl SHAW writes:
I finally tracked down the problem with SH4 shared library loading -
in file ldso/ldso/sh/dl-startup.h, the line
#define DL_BOOT(X) static void __attribute_used__ _dl_boot2 (X)
should be
#define DL_BOOT(X) static void* __attribute_used__ _dl_boot2 (X)
otherwise the application code will never be called and _dl_boot will
just return causing a segmentation fault.
Carl
Joakim Tjernlund [Tue, 17 Aug 2004 13:55:49 +0000 (13:55 -0000)]
David McCulloug writes:
"There's a bug in the SH asm, it calls into 'C' code without preserving
all the important scratch registers. I have been meaning to double
check the changes as I think more registers need to be saved, then I
was going to send it back to uClibc. From the sound of it this isn't
your problem, but you never know.
Attached is the patch as it stands for the loader on SH."
Glibc appears to do the same.
Joakim Tjernlund [Tue, 17 Aug 2004 13:37:54 +0000 (13:37 -0000)]
Let ldso decide if it should relocate itselft a second time. This
is needed if ldso should use libcs malloc whenever possible.
Fix RTLD_LAZY propagation to RTLD_NOW relocation when requested by
libdl.
Joakim Tjernlund [Tue, 17 Aug 2004 13:09:01 +0000 (13:09 -0000)]
Fix make clean rule.
Eric Andersen [Mon, 16 Aug 2004 22:55:01 +0000 (22:55 -0000)]
Audit pthread.h and exclude prototypes for pthread functions
that are not presently implemented in uClibc's libpthread.
-Erik
Eric Andersen [Mon, 16 Aug 2004 22:16:45 +0000 (22:16 -0000)]
I will always test before I commit.
I will always test before I commit.
I will always test before I commit.
-Erik
Eric Andersen [Mon, 16 Aug 2004 20:35:15 +0000 (20:35 -0000)]
Setup __pagesize from inside __uClibc_init(), or else when registering
dtors via atexit(), atexit may need to call realloc with __pagesize
still set to 0. ugh.
-Erik
Eric Andersen [Mon, 16 Aug 2004 19:22:52 +0000 (19:22 -0000)]
Be a bit more prominant about the fact that setuid handling
is not quite there...
Eric Andersen [Mon, 16 Aug 2004 19:21:45 +0000 (19:21 -0000)]
The variable used to store pagesize is not the same as the
_dl_pagesize variable in ldso, so avoid aliasing.
-Erik
Eric Andersen [Mon, 16 Aug 2004 19:17:37 +0000 (19:17 -0000)]
The pagesize variable used when starting up is _not_ the same
as the _dl_pagesize global, so do not alias the global.
-Erik
Manuel Novoa III [Sun, 15 Aug 2004 08:01:45 +0000 (08:01 -0000)]
Update to add missing c++ namespace support.
Eric Andersen [Sun, 15 Aug 2004 03:59:36 +0000 (03:59 -0000)]
Do not fail all lookups when /etc/resolv.conf is missing, as i.e.
checking on 127.0.0.1 is still valid w/o resolv.conf
-Erik
Manuel Novoa III [Sun, 15 Aug 2004 01:55:02 +0000 (01:55 -0000)]
Logic was reversed.
Eric Andersen [Sat, 14 Aug 2004 07:23:48 +0000 (07:23 -0000)]
req_search returned garbage. This teaches it to behave itself and
return the length and the actual dns packet as received, rather than
making stuff up.
-Erik
Eric Andersen [Fri, 13 Aug 2004 23:39:45 +0000 (23:39 -0000)]
Fixup PAGE_SIZE problems
-Erik
Joakim Tjernlund [Fri, 13 Aug 2004 13:56:25 +0000 (13:56 -0000)]
Fix usage_count in ldso/libdl.
Don't' use atexit in libdl.
Make destrutor in libdl actually run and to dlclose all
dlopened libs.
Remove dlclosed libs from the _dl_symbol_tables list.
Manuel Novoa III [Fri, 13 Aug 2004 04:35:03 +0000 (04:35 -0000)]
Always include the sqrtf wrapper in libm so that we don't need to worry
about conditionally configuring something else for libstdc++.
Manuel Novoa III [Tue, 10 Aug 2004 18:47:06 +0000 (18:47 -0000)]
Fix mips bug related to 2.6 headers by following glibc's lead. Based on
the comment, newer kernels appended "64" to __NR_pread and __NR_pwrite.
Manuel Novoa III [Tue, 10 Aug 2004 16:43:12 +0000 (16:43 -0000)]
Apparently the sigaction code added was broken, as it generated illegal
instruction errors. Disable it for now.
Joakim Tjernlund [Tue, 10 Aug 2004 15:25:35 +0000 (15:25 -0000)]
Optimze _dl_memset() for PowerPC.
Other arches may also benefit from this iff it can do
unaligned stores.
Joakim Tjernlund [Tue, 10 Aug 2004 15:18:18 +0000 (15:18 -0000)]
Forgot _dl_memcpy in previous checkin.
Manuel Novoa III [Tue, 10 Aug 2004 15:12:48 +0000 (15:12 -0000)]
On Monday 02 August 2004 08:44 am, Mike Frysinger wrote:
> the gethostbyname_r() call itself is not segfaulting, but the memory
> returned in the h_aliases array seems to be wrong ...
was playing around with the source today and eventually the obvious answer hit
me ... while read_etc_hosts_r() generatings an array of strings fo h_aliases
and populates it, the dns path does not :)
find attached a patch that'll actually generate the h_aliases list in the
normal dns code path ... i used the etc_hosts_r() code as a template for some
of it ...
note that this is just a simple fix ... it fills the alias list with just the
hostname gethostbyname_r was passed ... the proper fix i think would be to
parse the dns packet down in __dns_lookup() and pass the info back via the
resolv_answer struct ...
but this fix is better than the current state of things ... that is, h_aliases
currently is never initailized in the dns code path :)
Manuel Novoa III [Tue, 10 Aug 2004 15:11:51 +0000 (15:11 -0000)]
At solar's request...
Joakim Tjernlund [Tue, 10 Aug 2004 15:06:30 +0000 (15:06 -0000)]
_dl_strlen,_dl_strcat,_dl_strcpy,_dl_strcmp,_dl_strncmp,
_dl_strchr,_dl_strrchr,_dl_strstr,_dl_memcmp:
Optimize for archs which can do pre increment/decrement and load/store
in one instruction.
Joakim Tjernlund [Tue, 10 Aug 2004 14:44:34 +0000 (14:44 -0000)]
_dl_get_last_path_component:
handle "" strings and optimze it.
_dl_simple_ltoa,_dl_simple_ltoahex:
Optimize for archs which can do pre increment/decrement and load/store
in one instruction.
Joakim Tjernlund [Tue, 10 Aug 2004 10:04:35 +0000 (10:04 -0000)]
Revmoved _dl_brkp and _dl_envp. They are not needed anymore.
Joakim Tjernlund [Tue, 10 Aug 2004 09:50:07 +0000 (09:50 -0000)]
Mike Frysinger writes:
i was sticking some libraries in non-standard (i.e. not-hardcoded) paths and
then updating ld.so.conf accordingly ... oddly though, i couldnt get binaries
that linked against those libraries to run ... `ldconfig -v` showed the
required libraries being detected/cached, so something seemed wrong ...
turns out the libraries were being tagged as LIB_ELF_LIBC0 in the cache and
the loader currently only accepts LIB_ELF_LIBC{5,6} ... since readsoname.c in
ldconfig defines needed_tab with the mapping 'libc.so.0' -> LIB_ELF_LIBC0 it
seems like the loader should accept this type too
find attached a small patch which adds LIB_ELF_LIBC0 along side
LIB_ELF_LIBC{5,6} as an accepted lib type in the loader when dealing with the
ld.so.cache file
Joakim Tjernlund [Tue, 10 Aug 2004 09:23:57 +0000 (09:23 -0000)]
Mike Frysinger writes:
in libdl, the XXFLAGS is set incorrectly if DODEBUG=y ... it has 'I.' added to
it instead of '-I.' ... this of course pisses of gcc :)
find attached a patch that cleans up the XXFLAGS setting so as to minimize
this kind of thing ... when asked, mjn3 said it was a kosher idea ;)
and later writes:
hmm it seems ldso also utilizes USE_CACHE in the code (but LIBRARY_CACHE never
propogates down to the Makefiles)
so the fix is to add $(LIBRARY_CACHE) while setting $(XXFLAGS)
Applied with minor fixes and also fixed up ldso/Makefile to match
libdl/Makefile.
Joakim Tjernlund [Tue, 10 Aug 2004 08:58:12 +0000 (08:58 -0000)]
Mike Frysinger writes:
while playing around with Gentoo on uClibc, i hit some troubles with ldconfig
first, i found that it kept trying to read 'etc/ld.so.conf' ... it didnt want
to read '/etc/ld.so.conf' ... looking at the source, the default conf file is
defined as UCLIBC_RUNTIME_PREFIX "etc/ld.so.conf" ... all fine and dandy, but
the utils/Makefile builds the .c files with this:
-DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX)
i couldnt find where R_PREFIX was defined/used anywhere else, but i did find
that every other time UCLIBC_RUNTIME_PREFIX was defined, it was set like:
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\"
changing the utils/Makefile to be like this fixed things for me
next up, i found that i wasnt getting an /etc/ld.so.cache file when i ran
`ldconfig` ... looking at the code, USE_CACHE needs to be defined ...
Rules.mak has a line that reads LIBRARY_CACHE:=#-DUSE_CACHE by default, but
then LIBRARY_CACHE is never used anywhere :)
so the fix here is to add $(LIBRARY_CACHE) to the lines in utils/Makefile
where the .c files are compiled
perhaps a suggestion then ? in my mind it makes sense to utilize a cache file
when running uclibc native but perhaps not while cross compiling ... so
perhaps add LIBRARY_CACHE:=-DUSE_CACHE to the section in Rules.mak where LDSO
is set to the uclibc linker (i.e. native) but set LIBRARY_CACHE:=#-DUSE_CACHE
where LDSO is the $(SYSTEM_LDSO) (i.e. cross compiling)
Applied with minor fixes.
Joakim Tjernlund [Mon, 9 Aug 2004 08:35:31 +0000 (08:35 -0000)]
Oops.
Joakim Tjernlund [Mon, 9 Aug 2004 08:28:00 +0000 (08:28 -0000)]
From: uclibc-bounces@uclibc.org on behalf of Peter Kjellerstedt
[peter.kjellerstedt@axis.com]
Peter Kellerstedt writes:
May I suggest the attached patch instead?
It handles PICFLAG the same way as it was already done
for other architectures (e.g., CRIS and frv).
Joakim Tjernlund [Mon, 9 Aug 2004 08:11:54 +0000 (08:11 -0000)]
This should fix the dlsym problem Peter van Hoyweghen reported.
However RTLD_LOCAL still doesn't work. Everything is RTLD_GLOBAL.
Eric Andersen [Fri, 6 Aug 2004 16:12:11 +0000 (16:12 -0000)]
Joakim Tjernlund writes:
PPC32, SPARC32/64 and S390 includes the PLT in its RELA size. This caused ldso
to always do unlazy relocation of the JMPRELs. This patch fixes it.
Eric Andersen [Fri, 6 Aug 2004 16:11:43 +0000 (16:11 -0000)]
Joakim Tjernlund writes:
This patch makes -fpic work for PCC and optimzes the relcation by moving the cache
flushing stuff to JMP relocs only. Actually PPCs ldso can only handle small
GOT tables(<=8192 entries)anyhow, so it makes little sense to compile PPC with -fPIC.
libuClibc shrunk from 340724 to 330780 bytes with -fpic.
Eric Andersen [Wed, 4 Aug 2004 17:34:07 +0000 (17:34 -0000)]
doh
Eric Andersen [Wed, 4 Aug 2004 16:15:42 +0000 (16:15 -0000)]
Add missing header file needed to define PAGE_SIZE
Eric Andersen [Tue, 3 Aug 2004 09:44:28 +0000 (09:44 -0000)]
As Joakim Tjernlund rightly notes, I should have used PAGE_SIZE
not the hard coded value of 4096.
Eric Andersen [Fri, 30 Jul 2004 20:55:26 +0000 (20:55 -0000)]
cut-n-paste strikes again
Eric Andersen [Fri, 30 Jul 2004 20:51:31 +0000 (20:51 -0000)]
Cleanup some dead wood in the header files
Eric Andersen [Fri, 30 Jul 2004 20:06:01 +0000 (20:06 -0000)]
s/___brk_addr/__curbrk/g
Some utilities, such as valgrind, have a legitimate reason to know the address
of the current brk. Since we know such utils will peek under our skirt, we
might as well give them what they expect and not use a gratuitously different
symbol name.
-Erik
Manuel Novoa III [Fri, 30 Jul 2004 19:23:55 +0000 (19:23 -0000)]
Some mips updates. Add a couple of missing sys/*.h files and update a few others.
Eric Andersen [Fri, 30 Jul 2004 03:32:41 +0000 (03:32 -0000)]
Teach libdl to use normal libc symbols whenever possible, i.e. malloc
rather than _dl_malloc, fprintf rather than _dl_printf, etc.
-Erik
Eric Andersen [Fri, 30 Jul 2004 03:31:31 +0000 (03:31 -0000)]
Whitespace cleanup
Eric Andersen [Fri, 30 Jul 2004 00:21:01 +0000 (00:21 -0000)]
Fix screwed up indenting
Eric Andersen [Wed, 28 Jul 2004 14:52:51 +0000 (14:52 -0000)]
Do not grovel about in the ELF header for the page size when
running on uClinux, which at runtime uses the FLAT file format.
Eric Andersen [Tue, 27 Jul 2004 23:14:44 +0000 (23:14 -0000)]
Be certain to include sys/sysmacros.h when major() and minor()
are being used
Eric Andersen [Tue, 27 Jul 2004 22:48:36 +0000 (22:48 -0000)]
Remove all reference to __GLIBC_HAVE_LONG_LONG
Eric Andersen [Mon, 26 Jul 2004 12:36:24 +0000 (12:36 -0000)]
Support linux 2.6.x wide device major/minor numbers
Eric Andersen [Wed, 21 Jul 2004 10:00:04 +0000 (10:00 -0000)]
Fix ftruncate64 and truncate64 for powerpc and mips
-Erik
Eric Andersen [Sat, 17 Jul 2004 22:39:13 +0000 (22:39 -0000)]
Update todo list
Eric Andersen [Sat, 17 Jul 2004 09:36:08 +0000 (09:36 -0000)]
Update sigaction for arm
Eric Andersen [Sat, 17 Jul 2004 00:39:14 +0000 (00:39 -0000)]
Add sigaction for mips
Manuel Novoa III [Fri, 16 Jul 2004 20:23:19 +0000 (20:23 -0000)]
Follow glibc's lead and add a gcc-3.4.1 required symbol to crt0.S.
Manuel Novoa III [Fri, 16 Jul 2004 20:22:22 +0000 (20:22 -0000)]
Hide the arm libfloat support for now. No longer needed for gcc 3.4.1 and
won't be needed for 3.3.4 either when I get some time to clean up that
toolchain which also suffers from the g++ include dir search order bug.
Eric Andersen [Fri, 16 Jul 2004 13:23:21 +0000 (13:23 -0000)]
Revert this stuff for now
Eric Andersen [Fri, 16 Jul 2004 11:09:34 +0000 (11:09 -0000)]
Pete Popov writes:
Hi Erik,
I'm not sure why the NIOS support is not in uClibc -- perhaps the patch
was rejected or never submitted? In any case, I'm playing with some NIOS
stuff and created this patch against 0.9.26. The work was done by
Microtronix. I'm not sure who else contributed to it. It would be great
to have the NIOS support available in uClibc so developers don't have to
go searching for these bits.
Pete
Eric Andersen [Thu, 15 Jul 2004 10:14:10 +0000 (10:14 -0000)]
Cleanup some cruft
Eric Andersen [Thu, 15 Jul 2004 09:21:07 +0000 (09:21 -0000)]
update packaging a bit
Eric Andersen [Thu, 15 Jul 2004 09:09:24 +0000 (09:09 -0000)]
Cleanup a few of the more egregiously broken sysconf values to
actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and
_SC_GETGR_R_SIZE_MAX were causing us problems with programs such
as libglib, since they were always returning -1, which is a bit
smaller than the actual passwd and group max buffer sizes.
-Erik
Eric Andersen [Thu, 15 Jul 2004 08:31:31 +0000 (08:31 -0000)]
_SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE
instead, but we are not such a system and should not propagate such things.
Eric Andersen [Thu, 15 Jul 2004 08:22:48 +0000 (08:22 -0000)]
_SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE
instead, but we are not such a system and should not propagate such things.
Eric Andersen [Thu, 15 Jul 2004 08:06:25 +0000 (08:06 -0000)]
Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.
Only use MAP_SHARED when mmu-less.
Eric Andersen [Thu, 15 Jul 2004 07:52:22 +0000 (07:52 -0000)]
Atsushi Nemoto writes:
This is a patch for uClibc/libc/sysdeps/linux/mips/sys/procfs.h pulled
from glibc CVS.
This fixes gdb with threaded application (with glibc environment).
Although debugging threaded programs seems not working on uClibc/mips
yet, this patch will be required when it becomes working.
This patch can be applied to any version of uClibc (including current
CVS).
Eric Andersen [Thu, 15 Jul 2004 07:34:00 +0000 (07:34 -0000)]
h8300 updates from Yoshinori Sato
Eric Andersen [Thu, 15 Jul 2004 07:05:07 +0000 (07:05 -0000)]
Patch from Yoshinori Sato to add H8/300 relocation types.
Eric Andersen [Thu, 15 Jul 2004 05:54:13 +0000 (05:54 -0000)]
Peter Kjellerstedt at axis.com writes:
Hello,
the attached patch should bring extra/config in line
with the Linux 2.6.7 sources.
The following are the commit messages for the respective
files from the Linux bk-repository:
checklist.c:
* fix menuconfig choice item help display
confdata.c:
* config: choice fix
* kconfig: don't rename target dir when saving config
expr.c, expr.h:
* config: disable debug prints
mconf.c:
* fix menuconfig choice item help display
menu.c:
* Kconfig: use select statements
symbol.c:
* config: choice fix
* Avoid bogus warning about recursive dependencies
* c99 struct initialiser conversions
textbox.c:
* janitor: don't init statics to 0
util.c:
* fix lxdialog behaviour
//Peter
Eric Andersen [Wed, 14 Jul 2004 23:07:46 +0000 (23:07 -0000)]
Sigh. I got things working this morning, then checked stuff in from the wrong
tree. Bad boy, No doughnut.
-Erik