OSDN Git Service
Mike Frysinger [Mon, 31 Jul 2006 20:21:45 +0000 (20:21 -0000)]
fix h_alias handling in gethostbyaddr_r() just like in gethostbyname_r()
otherwise we get messed up alias memory and this simple test case will
segfault:
python -c 'import socket; print socket.gethostbyaddr("80.68.88.204")[2];'
see bug report in blackfin tracker for more info:
http://blackfin.uclinux.org/tracker/index.php?func=detail&aid=1503&group_id=17&atid=141
Eric Andersen [Thu, 13 Jul 2006 17:06:43 +0000 (17:06 -0000)]
psm writes:
forgotten to mention to remove glob-hooks.c and the reference in
Makefile.in (the prototypes for the 3 hooks were already removed by the
patch applied here)
Peter
Eric Andersen [Thu, 13 Jul 2006 16:32:02 +0000 (16:32 -0000)]
patch from psm:
- malloc/realloc/free are not prepared to be hidable in trunk, you can't
use libc_hidden_proto(x) for them
- using libc_hidden_proto(x64) LFS unguarded will fail because the header
does not provide the prototype
- if you are using libc_hidden_proto(collated_compare|prefix_array), you
also need libc_hidden_def|_weak(x) after the function itself, the result
being to provide a hidden __GI_collated_compare and a visible
collated_compare, for this case I do not consider this necessary,
especially that collated_compare is hidden already (I have chosen to
prefix them with __ to know that they are intended to be internal only,
against the practice in glibc, you could go without prefix as well)
Mike Frysinger [Fri, 7 Jul 2006 19:10:34 +0000 (19:10 -0000)]
add some fun syscall TODOs and mark cris/bfin as working again
"Steven J. Hill" [Thu, 6 Jul 2006 01:40:24 +0000 (01:40 -0000)]
Remove SA_ONSTACK handling for ARM based up on glibc code as submitted by Paul Brook <paul@codesourcery.com>.
Mike Frysinger [Wed, 5 Jul 2006 23:35:08 +0000 (23:35 -0000)]
fix signed warnings with gcc-4
Mike Frysinger [Wed, 5 Jul 2006 23:31:34 +0000 (23:31 -0000)]
clean subdir as well
Mike Frysinger [Wed, 5 Jul 2006 23:21:22 +0000 (23:21 -0000)]
patch from Bernd Schmidt to abstract away initializing of relocation addresses
Eric Andersen [Wed, 5 Jul 2006 23:01:52 +0000 (23:01 -0000)]
remove jump relocs, with minor related cleanups
Eric Andersen [Wed, 5 Jul 2006 20:15:38 +0000 (20:15 -0000)]
bump the version, in preparation for actually cutting a release
at some point in the relatively near future.
Mike Frysinger [Wed, 5 Jul 2006 20:06:17 +0000 (20:06 -0000)]
bfin works again
Eric Andersen [Wed, 5 Jul 2006 19:52:39 +0000 (19:52 -0000)]
replace my @debian.org addr with @uclibc.org. Fixup license on
readelf and ldd to again state that they are GPLv2
Mike Frysinger [Wed, 5 Jul 2006 19:31:48 +0000 (19:31 -0000)]
patch from Bernd Schmidt to abstract away initializing of prog load addresses
Mike Frysinger [Wed, 5 Jul 2006 19:27:41 +0000 (19:27 -0000)]
convert #if 0 code to _dl_if_debug_print()
Mike Frysinger [Wed, 5 Jul 2006 19:24:48 +0000 (19:24 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 19:17:19 +0000 (19:17 -0000)]
patch from Bernd Schmidt to abstract away load address types
Mike Frysinger [Wed, 5 Jul 2006 19:05:55 +0000 (19:05 -0000)]
patch from Bernd Schmidt to abstract away load address checks
Mike Frysinger [Wed, 5 Jul 2006 19:04:29 +0000 (19:04 -0000)]
add some more rpaths to keep the tests happy
Eric Andersen [Wed, 5 Jul 2006 18:53:34 +0000 (18:53 -0000)]
fixup my copyright notice, trim stale remnants of older notices which
I had clearly run search/replace on that were cluttering things up.
Eric Andersen [Wed, 5 Jul 2006 18:38:37 +0000 (18:38 -0000)]
fixup my copyright notice, trim stale remnants of older notices which
I had clearly run search/replace on that were cluttering things up.
Eric Andersen [Wed, 5 Jul 2006 18:31:40 +0000 (18:31 -0000)]
minor updates
Mike Frysinger [Wed, 5 Jul 2006 11:23:04 +0000 (11:23 -0000)]
remove __ from function names as pointed out by Peter S. Mazinger
Mike Frysinger [Wed, 5 Jul 2006 10:58:38 +0000 (10:58 -0000)]
sync with glibc
Mike Frysinger [Wed, 5 Jul 2006 10:58:10 +0000 (10:58 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 10:53:20 +0000 (10:53 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 10:49:56 +0000 (10:49 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 10:48:29 +0000 (10:48 -0000)]
sync with glibc
Mike Frysinger [Wed, 5 Jul 2006 10:40:15 +0000 (10:40 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 10:36:32 +0000 (10:36 -0000)]
update license
Mike Frysinger [Wed, 5 Jul 2006 10:36:11 +0000 (10:36 -0000)]
add support for 32bit version of fchown
Mike Frysinger [Wed, 5 Jul 2006 10:35:49 +0000 (10:35 -0000)]
sync with glibc
Mike Frysinger [Wed, 5 Jul 2006 10:28:22 +0000 (10:28 -0000)]
fix license notice
Mike Frysinger [Wed, 5 Jul 2006 10:25:59 +0000 (10:25 -0000)]
fix license notice
Mike Frysinger [Wed, 5 Jul 2006 10:23:12 +0000 (10:23 -0000)]
fix license notice
Mike Frysinger [Wed, 5 Jul 2006 09:33:38 +0000 (09:33 -0000)]
missed an ElfW(Addr) change
Mike Frysinger [Wed, 5 Jul 2006 07:12:37 +0000 (07:12 -0000)]
Atsushi Nemoto writes: Some archs (such as mips64) do not have getdents64 syscall but have getdents syscall. Define alias for it.
Mike Frysinger [Wed, 5 Jul 2006 07:04:18 +0000 (07:04 -0000)]
patch from Bernd Schmidt to abstract away load addresses
Mike Frysinger [Wed, 5 Jul 2006 06:41:54 +0000 (06:41 -0000)]
use ElfW(Addr) in more places
Mike Frysinger [Wed, 5 Jul 2006 06:33:45 +0000 (06:33 -0000)]
boilerplate license we use
Mike Frysinger [Wed, 5 Jul 2006 06:27:44 +0000 (06:27 -0000)]
revert fdpic patch so we can merge it in bit by bit
Eric Andersen [Wed, 5 Jul 2006 00:55:43 +0000 (00:55 -0000)]
The ltp testsuite fails on x86 without the modify_ldt syscall
Eric Andersen [Tue, 4 Jul 2006 22:23:01 +0000 (22:23 -0000)]
Change symbol 'NOSTRIP' to 'DOSTRIP' since the double negatives
on i.e. NOSTRIP=n gets a bit confusing.
Eric Andersen [Tue, 4 Jul 2006 20:11:00 +0000 (20:11 -0000)]
cleanup description
Eric Andersen [Tue, 4 Jul 2006 17:31:28 +0000 (17:31 -0000)]
bug 469 was fixed by Atsushi Nemoto
Eric Andersen [Tue, 4 Jul 2006 10:59:15 +0000 (10:59 -0000)]
gcc 4.1.x is apparently miscompiling gnu glob on mips. This ports the latest and
massivly bloated greatest from glibc. And fixes things so the gnu glob interface
is no longer the default.
Eric Andersen [Mon, 3 Jul 2006 19:16:15 +0000 (19:16 -0000)]
references to the older "Library GPL" have already been changed to "Lesser GPL"
Eric Andersen [Mon, 3 Jul 2006 19:10:42 +0000 (19:10 -0000)]
Atsushi Nemoto writes:
current pipe.S seems broken for error case. For example, "la t0,
__syscall_error" should be "la t9, __syscall_error"? Jumping to
__syscall_error without reverting sp is correct?
I updated this patch against recent snapshot and tested: it looks OK.
* Get rid of saving/restoring a0. No need to adjust sp.
* Fix code in error path.
Mike Frysinger [Mon, 3 Jul 2006 18:58:14 +0000 (18:58 -0000)]
Atsushi Nemoto points out there is no more need for mips-specific ptrace.h
Mike Frysinger [Fri, 30 Jun 2006 02:55:57 +0000 (02:55 -0000)]
Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFs
Mike Frysinger [Fri, 30 Jun 2006 02:27:08 +0000 (02:27 -0000)]
Bernd Schmidt writes: too many semicolons!
Mike Frysinger [Tue, 27 Jun 2006 04:36:51 +0000 (04:36 -0000)]
revert previous nops in strcmp as they are not needed here
Mike Frysinger [Tue, 27 Jun 2006 03:35:42 +0000 (03:35 -0000)]
blackfin needs NOPs after the loop end when the last statement in the loop is an if/jump
Mike Frysinger [Mon, 26 Jun 2006 23:59:17 +0000 (23:59 -0000)]
if function or stack are NULL, make sure errno is set to EINVAL
Mike Frysinger [Mon, 26 Jun 2006 23:52:09 +0000 (23:52 -0000)]
use local labels
Mike Frysinger [Mon, 26 Jun 2006 23:45:38 +0000 (23:45 -0000)]
also kill gdb files when building BFLT files
Mike Frysinger [Mon, 26 Jun 2006 20:23:59 +0000 (20:23 -0000)]
Michael Troß writes: Yes, the missing initialization of uniqblock seems to cause all this trouble. Now gen_wctype works without the rlimit stack hack.
Mike Frysinger [Mon, 26 Jun 2006 20:22:09 +0000 (20:22 -0000)]
if we cannot generate a locale, be a bit more specific in telling the user we are skipping it
Mike Frysinger [Mon, 26 Jun 2006 20:20:11 +0000 (20:20 -0000)]
Michael Troß writes:
gen_wctype segfaults on my system when optimized with -O2. It does work
without optimization, even -O1 does not cause the segfault. Problem is in
newopt, at gen_wctype.c:865:
memcpy(tbl->ti + i * blocksize, ti[uniqblock[i]], blocksize);
The segfault is caused by the uninitialized variable uniqblock when
newopt is called recursively. The attached patch fixes this.
"Steven J. Hill" [Sat, 24 Jun 2006 23:21:00 +0000 (23:21 -0000)]
Update ARM EABI kernel interface due to layout and size of struct stat64.
Mike Frysinger [Wed, 21 Jun 2006 20:59:48 +0000 (20:59 -0000)]
fix hidden symbols
Mike Frysinger [Wed, 21 Jun 2006 20:44:37 +0000 (20:44 -0000)]
remove bogus lines
Mike Frysinger [Wed, 21 Jun 2006 20:44:28 +0000 (20:44 -0000)]
allow arches to easily override asm-line-sep, move cris over to new style, and have hppa use it now
Mike Frysinger [Wed, 21 Jun 2006 18:03:08 +0000 (18:03 -0000)]
sync my fixes from glibc
Mike Frysinger [Wed, 21 Jun 2006 16:55:56 +0000 (16:55 -0000)]
merge bfin relocations from blackfin cvs
Peter Kjellerstedt [Wed, 21 Jun 2006 11:21:48 +0000 (11:21 -0000)]
Added a missing baud rate (614400) to the speeds[] table.
Mike Frysinger [Wed, 21 Jun 2006 00:07:34 +0000 (00:07 -0000)]
Austin Morgan writes in #917: add support for inotify
Mike Frysinger [Tue, 20 Jun 2006 23:38:00 +0000 (23:38 -0000)]
need hidden proto for rtime() as well
Mike Frysinger [Tue, 20 Jun 2006 22:44:11 +0000 (22:44 -0000)]
dont bother exporting modify_ldt() either
Mike Frysinger [Mon, 19 Jun 2006 22:15:42 +0000 (22:15 -0000)]
eat extraneous ; and insert some whitespace where it belongs
Mike Frysinger [Mon, 19 Jun 2006 22:02:11 +0000 (22:02 -0000)]
eat whitespace
Mike Frysinger [Mon, 19 Jun 2006 03:43:20 +0000 (03:43 -0000)]
use internal aliases for static objects as well
Mike Frysinger [Mon, 19 Jun 2006 01:54:33 +0000 (01:54 -0000)]
sync fix fixes from glibc
Mike Frysinger [Mon, 19 Jun 2006 01:48:41 +0000 (01:48 -0000)]
kill off sysfs()
Mike Frysinger [Mon, 19 Jun 2006 01:19:21 +0000 (01:19 -0000)]
touchup printf format to fix warning
Mike Frysinger [Mon, 19 Jun 2006 01:16:44 +0000 (01:16 -0000)]
dont shadow the socket() function
Mike Frysinger [Mon, 19 Jun 2006 01:13:53 +0000 (01:13 -0000)]
include sys/mount.h for everyone
Mike Frysinger [Mon, 19 Jun 2006 01:06:53 +0000 (01:06 -0000)]
need hidden alias
Mike Frysinger [Mon, 19 Jun 2006 00:45:38 +0000 (00:45 -0000)]
if $(LD) doesnt support --help, dont warn about it (stupid Darwin users)
Mike Frysinger [Sun, 18 Jun 2006 04:32:38 +0000 (04:32 -0000)]
blackfin needs different type for ssize_t
Mike Frysinger [Fri, 16 Jun 2006 03:27:00 +0000 (03:27 -0000)]
sync change from glibc for larger path max
Mike Frysinger [Thu, 15 Jun 2006 14:09:25 +0000 (14:09 -0000)]
fix from Jie Zhang to also declare R0 as clobber in syscall0
Mike Frysinger [Wed, 14 Jun 2006 16:32:05 +0000 (16:32 -0000)]
update syscall() to take 6 arguments
Mike Frysinger [Thu, 8 Jun 2006 21:15:07 +0000 (21:15 -0000)]
we build everything with _GNU_SOURCE now
Mike Frysinger [Thu, 8 Jun 2006 19:12:04 +0000 (19:12 -0000)]
need local prototype to make things happy
Mike Frysinger [Thu, 8 Jun 2006 09:28:09 +0000 (09:28 -0000)]
drop the __sigqueue symbol for now
Mike Frysinger [Thu, 8 Jun 2006 09:26:14 +0000 (09:26 -0000)]
add support for 5th argument
Peter Kjellerstedt [Thu, 8 Jun 2006 07:55:21 +0000 (07:55 -0000)]
A little whitespace clean up.
Peter Kjellerstedt [Thu, 8 Jun 2006 07:47:07 +0000 (07:47 -0000)]
Use tar rather than cp to copy all files matching *.so.* from the lib
directory to $(PREFIX)$(RUNTIME_PREFIX)lib. The reason for this is
that cp -P means wildly different things depending on the version of cp.
Mike Frysinger [Wed, 7 Jun 2006 14:59:44 +0000 (14:59 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:56:49 +0000 (14:56 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:55:44 +0000 (14:55 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:46:59 +0000 (14:46 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:43:15 +0000 (14:43 -0000)]
add hidden proto for memset as pointed out by Peter S. Mazinger
Mike Frysinger [Wed, 7 Jun 2006 14:30:51 +0000 (14:30 -0000)]
Richard Sandiford writes:
Until a few months ago, libc/sysdeps/linux/m68k/clone.S defined
__syscall_error itself. This local definition was removed in
revision 13305:
However, the clone code uses bcc.w to branch to __syscall_error.
This made sense when there was a local definition, because the
label was guaranteed to be in range. We can't guarantee that
the external definition will be in range though; it depends on
the order that the objects are linked.
This patch adjusts clone.S to use jbcc instead.
Mike Frysinger [Wed, 7 Jun 2006 14:29:19 +0000 (14:29 -0000)]
Richard Sandiford writes:
m68k uClinux doesn't use the normal ELF entry point interface.
This patch adjusts crt1.S accordingly. I've followed the ARM
example and keyed the choice of interface on __ARCH_USE_MMU__.
Mike Frysinger [Wed, 7 Jun 2006 14:18:51 +0000 (14:18 -0000)]
use unsigned long like every other port as pointed out by Peter S. Mazinger
Mike Frysinger [Wed, 7 Jun 2006 12:31:21 +0000 (12:31 -0000)]
bfin supports FDPIC, not normal ELF
Mike Frysinger [Wed, 7 Jun 2006 12:30:17 +0000 (12:30 -0000)]
blackfin kernel now supports mmap with 6 args
Mike Frysinger [Wed, 7 Jun 2006 12:30:09 +0000 (12:30 -0000)]
merge syscall fixes from upstream blackfin cvs
Mike Frysinger [Mon, 5 Jun 2006 01:28:51 +0000 (01:28 -0000)]
import sigqueueinfo() from glibc