Age | Commit message (Collapse) | Author |
|
|
|
|
|
Here's a patch that implements the beginnings of a rudimentary sh64 port. So
far, this only works static, as I haven't done any of the ldso work yet. I've
also not touched the libpthread stuff yet either, so that's also disabled for
now.
This port was based off of some work that Sean McGoogan at SuperH did for his
initial port, but the this patch doesn't carry over too much from there
(basically the libc/sysdeps/linux/sh64/Makefile (or rather, parts of it),
the setjmp/longjmp stuff (which I had to rewrite portions of it to work with
the new toolchains), etc.).
However, for static, everything appears to work correcly, at least in a hello
world type application.
|
|
want glibc style malloc(0) behavior
|
|
|
|
Should be standards compliant and with several optional features,
including support for hexadecimal float notation, locale awareness,
glibc-like locale-specific digit grouping with the `'' flag, and
positional arg support. I tested it pretty well (finding several
bugs in glibc's scanf in the process), but it is brand new so be
aware.
The *wprintf functions now support floating point output. Also, a
couple of bugs were squashed. Finally, %a/%A conversions are
now implemented.
Implement the glibc xlocale interface for thread-specific locale
support. Also add the various *_l(args, locale_t loc_arg) funcs.
NOTE!!! setlocale() is NOT threadsafe! NOTE!!!
The strto{floating point} conversion functions are now locale aware.
The also now support hexadecimal floating point notation.
Add the wcsto{floating point} conversion functions.
Fix a bug in mktime() related to dst. Note that unlike glibc's mktime,
uClibc's version always normalizes the struct tm before attempting
to determine the correct dst setting if tm_isdst == -1 on entry.
Add a stub version of the libintl functions. (untested)
Fixed a known memory leak in setlocale() related to the collation data.
Add lots of new config options (which Erik agreed to sort out :-),
including finally exposing some of the stripped down stdio configs.
Be careful with those though, as they haven't been tested in a
long time.
(temporary) GOTCHAs...
The ctype functions are currently incorrect for 8-bit locales. They
will be fixed shortly.
The ctype functions are now table-based, resulting in larger staticly
linked binaries. I'll be adding an option to use the old approach
in the stub locale configuration.
|
|
|
|
So put it where it is supposed to be.
-Erik
|
|
instead for mips, which should be a bit faster and will be safer too.
|
|
The gnu ld and binutils for mips has a bug with relocation.
It is possible for a relocation table to be created that is not able to be loaded correctly.
We found this with the intersil wireless driver port.
To enable a correctly created mips relocation table (either a .o, or ld -r) it is necessary
to turn off one of the instruction re-scheduling passes.
Specifically, on mips-gcc -fno-schedule-insns2 is needed.
This is an FYI. The bug has been reported to the appropriate mailing lists.
This patch is an effort to avoid this problem on mips.
-Erik
|
|
|
|
|
|
for different things.
|
|
|
|
option, to avoid the possibility of adding non PIC code into the shared PIC
uClibc library, thereby making the .text segment unshareable.
|
|
x86 compiler optimization to not force building i386 opcodes.
|
|
patch from Stefan Allius (though the extra/config/Makefile
rework is mine),
-Erik
|
|
Added option for selecting cris architecure type. For now, only CRIS is
available.
Added a default configuration for cris.
|
|
-Erik
|
|
configurable, so people who do not need or want ctor/dtor support
can disable it and make their binaries a little bit smaller.
-Erik
|
|
|
|
|
|
|
|
- Invert all FORCE_SHAREABLE_TEXT_SEGMENTS checks.
- Define FORCE_SHAREABLE_TEXT_SEGMENTS in the Makefile,
so it can be configured by the config system.
- linuxelf.h inspects that we don't combine FORCE_SHAREABLE_TEXT_SEGMENTS
and SVR4_BUGCOMPAT
- Add a new config option for FORCE_SHAREABLE_TEXT_SEGMENTS
|
|
on malloc (via realloc).
-Erik
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stefan Allius, which adds a great deal of sanity.
|
|
|
|
|
|
|
|
|
|
to set the default.
(HAS_FPU): Depend on !ARCH_HAS_NO_FPU.
(USE_GCC_SOFT_FLOAT_OPTION): New option.
|
|
(UCLIBC_HAS_FULL_RPC): default to `y' if !HAVE_SHARED.
(SYSTEM_LDSO): Depend on HAVE_SHARED.
(DOASSERTS): New option.
|
|
|
|
Move all configuration options into the new config system.
-Erik
|
|
|
|
|
|
|
|
config system. Hopefully I got everything here correct...
-Erik
|