OSDN Git Service
Mike Frysinger [Fri, 20 Jan 2006 23:35:34 +0000 (23:35 -0000)]
fix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:30:01 +0000 (23:30 -0000)]
need sys/syscall.h for __NR_fork define
Mike Frysinger [Fri, 20 Jan 2006 23:27:30 +0000 (23:27 -0000)]
fix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:20:36 +0000 (23:20 -0000)]
need unistd.h for brk prototype
Mike Frysinger [Fri, 20 Jan 2006 23:14:07 +0000 (23:14 -0000)]
fix building/warnings on 64bit arches
Mike Frysinger [Fri, 20 Jan 2006 23:07:42 +0000 (23:07 -0000)]
fix warning when sizeof uchar_t is 8 bits
Mike Frysinger [Fri, 20 Jan 2006 23:00:55 +0000 (23:00 -0000)]
disable deprecated warnings for some files
Mike Frysinger [Fri, 20 Jan 2006 22:46:29 +0000 (22:46 -0000)]
grab some macros for internal ldso usage and fix strong_alias/hidden_strong_alias when .set support is disabled
Peter S. Mazinger [Fri, 20 Jan 2006 19:22:13 +0000 (19:22 -0000)]
Correct comments, thx vapier
Peter S. Mazinger [Fri, 20 Jan 2006 18:01:06 +0000 (18:01 -0000)]
Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast
Mike Frysinger [Fri, 20 Jan 2006 12:13:26 +0000 (12:13 -0000)]
didnt mean to commit the FENV option just yet
Peter S. Mazinger [Fri, 20 Jan 2006 11:59:06 +0000 (11:59 -0000)]
Add -D_GNU_SOURCE to CFLAGS, else openpty picks the XOPEN variant of fd_set
Peter S. Mazinger [Fri, 20 Jan 2006 11:43:18 +0000 (11:43 -0000)]
Correct wordexp, I have hidden for now __libc_arg[c,v], there is no other use within uClibc, depends on fnmatch as well
Peter S. Mazinger [Fri, 20 Jan 2006 11:38:31 +0000 (11:38 -0000)]
Correction if UNIX98PTY_ONLY is not enabled
Peter S. Mazinger [Fri, 20 Jan 2006 05:21:11 +0000 (05:21 -0000)]
Use libm_ARCH_DIR and cleanup all possible archs
Mike Frysinger [Fri, 20 Jan 2006 02:11:06 +0000 (02:11 -0000)]
move some generic arch rules up a level to remove duplication
Mike Frysinger [Fri, 20 Jan 2006 00:59:47 +0000 (00:59 -0000)]
s/TARGET_ARCH_FEATURES/FORCE_OPTIONS_FOR_ARCH/ to fix sed breakage as pointed out by Joseph S. Myers
Mike Frysinger [Fri, 20 Jan 2006 00:39:34 +0000 (00:39 -0000)]
update copyright years
Mike Frysinger [Fri, 20 Jan 2006 00:39:20 +0000 (00:39 -0000)]
move the sh64 code out of the sh header
Mike Frysinger [Thu, 19 Jan 2006 22:41:17 +0000 (22:41 -0000)]
fix breakage from HAVE_ELF removal and standardize all the arch config files
Peter S. Mazinger [Thu, 19 Jan 2006 22:15:00 +0000 (22:15 -0000)]
no need for libm_DEF
Peter S. Mazinger [Thu, 19 Jan 2006 22:08:15 +0000 (22:08 -0000)]
Add multi to libintl
Peter S. Mazinger [Thu, 19 Jan 2006 21:51:09 +0000 (21:51 -0000)]
With one source or syscall only sources there is no use of IMA
Peter S. Mazinger [Thu, 19 Jan 2006 21:17:01 +0000 (21:17 -0000)]
Forgotten about the clean target
Peter S. Mazinger [Thu, 19 Jan 2006 21:15:24 +0000 (21:15 -0000)]
Add multi support to linuxthread_db
Peter S. Mazinger [Thu, 19 Jan 2006 21:12:36 +0000 (21:12 -0000)]
Correct strip display in multi mode
Peter S. Mazinger [Thu, 19 Jan 2006 20:43:50 +0000 (20:43 -0000)]
Add multi support to libm, remove lib*-multi-y, unneeded
Peter S. Mazinger [Thu, 19 Jan 2006 17:50:23 +0000 (17:50 -0000)]
Remove HAVE_ELF
Peter S. Mazinger [Thu, 19 Jan 2006 16:36:21 +0000 (16:36 -0000)]
Get rid of *_SYMBOL_PREFIX
Peter S. Mazinger [Thu, 19 Jan 2006 16:22:08 +0000 (16:22 -0000)]
Import some need bits from glibc to libc-internal.h, hidden_weak_alias gone, hidden_strong_alias adapted, HAVE_ELF defined always, __SYMBOL_PREFIX removed
Peter S. Mazinger [Thu, 19 Jan 2006 15:44:53 +0000 (15:44 -0000)]
Change to sane defaults
Peter S. Mazinger [Thu, 19 Jan 2006 15:43:51 +0000 (15:43 -0000)]
Remove MMAP_HAS_6_ARGS
Mike Frysinger [Thu, 19 Jan 2006 10:41:40 +0000 (10:41 -0000)]
would help if i used the right variable name ...
Mike Frysinger [Thu, 19 Jan 2006 10:38:25 +0000 (10:38 -0000)]
Frank Mehnert writes:
in ldso/ldso.c, function _dl_get_ready_to_run, the variable app_tpnt_tmp
is not initialized. The function _dl_parse_dynamic_info() initializes
some of their members but not all. For example, if the binary does _not_
contain a DT_TEXTREL record, it is possible that the condition
if (app_tpnt->dynamic_info[DT_TEXTREL])
is nevertheless true and we therefore enter the following code path
(ldso.c:270).
My suggestion is to add
_dl_memset(&app_tpnt_rel, 0, sizeof(app_tpnt_rel));
just behind the variable declarations of _dl_get_ready_to_run().
Mike Frysinger [Thu, 19 Jan 2006 10:32:43 +0000 (10:32 -0000)]
update sparc code using x86_64 as a template
Mike Frysinger [Thu, 19 Jan 2006 10:31:33 +0000 (10:31 -0000)]
first pass at updating sparc ldso with code from glibc
Mike Frysinger [Thu, 19 Jan 2006 10:25:27 +0000 (10:25 -0000)]
update syscall macros so both ldso and libc can use them
Mike Frysinger [Thu, 19 Jan 2006 10:02:23 +0000 (10:02 -0000)]
move a bunch of arch-specific checks out of common files and into an arch specific header file to make porting/updates a lot easier
Mike Frysinger [Thu, 19 Jan 2006 09:38:38 +0000 (09:38 -0000)]
note a few more places where glibc stores their stuff
Peter S. Mazinger [Thu, 19 Jan 2006 09:17:43 +0000 (09:17 -0000)]
Correct unimportant typo
Eric Andersen [Thu, 19 Jan 2006 03:30:52 +0000 (03:30 -0000)]
Some minor updates. Looked pretty good as-is.
Eric Andersen [Thu, 19 Jan 2006 02:23:04 +0000 (02:23 -0000)]
Joseph S. Myers writes:
libc/sysdeps/linux/arm/ioperm.c on trunk fails to compile for me because
of no declaration of ioperm at the point where libc_hidden_proto(ioperm)
requires one. Including <sys/io.h> to get the declaration then shows up
that various types are inconsistent with that header; this patch fixes
things so that file compiles.
Eric Andersen [Thu, 19 Jan 2006 02:19:51 +0000 (02:19 -0000)]
Joseph S. Myers writes:
sys/syscall.h uses the IS_IN_libc define before including any header that
includes libc-internal.h (where IS_IN_libc is defined). This patch makes
sys/syscall.h include features.h to get the IS_IN_libc define where
appropriate.
Mike Frysinger [Thu, 19 Jan 2006 00:32:07 +0000 (00:32 -0000)]
initial attempt at documenting how to port uClibc
Mike Frysinger [Thu, 19 Jan 2006 00:04:54 +0000 (00:04 -0000)]
give a little info as to what the file should contain
Mike Frysinger [Thu, 19 Jan 2006 00:04:05 +0000 (00:04 -0000)]
give a little info as to what the file should contain
Mike Frysinger [Wed, 18 Jan 2006 23:49:31 +0000 (23:49 -0000)]
s/HAS_FPU/UCLIBC_HAS_FPU/
Mike Frysinger [Wed, 18 Jan 2006 23:49:13 +0000 (23:49 -0000)]
change HAS_FPU to UCLIBC_HAS_FPU since the define will be exported into C namespace
Mike Frysinger [Wed, 18 Jan 2006 23:46:57 +0000 (23:46 -0000)]
fix UCLIBC_STATIC_LDCONFIG location in menus and touchup display for other shared lib options
Mike Frysinger [Wed, 18 Jan 2006 23:41:17 +0000 (23:41 -0000)]
old
Mike Frysinger [Wed, 18 Jan 2006 23:40:51 +0000 (23:40 -0000)]
sync fenv.h with glibc
Peter S. Mazinger [Wed, 18 Jan 2006 22:26:50 +0000 (22:26 -0000)]
Remove unused CLOCK_IDFIELD_SIZE, not in glibc
Peter S. Mazinger [Wed, 18 Jan 2006 21:12:52 +0000 (21:12 -0000)]
Add target strip command and use it, also disable for now CFLAGS-multi-y, after splitting all MSRC, it won't be needed
Peter S. Mazinger [Wed, 18 Jan 2006 21:05:37 +0000 (21:05 -0000)]
Add IMA build rules
Peter S. Mazinger [Wed, 18 Jan 2006 20:59:37 +0000 (20:59 -0000)]
modify IMA compiling rule and add linking rule
Peter S. Mazinger [Wed, 18 Jan 2006 19:36:36 +0000 (19:36 -0000)]
Don't include twice features.h and correct typo
Peter S. Mazinger [Wed, 18 Jan 2006 16:52:07 +0000 (16:52 -0000)]
Make gcc4 happy as well
Mike Frysinger [Wed, 18 Jan 2006 12:16:01 +0000 (12:16 -0000)]
check for signal existence rather than using arch defines
Mike Frysinger [Wed, 18 Jan 2006 12:11:42 +0000 (12:11 -0000)]
get rid of alpha defines
Mike Frysinger [Wed, 18 Jan 2006 12:10:22 +0000 (12:10 -0000)]
get rid of arch specific checks
Peter S. Mazinger [Tue, 17 Jan 2006 17:57:34 +0000 (17:57 -0000)]
correct prototypes and 1 reloc less
Peter S. Mazinger [Tue, 17 Jan 2006 16:02:02 +0000 (16:02 -0000)]
Build if GETC_MACRO use is disabled
Peter S. Mazinger [Tue, 17 Jan 2006 12:52:22 +0000 (12:52 -0000)]
Remove unused prototypes
Peter S. Mazinger [Tue, 17 Jan 2006 10:01:28 +0000 (10:01 -0000)]
Add libc_pthread_init to libc.a as well, should correct bug reported to ml
Peter S. Mazinger [Tue, 17 Jan 2006 09:57:47 +0000 (09:57 -0000)]
Remove __P() and add attribute_hidden to internal prototypes
Peter S. Mazinger [Tue, 17 Jan 2006 09:55:05 +0000 (09:55 -0000)]
Remove explicit signgam prototype, use header instead
Peter S. Mazinger [Tue, 17 Jan 2006 09:54:08 +0000 (09:54 -0000)]
last math related global data reloc (_LIB_VERSION) removed
Mike Frysinger [Tue, 17 Jan 2006 01:01:08 +0000 (01:01 -0000)]
use the 6-arg version of mmap where available
Mike Frysinger [Tue, 17 Jan 2006 01:00:04 +0000 (01:00 -0000)]
cut out unused code
Mike Frysinger [Tue, 17 Jan 2006 00:59:09 +0000 (00:59 -0000)]
cleanup whitespace
Mike Frysinger [Tue, 17 Jan 2006 00:55:04 +0000 (00:55 -0000)]
update strcoll stuff
Mike Frysinger [Tue, 17 Jan 2006 00:54:49 +0000 (00:54 -0000)]
m68k now has syscall()
Mike Frysinger [Tue, 17 Jan 2006 00:54:27 +0000 (00:54 -0000)]
sync some stuff from glibc and fix __hidden_ver1() for targets that define a USER_PREFIX (like bfin)
Mike Frysinger [Tue, 17 Jan 2006 00:41:23 +0000 (00:41 -0000)]
since just about everyone uses return _dl_elf_main for START() now, make it the default
Peter S. Mazinger [Tue, 17 Jan 2006 00:01:09 +0000 (00:01 -0000)]
All math related relocs gone
Peter S. Mazinger [Mon, 16 Jan 2006 21:54:26 +0000 (21:54 -0000)]
Update license
Peter S. Mazinger [Mon, 16 Jan 2006 21:48:02 +0000 (21:48 -0000)]
Update license
Peter S. Mazinger [Mon, 16 Jan 2006 21:43:29 +0000 (21:43 -0000)]
Update license
Peter S. Mazinger [Mon, 16 Jan 2006 21:42:11 +0000 (21:42 -0000)]
Update license
Peter S. Mazinger [Mon, 16 Jan 2006 21:39:33 +0000 (21:39 -0000)]
Convert to hidden_def
Peter S. Mazinger [Mon, 16 Jan 2006 21:25:09 +0000 (21:25 -0000)]
Convert to hidden_def
Peter S. Mazinger [Mon, 16 Jan 2006 21:05:24 +0000 (21:05 -0000)]
jump relocs removed
Peter S. Mazinger [Mon, 16 Jan 2006 18:29:52 +0000 (18:29 -0000)]
s/weak_alias/strong_alias/, only what I knew as needed are kept. We will now see what libpthread will do ...
Peter S. Mazinger [Mon, 16 Jan 2006 18:27:44 +0000 (18:27 -0000)]
Correct a typo
Peter S. Mazinger [Mon, 16 Jan 2006 18:07:18 +0000 (18:07 -0000)]
Last relocs jump and global data, (even locales) that I could remove are gone from libc. The remaining are left as exercise for others ;-)
Mike Frysinger [Mon, 16 Jan 2006 11:09:02 +0000 (11:09 -0000)]
touchup style
Peter S. Mazinger [Mon, 16 Jan 2006 00:20:22 +0000 (00:20 -0000)]
some global data relocs gone
Peter S. Mazinger [Sun, 15 Jan 2006 22:41:03 +0000 (22:41 -0000)]
make gcc4 happy w/ hidden_def/proto, correct some typos
Mike Frysinger [Sun, 15 Jan 2006 19:36:32 +0000 (19:36 -0000)]
syscall6
Mike Frysinger [Sun, 15 Jan 2006 19:35:26 +0000 (19:35 -0000)]
only build if we have fork
Mike Frysinger [Sun, 15 Jan 2006 18:51:41 +0000 (18:51 -0000)]
Thomas Chou: fix misplaced comment
Peter S. Mazinger [Sun, 15 Jan 2006 18:41:50 +0000 (18:41 -0000)]
make tzset jump reloc free if UCLIBC_HAS_CTYPE_CTABLES is not enabled
Peter S. Mazinger [Sun, 15 Jan 2006 18:40:17 +0000 (18:40 -0000)]
Correct old_vfprintf internal version and make it reloc free
Peter S. Mazinger [Sun, 15 Jan 2006 18:39:29 +0000 (18:39 -0000)]
Remove __XL(N) and __XL_ALIAS(N) adapting the last use of it
Peter S. Mazinger [Sun, 15 Jan 2006 17:59:48 +0000 (17:59 -0000)]
get rid of warning if UCLIBC_HAS_CTYPE_TABLES is not enabled
Peter S. Mazinger [Sun, 15 Jan 2006 11:18:13 +0000 (11:18 -0000)]
hide __glob_*dir_hook
Peter S. Mazinger [Sun, 15 Jan 2006 10:41:20 +0000 (10:41 -0000)]
revert 13331 and sync partly header w/ glibc, __sysv_signal is referenced in header, keep it visible
Mike Frysinger [Sun, 15 Jan 2006 10:30:54 +0000 (10:30 -0000)]
only declare vfork when needed, else no-mmu build fails
Mike Frysinger [Sun, 15 Jan 2006 09:09:50 +0000 (09:09 -0000)]
add syscall() by d1mag in Bug 164
Mike Frysinger [Sun, 15 Jan 2006 02:49:03 +0000 (02:49 -0000)]
nios no longer needs crt0.o