OSDN Git Service

uclinux-h8/uClibc.git
20 years agoJoakim Tjernlund writes:
Eric Andersen [Sat, 14 Feb 2004 11:30:39 +0000 (11:30 -0000)]
Joakim Tjernlund writes:

Hi it is me again.

This is the latest ldso patch. the NEW weak symbol handling works now
with a little special handling in _dl_find_hash(). You get to chose
if you want the new or old handling :)

There was 2 missing _dl_check_if_named_library_is_loaded() calls in _dlopen().

I then disabled the _dl_check_if_named_library_is_loaded() in dl-elf.c since
it is rendundant.

Question, why does some _dl_linux_resolver(), like i386, have 2 calls
to _dl_find_hash()? I think that is wrong, isn't it?

I really hope you can check this out soon ...

20 years agoYet more fixups..
Eric Andersen [Fri, 13 Feb 2004 11:11:10 +0000 (11:11 -0000)]
Yet more fixups..

20 years agoDone free path if it equals not_found
Eric Andersen [Fri, 13 Feb 2004 11:05:36 +0000 (11:05 -0000)]
Done free path if it equals not_found
Remember to flose an fopened file

20 years agoAnother little touch up to avoid problems...
Eric Andersen [Fri, 13 Feb 2004 11:01:02 +0000 (11:01 -0000)]
Another little touch up to avoid problems...

20 years agoA better fix...
Eric Andersen [Fri, 13 Feb 2004 10:56:43 +0000 (10:56 -0000)]
A better fix...

20 years agoFix the annoying "not a dynamic executable" problem when running ldd
Eric Andersen [Fri, 13 Feb 2004 10:52:41 +0000 (10:52 -0000)]
Fix the annoying "not a dynamic executable" problem when running ldd
on libuClibc

20 years agoCleanup whitespace and formatting
Eric Andersen [Fri, 13 Feb 2004 10:39:59 +0000 (10:39 -0000)]
Cleanup whitespace and formatting

20 years agoAvoid potential double free when locate_library_file() is used
Eric Andersen [Fri, 13 Feb 2004 09:51:32 +0000 (09:51 -0000)]
Avoid potential double free when locate_library_file() is used
on fully resolved names

20 years agoOops.. The custom stream funcs should only be compiled if wanted.
Manuel Novoa III [Fri, 13 Feb 2004 01:03:48 +0000 (01:03 -0000)]
Oops.. The custom stream funcs should only be compiled if wanted.

20 years agoBased on a problem report and patch from Florian Schirmer, fix a compile
Eric Andersen [Thu, 12 Feb 2004 08:51:21 +0000 (08:51 -0000)]
Based on a problem report and patch from Florian Schirmer, fix a compile
problem with mips -- contrary to my expectation gcc on mips _always_ defines
__PIC__ which breaks the assumption inherent in my code.  This should fix
things up.

20 years agoMore todo list updates
Eric Andersen [Thu, 12 Feb 2004 06:59:32 +0000 (06:59 -0000)]
More todo list updates

20 years agoPaul Mundt lethal at linux-sh dot org writes:
Eric Andersen [Thu, 12 Feb 2004 00:38:34 +0000 (00:38 -0000)]
Paul Mundt lethal at linux-sh dot org writes:

We can't use trapa #0xff on sh2, the only permissible trapa ranges are
32 to 63. On SH-2, we use trapa32 to issue a break in the same way that
trapa #0xff is used on SH-3/4. This behavior is implementation specific,
but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow
suit here.

20 years agoAdd missing mips specific include/sys/user.h
Eric Andersen [Thu, 12 Feb 2004 00:28:04 +0000 (00:28 -0000)]
Add missing mips specific include/sys/user.h

20 years agoAdd our own copies of the include/scsi header files, per what glibc
Eric Andersen [Thu, 12 Feb 2004 00:18:33 +0000 (00:18 -0000)]
Add our own copies of the include/scsi header files, per what glibc
does, rather than depending on the kernel header files.
 -Erik

20 years agoNew stdio core. Should be more maintainable. Fixes a couple of bugs.
Manuel Novoa III [Wed, 11 Feb 2004 23:48:50 +0000 (23:48 -0000)]
New stdio core.  Should be more maintainable.  Fixes a couple of bugs.
  Codepaths streamlined.  Improved performance for nonthreaded apps
  when linked with a thread-enabled libc.
Minor iconv bug and some locale/thread related startup issues fixed.
  These showed up in getting a gcj-compiled java helloworld app running.
Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.

20 years agoFix bug from the syscall reorganization, detected by python's test_poll.py.
Manuel Novoa III [Wed, 11 Feb 2004 16:56:14 +0000 (16:56 -0000)]
Fix bug from the syscall reorganization, detected by python's test_poll.py.
The #ifdef __NR_poll test was failing because it was done before any includes.
Hence, the emulation was always being used.

NOTE: The emulation fails a couple of tests in test_poll.py!

20 years agoyet another todo item
Eric Andersen [Wed, 11 Feb 2004 11:03:32 +0000 (11:03 -0000)]
yet another todo item

20 years agomention valgrind/atexit annoyance
Eric Andersen [Wed, 11 Feb 2004 03:00:17 +0000 (03:00 -0000)]
mention valgrind/atexit annoyance

20 years agoUpdate TODO list with some items for 1.0
Eric Andersen [Wed, 11 Feb 2004 02:48:13 +0000 (02:48 -0000)]
Update TODO list with some items for 1.0

20 years agoDo not include the create_module syscall if it is not present
Eric Andersen [Tue, 10 Feb 2004 20:52:00 +0000 (20:52 -0000)]
Do not include the create_module syscall if it is not present

20 years agoEliminate the PIE support option, and simply support that all the time
Eric Andersen [Tue, 10 Feb 2004 13:31:43 +0000 (13:31 -0000)]
Eliminate the PIE support option, and simply support that all the time

20 years agoFix function prototype to match the official ELF standard hash function
Eric Andersen [Tue, 10 Feb 2004 11:47:57 +0000 (11:47 -0000)]
Fix function prototype to match the official ELF standard hash function

20 years agoFixup header file naming
Eric Andersen [Tue, 10 Feb 2004 09:41:56 +0000 (09:41 -0000)]
Fixup header file naming

20 years agoclean trailing whitespace
Eric Andersen [Tue, 10 Feb 2004 09:40:18 +0000 (09:40 -0000)]
clean trailing whitespace

20 years agoRework file naming, aiming for at least a vague level of consistancy
Eric Andersen [Tue, 10 Feb 2004 09:26:57 +0000 (09:26 -0000)]
Rework file naming, aiming for at least a vague level of consistancy

20 years agooops, manditory forgotten patch
Eric Andersen [Tue, 10 Feb 2004 06:54:27 +0000 (06:54 -0000)]
oops, manditory forgotten patch

20 years agoFixup the definition of _dl_open, and move some bits back where they were,
Eric Andersen [Tue, 10 Feb 2004 06:50:28 +0000 (06:50 -0000)]
Fixup the definition of _dl_open, and move some bits back where they were,
till I properly finish the next step in my evil plan.

20 years agoNicolas Pitre writes:
Eric Andersen [Mon, 9 Feb 2004 07:10:38 +0000 (07:10 -0000)]
Nicolas Pitre writes:

Hello Erik,

My patch adding ARM assembly soft-float routines to gcc also changes the
default FPA float word ordering for the saner VFP word ordering which is
also the order anyone would expect on a little endian machine.

Problem is that uClibc curently hardwire floats to big endian (FPA) ordering
in all cases.

Please consider the attached patch to fix this problem.

Nicolas

20 years agoMove _dl_printf and _dl_malloc to ldso, which is a more sensible
Eric Andersen [Sun, 8 Feb 2004 10:59:52 +0000 (10:59 -0000)]
Move _dl_printf and _dl_malloc to ldso, which is a more sensible
location for this stuff

20 years agoCleanup whitespace and formatting
Eric Andersen [Sun, 8 Feb 2004 10:57:59 +0000 (10:57 -0000)]
Cleanup whitespace and formatting

20 years agoAdd some permissions when creating the logfile
Eric Andersen [Sun, 8 Feb 2004 07:57:37 +0000 (07:57 -0000)]
Add some permissions when creating the logfile

20 years agoThanks to Joakim's recent paches, we can now remove the FIXME
Eric Andersen [Sat, 7 Feb 2004 20:08:01 +0000 (20:08 -0000)]
Thanks to Joakim's recent paches, we can now remove the FIXME

20 years agoRestore the library entry point so it works. It does have
Eric Andersen [Sat, 7 Feb 2004 12:26:36 +0000 (12:26 -0000)]
Restore the library entry point so it works.  It does have
to be arch specific to work properly.

20 years agoJoakim Tjernlund writes:
Eric Andersen [Sat, 7 Feb 2004 12:05:16 +0000 (12:05 -0000)]
Joakim Tjernlund writes:

Hi again

All dltest* and test* programs pass for me.
uClibc ld.so resolves according to the OLD weak symbol handling.

I have tried to use the new scheme as well, but that segfaults in all
cases but test3.

20 years agoRemove unneeded forward declaration
Eric Andersen [Sat, 7 Feb 2004 11:30:33 +0000 (11:30 -0000)]
Remove unneeded forward declaration

20 years agoSplit off the stuff that cannot use function into its own file,
Eric Andersen [Sat, 7 Feb 2004 10:40:25 +0000 (10:40 -0000)]
Split off the stuff that cannot use function into its own file,
to make it easier to treat it specially while not bothering the
rest of the code with the same constraints.

20 years agoStep one, begin shuffling things around a bit
Eric Andersen [Sat, 7 Feb 2004 10:12:25 +0000 (10:12 -0000)]
Step one, begin shuffling things around a bit

20 years agoYet more consistancy fixups
Eric Andersen [Sat, 7 Feb 2004 09:54:46 +0000 (09:54 -0000)]
Yet more consistancy fixups

20 years agoUse unsigned char * pointers
Eric Andersen [Sat, 7 Feb 2004 09:53:43 +0000 (09:53 -0000)]
Use unsigned char * pointers

20 years agoTrim trailing whitespace
Eric Andersen [Fri, 6 Feb 2004 11:12:44 +0000 (11:12 -0000)]
Trim trailing whitespace

20 years agoRemove trailing whitespace
Eric Andersen [Fri, 6 Feb 2004 11:11:23 +0000 (11:11 -0000)]
Remove trailing whitespace

20 years agoFix completely hosed up formatting
Eric Andersen [Fri, 6 Feb 2004 07:09:46 +0000 (07:09 -0000)]
Fix completely hosed up formatting

20 years agoSigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
Eric Andersen [Fri, 6 Feb 2004 07:07:16 +0000 (07:07 -0000)]
Sigh.  The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
'__kernel_old_dev_t'.  And of course there is no good way to know
which is in use except checking linux/version.h.  Grumble.

This is rather lame, but for now, define __kernel_old_dev_t to be
the same as __kernel_dev_t.  This will want to be revisited soon.
 -Erik

20 years agoPatch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.
Manuel Novoa III [Thu, 5 Feb 2004 14:53:22 +0000 (14:53 -0000)]
Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.

20 years agoAllow building on 64 bit archs. Hopefully the last cvs activity this
Manuel Novoa III [Thu, 5 Feb 2004 02:38:27 +0000 (02:38 -0000)]
Allow building on 64 bit archs.  Hopefully the last cvs activity this
stuff will see other than "delete".

20 years agoUse 'mmap.c' instead of '_mmap.c'
Eric Andersen [Thu, 5 Feb 2004 02:17:02 +0000 (02:17 -0000)]
Use 'mmap.c' instead of '_mmap.c'

20 years agoFixup a badly merged update
Eric Andersen [Thu, 5 Feb 2004 01:54:33 +0000 (01:54 -0000)]
Fixup a badly merged update
 -Erik

20 years agoUse a static const char array for static strings
Eric Andersen [Wed, 4 Feb 2004 10:24:12 +0000 (10:24 -0000)]
Use a static const char array for static strings

20 years agoToday's Toni's birthday. Seems an appropriate day to add this.
Manuel Novoa III [Tue, 3 Feb 2004 17:33:50 +0000 (17:33 -0000)]
Today's Toni's birthday.  Seems an appropriate day to add this.

20 years agoUse the correct configuration test define.
Manuel Novoa III [Mon, 2 Feb 2004 22:27:22 +0000 (22:27 -0000)]
Use the correct configuration test define.

20 years agoThe code for checking the rpath was not finding the rpath
Eric Andersen [Sun, 1 Feb 2004 11:10:32 +0000 (11:10 -0000)]
The code for checking the rpath was not finding the rpath
value correctly, since it forgot to lookup the correct value
in the string table.

20 years agoJakub Bogusz writes:
Eric Andersen [Sun, 1 Feb 2004 08:30:55 +0000 (08:30 -0000)]
Jakub Bogusz writes:

Hello,

the attached patch fixes ldso compilation on sparc-linux (at least with
sparc32 userland). It was made against uClibc 0.9.21, but it's still OK
with 0.9.26.

There were three problems:
- missing __NR_getpid definition
- conflicting prototypes in elfinterp.c
- syntax error (missing semicolon) in ldso.c

With this patch shared libraries and ldso can be built on sparc.

It contains also ldso.c syntax fix for m68k - there was the same
mistake two lines earlier; but I didn't test build on m68k.

20 years agoRevert to scope as used by original code for now, just in case.
Eric Andersen [Sat, 31 Jan 2004 03:15:07 +0000 (03:15 -0000)]
Revert to scope as used by original code for now, just in case.
I still don't have a good handle on why and when the different
scope values should be used.

20 years agoPatch from Paul Mundt, lethal at linux-sh dot org,
Eric Andersen [Sat, 31 Jan 2004 03:02:39 +0000 (03:02 -0000)]
Patch from Paul Mundt, lethal at linux-sh dot org,
add sh/sh64: ABORT_INSTRUCTION definitions

20 years agoAndrew May writes:
Eric Andersen [Fri, 30 Jan 2004 22:10:39 +0000 (22:10 -0000)]
Andrew May writes:

Here are some simple fixes for things that broke for PPC with
the recent syscall cleanup. I am not sure they are correct but
they seem pretty trivial.

20 years agoAdd missing abort instruction for powerpc
Eric Andersen [Fri, 30 Jan 2004 21:13:24 +0000 (21:13 -0000)]
Add missing abort instruction for powerpc

20 years agoPaul Mundt, lethal at linux-sh dot org writes:
Eric Andersen [Fri, 30 Jan 2004 21:11:18 +0000 (21:11 -0000)]
Paul Mundt, lethal at linux-sh dot org writes:

Boredom got the better of me, here's strlen() for sh64..

20 years agoJoakim Tjernlund writes:
Eric Andersen [Fri, 30 Jan 2004 20:34:03 +0000 (20:34 -0000)]
Joakim Tjernlund writes:

> Not there yet, but the interfaces are much closer now...
> Heading to bed though, since its 5:30am.  :-)

This works, but I discovered something "funny". For all
relocs but COPY you can use scope instead of scope->dyn->symbol_scope
and it is much faster to do that. Search for "Funny" in the patch
to see what I mean. Probably I probably broke something, please let me
know if it works for you too.

I think I am done with ldso now. Has been fun and I hope to
actually use uClibc/busybox soon in a project.

Ohh, there is one thing left, double sized PLT entries, but maybe these
aren't needed in uClibc?

 Sweet dreams
              Jocke

20 years agoModify interfaces for _dl_parse_relocation_information()
Eric Andersen [Thu, 29 Jan 2004 12:18:58 +0000 (12:18 -0000)]
Modify interfaces for _dl_parse_relocation_information()
_dl_parse_lazy_relocation_information() and _dl_parse_copy_information()
so they are all consistant, allowing for future consolidation.

Trim some trailing whitespace as well.

20 years agoScrub up use of ELF_USES_RELOCA and eliminte some unsightly ifdefs
Eric Andersen [Thu, 29 Jan 2004 11:42:46 +0000 (11:42 -0000)]
Scrub up use of ELF_USES_RELOCA and eliminte some unsightly ifdefs

20 years agoJoakim Tjernlund writes:
Eric Andersen [Thu, 29 Jan 2004 10:48:05 +0000 (10:48 -0000)]
Joakim Tjernlund writes:

Here is the cleaned up laze reloc patch.
Summary:
 - Minor cleanup.
 - disable the "if (finaladdr <= 0x01fffffc || finaladdr >= 0xfe000000)"
   test since it almost never triggered.
 - Optimized the lazy relocs handling.

Would be great if you could commit ASAP.

 Jocke

20 years agoEliminate separate passes for _dl_copy_fixups() and _dl_fixup(), and
Eric Andersen [Thu, 29 Jan 2004 10:44:50 +0000 (10:44 -0000)]
Eliminate separate passes for _dl_copy_fixups() and _dl_fixup(), and
do both operations in a single pass.

20 years agoFixup silly typo
Eric Andersen [Thu, 29 Jan 2004 08:59:00 +0000 (08:59 -0000)]
Fixup silly typo

20 years agoPatch from Joakim Tjernlund:
Eric Andersen [Thu, 29 Jan 2004 08:20:11 +0000 (08:20 -0000)]
Patch from Joakim Tjernlund:

Removed R_PPC_NONE and R_PPC_REL24 as these does not seem to be used.
Corrected R_PPC_ADDR32 and R_PPC_JMP_SLOT

20 years agoPatch from Joakim Tjernlund to get rid of an annoying warning.
Eric Andersen [Tue, 27 Jan 2004 07:37:12 +0000 (07:37 -0000)]
Patch from Joakim Tjernlund to get rid of an annoying warning.

20 years agoJoakim Tjernlund writes:
Eric Andersen [Tue, 27 Jan 2004 07:36:19 +0000 (07:36 -0000)]
Joakim Tjernlund writes:

Hi Erik

I have had some fun trying to optimize memcpy, memset and memmove for
PPC. There are only boot tested, but  I don't expect any problems :)

Read the comments in powerpc/string.c for more info.
Patch is relative to libc/string

 Jocke

20 years agoOleksandr G. Zhadan writes:
Eric Andersen [Sat, 24 Jan 2004 08:40:27 +0000 (08:40 -0000)]
Oleksandr G. Zhadan writes:

Hi Eric,

The attached diff file includes BUS_ISA fix for kernel since 2.4.23/

Kind regards,

Oleks

20 years agoImre Sunyi writes:
Eric Andersen [Sat, 24 Jan 2004 08:33:39 +0000 (08:33 -0000)]
Imre Sunyi writes:

Hi Erik

I have corrected a bug in uClibc/libc/inet/resolv.c in function
__dns_lookup(). Have attaced a txt file with my diffs regarding to
uClibc 0.9.26.

If two nameservers are included in /etc/resolv.conf and the first one is
wrong and the secondary is correct the algorithm never
looked up the secondary one. Please review my diff and feel free to
submit the patch onto your CVS.

If reading manual page resolv.conf(5) under nameserver and how the
algorithm should work the previous dns_lookup did not fully followed
that.

Regards

Imre Sunyi

20 years agoJoakim Tjernlund writes:
Eric Andersen [Sat, 24 Jan 2004 07:59:30 +0000 (07:59 -0000)]
Joakim Tjernlund writes:

Hi again

I have done some serious clenup of powerpc/elfinterp.c

- Make it look more like glibc.
- Performance modifictions.
- Fixed a few bugs in _dl_do_reloc(). These seem not to have affected
  anything, but this how glibc do it.

      Jocke

20 years agoSome minor debian junk I had sitting in my tree
Eric Andersen [Thu, 22 Jan 2004 01:44:25 +0000 (01:44 -0000)]
Some minor debian junk I had sitting in my tree

20 years agoSort all the files
Eric Andersen [Wed, 21 Jan 2004 23:45:14 +0000 (23:45 -0000)]
Sort all the files

20 years agoignore host binaries
Eric Andersen [Wed, 21 Jan 2004 23:30:52 +0000 (23:30 -0000)]
ignore host binaries

20 years agoSplit up syscalls.c, since it had grown to be quite large and ugly.
Eric Andersen [Wed, 21 Jan 2004 23:27:48 +0000 (23:27 -0000)]
Split up syscalls.c, since it had grown to be quite large and ugly.
 -Erik

20 years agoAdd poll
Eric Andersen [Wed, 21 Jan 2004 21:06:38 +0000 (21:06 -0000)]
Add poll

20 years agoMove poll to its own file, rather than being only half in its own file
Eric Andersen [Wed, 21 Jan 2004 20:27:25 +0000 (20:27 -0000)]
Move poll to its own file, rather than being only half in its own file

20 years agoMassive formatting cleanup, making it easier to parse
Eric Andersen [Wed, 21 Jan 2004 20:14:41 +0000 (20:14 -0000)]
Massive formatting cleanup, making it easier to parse

20 years agoErik is an idiot
Eric Andersen [Tue, 20 Jan 2004 21:36:23 +0000 (21:36 -0000)]
Erik is an idiot

20 years agosupport building the uClibc utils for the host system...
Eric Andersen [Tue, 20 Jan 2004 21:28:42 +0000 (21:28 -0000)]
support building the uClibc utils for the host system...

20 years agoAs noted by Doru Petrescu, there was a spurious line that was using
Eric Andersen [Tue, 20 Jan 2004 18:00:16 +0000 (18:00 -0000)]
As noted by Doru Petrescu, there was a spurious line that was using
_dl_debug_addr prior to checking if it was NULL.

20 years agoPaul Mundt writes:
Eric Andersen [Tue, 20 Jan 2004 17:44:17 +0000 (17:44 -0000)]
Paul Mundt writes:

The current behavior of the powerpc boot1_arch.h seems somewhat broken.
Currently room is made on the stack pointer for the link register, but the link
register is never actually pushed onto it. glibc bears the following comments:

    /* Call _dl_start with one parameter pointing at argc */
            mr      r3,r1
    /* (we have to frob the stack pointer a bit to allow room for
       _dl_start to save the link register).  */

followed by the -16 add to r1. Despite the fact that r1 is modified, the link
register is never actually pushed onto r1, thus the adjustment is completely
superfluous.

There's two possible fixes for this, either saving the link register in the way
that glibc does, or getting rid of the r1 adjustment. As I'm not sure if saving
the link register will actually break the _dl_boot2 callin, both options will
probably want to be played with.

The following bit of inline assembly in the attached patch builds cleanly for
me with gcc 3.3 on darwin, but I'm not able to test it any further beyond that.

20 years agoJoakim Tjernlund writes:
Eric Andersen [Tue, 20 Jan 2004 17:38:25 +0000 (17:38 -0000)]
Joakim Tjernlund writes:

> Is there anything I can do/provide that would assist in the solving of
> this problem on PowerPC? I'm still concerned about my lack of flash space...

Try this path. It fixes the recent ldso problems for me on my mpc860 board.
You should be able to use ldso without the dcbx patch to the kernel now.

Please report back.

 Jocke

20 years agoAdd __data_start needed by boehm garbage collector, in turn needed by libgcj.
Manuel Novoa III [Sat, 17 Jan 2004 14:45:55 +0000 (14:45 -0000)]
Add __data_start needed by boehm garbage collector, in turn needed by libgcj.

20 years agoPrevent runaway asserts, which can happen if there's a problem with
Manuel Novoa III [Sat, 17 Jan 2004 14:39:40 +0000 (14:39 -0000)]
Prevent runaway asserts, which can happen if there's a problem with
stdio or locales.

20 years agoWe need to link with libgcc.a when creating shared libs, in order to
Manuel Novoa III [Fri, 16 Jan 2004 18:52:54 +0000 (18:52 -0000)]
We need to link with libgcc.a when creating shared libs, in order to
avoid problems 'hidden symbol' problems.   Also handle -lfloat for the
soft-float arm case.

20 years agos/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g
Eric Andersen [Fri, 16 Jan 2004 13:43:30 +0000 (13:43 -0000)]
s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g

20 years agoFixup selection of endianness, since select does not work on choice
Eric Andersen [Fri, 16 Jan 2004 13:38:10 +0000 (13:38 -0000)]
Fixup selection of endianness, since select does not work on choice
items, we have to declare what endianness cpus are capable of supporting
and work using dependancies.

20 years agoMinor updates from linux 2.6.1
Eric Andersen [Fri, 16 Jan 2004 12:49:06 +0000 (12:49 -0000)]
Minor updates from linux 2.6.1

20 years agoLink with libfloat if necessary.
Manuel Novoa III [Fri, 16 Jan 2004 00:46:39 +0000 (00:46 -0000)]
Link with libfloat if necessary.

20 years agoMake sure we remove -fomit-frame-pointer from the ldso build. It's
David McCullough [Fri, 16 Jan 2004 00:44:34 +0000 (00:44 -0000)]
Make sure we remove -fomit-frame-pointer from the ldso build. It's
inclusion will cause the loader to crash when jumping to the application.

The reason is due to the START macro having a "leave" instruction included
to fixup the stack before starting the app.

20 years agoInclude missing errno.h header (as noted by Alan Hourihane).
Eric Andersen [Wed, 14 Jan 2004 22:37:55 +0000 (22:37 -0000)]
Include missing errno.h header (as noted by Alan Hourihane).
Fix uninitialized pthread mutex used to lock the list of aligned
memory blocks.

20 years agoUse the gcc 3.4 -funit-at-a-time optimization when available
Eric Andersen [Wed, 14 Jan 2004 10:31:58 +0000 (10:31 -0000)]
Use the gcc 3.4 -funit-at-a-time optimization when available

20 years agoOk.. we need to link with libgcc.a for some archs. I haven't looked at
Manuel Novoa III [Wed, 14 Jan 2004 09:14:47 +0000 (09:14 -0000)]
Ok.. we need to link with libgcc.a for some archs.  I haven't looked at
all cases, but the archs I've looked at do build the needed routines as
PIC so we should be ok.

20 years agoAdd a dummy (always fails) wcsftime. This is needed for the libstdc++ locale
Manuel Novoa III [Wed, 14 Jan 2004 06:30:59 +0000 (06:30 -0000)]
Add a dummy (always fails) wcsftime.  This is needed for the libstdc++ locale
implementation to build.  Later this month I'll add a functional wcsftime.

20 years agoAdd another devfs subdir to the list of checked subdirs.
Manuel Novoa III [Tue, 13 Jan 2004 10:26:56 +0000 (10:26 -0000)]
Add another devfs subdir to the list of checked subdirs.

20 years agoFixup dated comments
Eric Andersen [Tue, 13 Jan 2004 05:58:00 +0000 (05:58 -0000)]
Fixup dated comments

20 years agoOops... Seems I forgot an else...
Manuel Novoa III [Mon, 12 Jan 2004 11:07:02 +0000 (11:07 -0000)]
Oops... Seems I forgot an else...

20 years agoAs mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFS
Eric Andersen [Fri, 9 Jan 2004 09:13:37 +0000 (09:13 -0000)]
As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFS

20 years agoSome badly behaved arches fail to provide a PAGE_SIZE define
Eric Andersen [Tue, 6 Jan 2004 01:05:12 +0000 (01:05 -0000)]
Some badly behaved arches fail to provide a PAGE_SIZE define

20 years agoImplement res_search and res_querydomain based on netbsd code,
Eric Andersen [Sun, 4 Jan 2004 09:35:20 +0000 (09:35 -0000)]
Implement res_search and res_querydomain based on netbsd code,
but remove support for host aliases (the HOSTALIASES env variable)
which looks like a very bad idea.
 -Erik

20 years agoBump .deb version
Eric Andersen [Sun, 4 Jan 2004 09:32:14 +0000 (09:32 -0000)]
Bump .deb version