OSDN Git Service

uclinux-h8/uClibc.git
15 years ago- hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.
Bernhard Reutner-Fischer [Tue, 25 Nov 2008 13:56:17 +0000 (13:56 -0000)]
- hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.

15 years ago- cosmetic tidy up of clean target
Bernhard Reutner-Fischer [Tue, 25 Nov 2008 13:36:26 +0000 (13:36 -0000)]
- cosmetic tidy up of clean target

15 years ago- cosmetic tidy up of clean target
Bernhard Reutner-Fischer [Tue, 25 Nov 2008 12:59:16 +0000 (12:59 -0000)]
- cosmetic tidy up of clean target

15 years ago- make sure isspace() is exported.
Bernhard Reutner-Fischer [Tue, 25 Nov 2008 12:31:20 +0000 (12:31 -0000)]
- make sure isspace() is exported.
  Thanks to Skinkie for noticing.

15 years ago- Fix thumb2 PIE (Joseph S. Myers)
Bernhard Reutner-Fischer [Tue, 25 Nov 2008 12:26:42 +0000 (12:26 -0000)]
- Fix thumb2 PIE (Joseph S. Myers)
  This patch fixes position-independent executables (PIEs) for Thumb-2.  In
  Thumb assembly, instructions reading pc give a value 4 greater than the
  address of the instruction, rather than 8 greater as in ARM mode, so the
  offset to the GOT needs to have the right offset.  (The Thumb-1 code
  already gets this right; it's the code shared by ARM and Thumb-2 that
  needs fixing.)

15 years ago- fix args (untested)
Bernhard Reutner-Fischer [Sun, 23 Nov 2008 21:11:27 +0000 (21:11 -0000)]
- fix args (untested)

15 years agosignal ops: avoid calls through PLT for __sigXXX ops
Denis Vlasenko [Sat, 22 Nov 2008 17:15:56 +0000 (17:15 -0000)]
signal ops: avoid calls through PLT for __sigXXX ops
linuxthreads.old/manager: pointless style fixes, no code changes

15 years agolibc-symbols: improve comments and make macros a bit more readable.
Denis Vlasenko [Sat, 22 Nov 2008 14:24:04 +0000 (14:24 -0000)]
libc-symbols: improve comments and make macros a bit more readable.
no code changes

15 years agofix some unneeded PLT references
Denis Vlasenko [Sat, 22 Nov 2008 14:22:37 +0000 (14:22 -0000)]
fix some unneeded PLT references

15 years agofix "make utils" build failure in ldconfig
Denis Vlasenko [Sat, 22 Nov 2008 01:07:44 +0000 (01:07 -0000)]
fix "make utils" build failure in ldconfig
(undefined reference to 'getopt')

15 years agofix "make install" with relative PREFIX
Denis Vlasenko [Fri, 21 Nov 2008 11:50:13 +0000 (11:50 -0000)]
fix "make install" with relative PREFIX

15 years agofix ioperm build problems caused by libc_hidden_proto removal
Denis Vlasenko [Fri, 21 Nov 2008 11:15:58 +0000 (11:15 -0000)]
fix ioperm build problems caused by libc_hidden_proto removal

15 years agofix apparent typo (unnoticed for long time, probably
Denis Vlasenko [Fri, 21 Nov 2008 08:16:33 +0000 (08:16 -0000)]
fix apparent typo (unnoticed for long time, probably
 because it didn't affect little endian arches)

15 years agodeal with TODOs left over from libc_hidden_proto removal
Denis Vlasenko [Fri, 21 Nov 2008 08:15:19 +0000 (08:15 -0000)]
deal with TODOs left over from libc_hidden_proto removal
 (fixes build with locale enabled)

15 years agoLast portion of libc_hidden_proto removal.
Denis Vlasenko [Thu, 20 Nov 2008 22:11:44 +0000 (22:11 -0000)]
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)

15 years agonext portion of libc_hidden_proto removal
Denis Vlasenko [Thu, 20 Nov 2008 22:07:43 +0000 (22:07 -0000)]
next portion of libc_hidden_proto removal

15 years agoMake sure __hot and __cold are always defined.
Peter Kjellerstedt [Wed, 19 Nov 2008 12:34:25 +0000 (12:34 -0000)]
Make sure __hot and __cold are always defined.

15 years agoChanged Copyright and License statement according to COPYING.LIB.boilerplate
Carmelo Amoroso [Tue, 18 Nov 2008 13:53:08 +0000 (13:53 -0000)]
Changed Copyright and License statement according to COPYING.LIB.boilerplate

15 years agoChanged Copyright and License statement according to COPYING.LIB.boilerplate
Carmelo Amoroso [Tue, 18 Nov 2008 13:31:13 +0000 (13:31 -0000)]
Changed Copyright and License statement according to COPYING.LIB.boilerplate

15 years ago- add __hot and __cold annotations
Bernhard Reutner-Fischer [Tue, 18 Nov 2008 13:03:34 +0000 (13:03 -0000)]
- add __hot and __cold annotations
  Will spare us quite some likely()/unlikely() occurances.
  See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html for details

15 years agoFix typo: missing )
Carmelo Amoroso [Tue, 18 Nov 2008 12:56:05 +0000 (12:56 -0000)]
Fix typo: missing )

15 years agoMove _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).
Carmelo Amoroso [Tue, 18 Nov 2008 12:48:13 +0000 (12:48 -0000)]
Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).
Currently we have an implementation in ld.so and libdl.a.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
15 years agolibc_hidden_proto removal, a few more functions
Denis Vlasenko [Tue, 18 Nov 2008 01:10:26 +0000 (01:10 -0000)]
libc_hidden_proto removal, a few more functions

15 years agolibc_hidden_proto removal, just a few functions
Denis Vlasenko [Tue, 18 Nov 2008 01:09:55 +0000 (01:09 -0000)]
libc_hidden_proto removal, just a few functions

15 years ago- add hack to check if generating sysnum.h worked out
Bernhard Reutner-Fischer [Mon, 17 Nov 2008 22:37:05 +0000 (22:37 -0000)]
- add hack to check if generating sysnum.h worked out

15 years agoresolver: use timeout of 5 (glibc uses that).
Denis Vlasenko [Mon, 17 Nov 2008 15:55:35 +0000 (15:55 -0000)]
resolver: use timeout of 5 (glibc uses that).
 delete some duplication in constants.

15 years agoresolver: separate gethostent and gethostent_r into two .o files;
Denis Vlasenko [Mon, 17 Nov 2008 03:31:47 +0000 (03:31 -0000)]
resolver: separate gethostent and gethostent_r into two .o files;
 delete two stray files which compile to nothing

15 years agoresolver: move large code blocks to arrange related functions closer.
Denis Vlasenko [Mon, 17 Nov 2008 03:01:01 +0000 (03:01 -0000)]
resolver: move large code blocks to arrange related functions closer.
 almost no code changes

15 years agoresolver: fix some previous TODOs, add new ones.
Denis Vlasenko [Mon, 17 Nov 2008 02:40:05 +0000 (02:40 -0000)]
resolver: fix some previous TODOs, add new ones.

15 years ago- cleanup {,f}stat{,v}fs{,64} relocs
Bernhard Reutner-Fischer [Sun, 16 Nov 2008 20:38:09 +0000 (20:38 -0000)]
- cleanup {,f}stat{,v}fs{,64} relocs

15 years agoresolver: improved support for overriding DNS server addresses
Denis Vlasenko [Sun, 16 Nov 2008 19:00:21 +0000 (19:00 -0000)]
resolver: improved support for overriding DNS server addresses
 in _res structure. Used by busybox's nslookup.

15 years agoresolver: make getaddrinfo actually respect _res.nsaddr_list;
Denis Vlasenko [Sun, 16 Nov 2008 04:07:16 +0000 (04:07 -0000)]
resolver: make getaddrinfo actually respect _res.nsaddr_list;
 add largish comment explaining what we are doing, and why;
 fixes to make IPv6-only resolver possible

15 years agoresolver: more locking fixes.
Denis Vlasenko [Sat, 15 Nov 2008 16:15:25 +0000 (16:15 -0000)]
resolver: more locking fixes.

15 years ago- if ssp is enabled then make sure that __stack_chk_fail resolves
Bernhard Reutner-Fischer [Sat, 15 Nov 2008 16:10:29 +0000 (16:10 -0000)]
- if ssp is enabled then make sure that __stack_chk_fail resolves

15 years ago- Remove linux-specific prototypes if asked to.
Bernhard Reutner-Fischer [Sat, 15 Nov 2008 15:54:53 +0000 (15:54 -0000)]
- Remove linux-specific prototypes if asked to.

15 years ago- revert wrong r24049
Bernhard Reutner-Fischer [Sat, 15 Nov 2008 15:42:40 +0000 (15:42 -0000)]
- revert wrong r24049

15 years ago- Remove linux-specific prototypes if asked to.
Bernhard Reutner-Fischer [Sat, 15 Nov 2008 15:38:10 +0000 (15:38 -0000)]
- Remove linux-specific prototypes if asked to.

15 years agoCurrent kernels support more than 8 bit major/minor. Pass dev_t through to
Rob Landley [Fri, 14 Nov 2008 22:12:11 +0000 (22:12 -0000)]
Current kernels support more than 8 bit major/minor.  Pass dev_t through to
the kernel unmolested.

15 years agofixing resolver part 3: fix completely bogus locking
Denis Vlasenko [Fri, 14 Nov 2008 00:37:48 +0000 (00:37 -0000)]
fixing resolver part 3: fix completely bogus locking
 in __dns_lookup.

15 years agofixing resolver part 2: make _res structure members
Denis Vlasenko [Fri, 14 Nov 2008 00:35:40 +0000 (00:35 -0000)]
fixing resolver part 2: make _res structure members
 configurable. we don't use most of it anyway.

15 years agofixing resolver, part 1
Denis Vlasenko [Fri, 14 Nov 2008 00:34:02 +0000 (00:34 -0000)]
fixing resolver, part 1

15 years ago- do not fail if mktemp is not available.
Bernhard Reutner-Fischer [Thu, 13 Nov 2008 14:07:50 +0000 (14:07 -0000)]
- do not fail if mktemp is not available.
  Thanks to Peter Mazinger for the report. (r24023 from branch)

15 years ago- silence shadow warning
Bernhard Reutner-Fischer [Thu, 13 Nov 2008 10:38:52 +0000 (10:38 -0000)]
- silence shadow warning

15 years ago- adjust trunk version info
Bernhard Reutner-Fischer [Wed, 12 Nov 2008 12:35:01 +0000 (12:35 -0000)]
- adjust trunk version info

15 years ago- update recommendation for pregenerated locales.
Bernhard Reutner-Fischer [Tue, 11 Nov 2008 11:05:57 +0000 (11:05 -0000)]
- update recommendation for pregenerated locales.
- update name of locale-tarball. We will retroactively fill them in, eventually

15 years ago- for !UNIX98PTY_ONLY we have to fallback to old-style pty's.
Bernhard Reutner-Fischer [Sun, 9 Nov 2008 13:13:05 +0000 (13:13 -0000)]
- for !UNIX98PTY_ONLY we have to fallback to old-style pty's.
  Closes #6024

15 years ago- Add temporary hack to wipe dep files even on clean for utils.
Bernhard Reutner-Fischer [Sun, 9 Nov 2008 13:10:50 +0000 (13:10 -0000)]
- Add temporary hack to wipe dep files even on clean for utils.
  utils lives outside of the normal build so this is needed until it is
  properly pulled into the normal system.

15 years ago- less verbose make clean
Bernhard Reutner-Fischer [Fri, 7 Nov 2008 21:15:53 +0000 (21:15 -0000)]
- less verbose make clean

15 years ago- tidy up indentation
Bernhard Reutner-Fischer [Fri, 7 Nov 2008 20:55:54 +0000 (20:55 -0000)]
- tidy up indentation

15 years ago- document more environment variables
Bernhard Reutner-Fischer [Fri, 7 Nov 2008 19:13:06 +0000 (19:13 -0000)]
- document more environment variables

15 years agoAdd extern reference to __libc_sigaction in sigaction.c for AVR32 arch
Hans-Christian Egtvedt [Mon, 3 Nov 2008 16:14:04 +0000 (16:14 -0000)]
Add extern reference to __libc_sigaction in sigaction.c for AVR32 arch

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoSync clone() function declaration for AVR32 with sched.h declaration
Hans-Christian Egtvedt [Mon, 3 Nov 2008 16:02:52 +0000 (16:02 -0000)]
Sync clone() function declaration for AVR32 with sched.h declaration

This patch fixes the previous commit for clone on AVR32 arch, where the
function parameters where not updated after adding #include <sched.h>.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoPrefix variables defined in INIT_GOT define for AVR32 arch
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:54:24 +0000 (15:54 -0000)]
Prefix variables defined in INIT_GOT define for AVR32 arch

This patch will prefix the i and nr_got variable with an underscore to seperate
them from any variables already present in the functions where the macro is
used.

Needed to silence compiler warnings.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoMake sure functions in dl-sysdep.h for AVR32 are always inlined
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:52:38 +0000 (15:52 -0000)]
Make sure functions in dl-sysdep.h for AVR32 are always inlined

Replace __inline__ with __always_inline.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoAdd hint for read ahead function in fcntl.h for AVR32 arch
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:48:07 +0000 (15:48 -0000)]
Add hint for read ahead function in fcntl.h for AVR32 arch

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoAdd include to silence compiler warning when compiling clone.c for AVR32
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:46:30 +0000 (15:46 -0000)]
Add include to silence compiler warning when compiling clone.c for AVR32

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoRemove commented out CFLAGS assigment which is also set on next line
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:44:09 +0000 (15:44 -0000)]
Remove commented out CFLAGS assigment which is also set on next line

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoFix whitespace damage in file.
Hans-Christian Egtvedt [Mon, 3 Nov 2008 15:41:17 +0000 (15:41 -0000)]
Fix whitespace damage in file.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years ago- jmp on coldfire accepts only address registers
Bernhard Reutner-Fischer [Mon, 3 Nov 2008 12:28:17 +0000 (12:28 -0000)]
- jmp on coldfire accepts only address registers
  Closes #3824

15 years ago- Fix __user_locking with stdio buffers (Carmelo AMOROSO)
Bernhard Reutner-Fischer [Sun, 2 Nov 2008 12:13:00 +0000 (12:13 -0000)]
- Fix __user_locking with stdio buffers (Carmelo AMOROSO)
  Closes #5254

15 years agoresolver: reinstate searching if search domains accidentally nuked
Denis Vlasenko [Sun, 2 Nov 2008 00:25:33 +0000 (00:25 -0000)]
resolver: reinstate searching if search domains accidentally nuked
 in one of recent commits :)

15 years ago__dns_lookup: document and optimize a bit
Denis Vlasenko [Sat, 1 Nov 2008 23:33:16 +0000 (23:33 -0000)]
__dns_lookup: document and optimize a bit

    text           data     bss     dec     hex filename
-   1545              2       4    1551     60f libc/inet/dnslookup.o
+   1528              2       4    1534     5fe libc/inet/dnslookup.o

15 years agoresolver: partially fix bug 660 -
Denis Vlasenko [Sat, 1 Nov 2008 23:25:50 +0000 (23:25 -0000)]
resolver: partially fix bug 660 -
 do not treat negative response as error

15 years agoresolver: fix part of bug 1468:
Denis Vlasenko [Sat, 1 Nov 2008 23:24:00 +0000 (23:24 -0000)]
resolver: fix part of bug 1468:
 "gethostbyname() fails if DNS server returns more than 23 addresses"

15 years agoresolver: trivial code trasformations for readability.
Denis Vlasenko [Sat, 1 Nov 2008 23:17:54 +0000 (23:17 -0000)]
resolver: trivial code trasformations for readability.
 No logic changes. Code size is the same too.

15 years agotrivial code shrink by making some strings static
Denis Vlasenko [Sat, 1 Nov 2008 23:15:48 +0000 (23:15 -0000)]
trivial code shrink by making some strings static

    text           data     bss     dec     hex filename
-    259              0       0     259     103 libc/inet/herror.o
+    243              0       0     243      f3 libc/inet/herror.o
-    720              0       0     720     2d0 libc/inet/ns_name.o
+    710              0       0     710     2c6 libc/inet/ns_name.o

15 years ago- whitespace fixes
Bernhard Reutner-Fischer [Fri, 31 Oct 2008 14:18:04 +0000 (14:18 -0000)]
- whitespace fixes

15 years ago- improve readability, no objcode changes.
Bernhard Reutner-Fischer [Fri, 31 Oct 2008 14:17:23 +0000 (14:17 -0000)]
- improve readability, no objcode changes.
  Looks a bit like we wouldn't need to calculate the carry flag there?

15 years agoResync pt-machine.h for AVR32 linuxthreads and linuxthreads.old
Hans-Christian Egtvedt [Fri, 31 Oct 2008 09:50:42 +0000 (09:50 -0000)]
Resync pt-machine.h for AVR32 linuxthreads and linuxthreads.old

This patch synchronizes the AVR32 specific pt-machine.h header file for
linuxthreads and linuxthreads.old implementation.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoReplace inline with __inline__ in AVR32 pt-machine.h header file
Hans-Christian Egtvedt [Fri, 31 Oct 2008 09:40:57 +0000 (09:40 -0000)]
Replace inline with __inline__ in AVR32 pt-machine.h header file

This patch replaces inline with __inline__ to be more ANSI compatible.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years ago- helper config symbol has to depend on thread support
Bernhard Reutner-Fischer [Thu, 30 Oct 2008 08:05:36 +0000 (08:05 -0000)]
- helper config symbol has to depend on thread support

15 years agoFile removed as it was not only redundant but also horribly out of date.
Ricard Wanderlof [Thu, 30 Oct 2008 07:58:02 +0000 (07:58 -0000)]
File removed as it was not only redundant but also horribly out of date.

15 years ago- minor shrinkage (-50b)
Bernhard Reutner-Fischer [Wed, 29 Oct 2008 19:40:21 +0000 (19:40 -0000)]
- minor shrinkage (-50b)

15 years ago- fix use after free (Kevin Day)
Bernhard Reutner-Fischer [Wed, 29 Oct 2008 13:34:35 +0000 (13:34 -0000)]
- fix use after free (Kevin Day)
  dl_cleanup will call do_dlclose with the handle.
  Inside of do_dlclose, the handle will ultimately get free'd.

15 years ago- fix another fallout from r23660
Bernhard Reutner-Fischer [Wed, 29 Oct 2008 12:24:29 +0000 (12:24 -0000)]
- fix another fallout from r23660

15 years ago- mark trunk as BUGFIX-ONLY after 0.9.30-rc3
Bernhard Reutner-Fischer [Tue, 28 Oct 2008 20:07:38 +0000 (20:07 -0000)]
- mark trunk as BUGFIX-ONLY after 0.9.30-rc3

15 years ago- bump version to 0.9.30-rc3
Bernhard Reutner-Fischer [Tue, 28 Oct 2008 20:05:48 +0000 (20:05 -0000)]
- bump version to 0.9.30-rc3

15 years agogetaddrinfo.c: improve readability
Denis Vlasenko [Tue, 28 Oct 2008 16:25:10 +0000 (16:25 -0000)]
getaddrinfo.c: improve readability

15 years agogetaddrinfo.c: reformat. no code changes
Denis Vlasenko [Tue, 28 Oct 2008 16:22:56 +0000 (16:22 -0000)]
getaddrinfo.c: reformat. no code changes

15 years ago- trim superfluous ';'. No objcode changes
Bernhard Reutner-Fischer [Tue, 28 Oct 2008 13:05:24 +0000 (13:05 -0000)]
- trim superfluous ';'. No objcode changes

15 years ago- fix compilation if LFS is off and STUBs are requested
Bernhard Reutner-Fischer [Tue, 28 Oct 2008 12:50:10 +0000 (12:50 -0000)]
- fix compilation if LFS is off and STUBs are requested

15 years agoRemove all references to __no_netlink_support as after thurough scrutiny of
Ricard Wanderlof [Tue, 28 Oct 2008 09:55:44 +0000 (09:55 -0000)]
Remove all references to __no_netlink_support as after thurough scrutiny of
the code it was never used in any useful way.

15 years agoFinally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660. (I found it...
Rob Landley [Tue, 28 Oct 2008 06:48:06 +0000 (06:48 -0000)]
Finally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660.  (I found it, this is Bernhard's patch to fix it.  Tested and it Works For Me (tm)).

15 years agomake getaddrinfo to NOT query DNS for IPv6 address if host is in
Denis Vlasenko [Tue, 28 Oct 2008 00:12:25 +0000 (00:12 -0000)]
make getaddrinfo to NOT query DNS for IPv6 address if host is in
/etc/hosts and it has IPv4 address there.
The most common example is "127.0.0.1 localhost".
We don't want "ping localhost" to stall and time out on IPv6
queries to, say, inaccessible DNS server, right?

-    655              0       0     655     28f libc/inet/gethostbyname2_r.o
+    685              0       0     685     2ad libc/inet/gethostbyname2_r.o

15 years agoExplain what malloc simple is good for, and what it isn't good for.
Rob Landley [Mon, 27 Oct 2008 22:02:54 +0000 (22:02 -0000)]
Explain what malloc simple is good for, and what it isn't good for.

15 years ago- pull in prototype for memalign()
Bernhard Reutner-Fischer [Mon, 27 Oct 2008 17:04:51 +0000 (17:04 -0000)]
- pull in prototype for memalign()

15 years ago- add helpful help string
Bernhard Reutner-Fischer [Mon, 27 Oct 2008 14:15:26 +0000 (14:15 -0000)]
- add helpful help string

15 years ago- Print helptexts of choices. If a choice (but not it's children) has help, print...
Bernhard Reutner-Fischer [Mon, 27 Oct 2008 14:14:05 +0000 (14:14 -0000)]
- Print helptexts of choices. If a choice (but not it's children) has help, print that.
  If a choice's child has no help, print parents help.

15 years ago- fix typo in r23808
Bernhard Reutner-Fischer [Mon, 27 Oct 2008 10:02:10 +0000 (10:02 -0000)]
- fix typo in r23808

15 years agolibc/inet/getaddrinfo.c: const'ify some data;
Denis Vlasenko [Mon, 27 Oct 2008 08:27:43 +0000 (08:27 -0000)]
libc/inet/getaddrinfo.c: const'ify some data;
 avoid using zero-filled constants in bss:

   text    data     bss     dec     hex filename
   3182      24      48    3254     cb6 getaddrinfo_old.o
   3280       0       0    3280     cd0 getaddrinfo.o

15 years agoUse C implementation of strncmp.
Khem Raj [Sat, 25 Oct 2008 00:58:41 +0000 (00:58 -0000)]
Use C implementation of strncmp.
Add a new strncmp testcase.

15 years ago- fix mips syscall (Atsushi Nemoto)
Bernhard Reutner-Fischer [Fri, 24 Oct 2008 16:33:36 +0000 (16:33 -0000)]
- fix mips syscall (Atsushi Nemoto)

15 years ago- tidy up inline:
Bernhard Reutner-Fischer [Fri, 24 Oct 2008 08:34:31 +0000 (08:34 -0000)]
- tidy up inline:
  ldso and syscalls are __always_inline (the latter would need more cleanup)

15 years ago- remove superfluous ';'. No objcode changes.
Bernhard Reutner-Fischer [Wed, 22 Oct 2008 13:36:10 +0000 (13:36 -0000)]
- remove superfluous ';'. No objcode changes.

15 years ago- delete_module() takes two arguments on linux-2.6
Bernhard Reutner-Fischer [Wed, 22 Oct 2008 08:47:03 +0000 (08:47 -0000)]
- delete_module() takes two arguments on linux-2.6
  Closes #5644

15 years ago- need to grab features before looking at eventually requested netlink support
Bernhard Reutner-Fischer [Mon, 20 Oct 2008 21:29:27 +0000 (21:29 -0000)]
- need to grab features before looking at eventually requested netlink support
  Thanks to Peter S. Mazinger for pointing out this (obvious) error.
  The __ASSUME_NETLINK from ricardw's r22531 references a non-existing
  variable in certain cases. I don't see how that could possibly work..

15 years ago- do not include netlink headers if netlink is turned off (Michael Deutschmann)
Bernhard Reutner-Fischer [Sun, 19 Oct 2008 17:03:03 +0000 (17:03 -0000)]
- do not include netlink headers if netlink is turned off (Michael Deutschmann)
  Closes #5544

15 years ago- fix sigaction on older kernels (Michael Deutschmann)
Bernhard Reutner-Fischer [Sun, 19 Oct 2008 13:27:09 +0000 (13:27 -0000)]
- fix sigaction on older kernels (Michael Deutschmann)
  In issue #5554 Michael wrote:
The implementation of sigaction on i386 for older kernels makes the system call using an inline asm element with two flaws:

1. The asm is not marked as depending on the kact structure or modifying the koact structure. Thus, GCC is free to assume these structures need not be kept consistent, allowing it to remove all initialization of kact.

2. The asm allows the signal number to be provided as a memory reference. But this allows GCC to provide a stack-relative operand, which will break because the assembler saves %ebx on the stack before using that operand.

1 didn't use to be a problem in practice because GCC 4.2.* didn't seize the optimization opportunity. GCC 4.3.2, however, optimizes out the "kact.sa_flags = act->sa_flags | SA_RESTORER;" line, so that the kernel sees garbage in sa_flags. This can result in the kernel seeing the SA_RESETHAND flag, causing erratic behaviour in signal dependent programs.

2 becomes an issue if "-fomit-frame-pointer" is provided. In uClibc-0.9.29 it isn't, uClibc-0.9.30-rc2 does use the flag by default.

15 years ago- do not list non-existing files in the threads prerequisites
Bernhard Reutner-Fischer [Sat, 18 Oct 2008 12:52:17 +0000 (12:52 -0000)]
- do not list non-existing files in the threads prerequisites

15 years ago- sync fix for scandir errno handling to scandir64 (r23600)
Bernhard Reutner-Fischer [Sat, 18 Oct 2008 12:48:09 +0000 (12:48 -0000)]
- sync fix for scandir errno handling to scandir64 (r23600)
  Thanks to Peter S. Mazinger for mentioning this.