jilles ee4b8e07a8 libc: Always use our own copy of sys_errlist and sys_nerr (.so only).
This ensures strerror() and friends continue to work correctly even if a
(non-PIE) executable linked against an older libc imports sys_errlist (which
causes sys_errlist to refer to the executable's copy with a size fixed when
that executable was linked).

The executable's use of sys_errlist remains broken because it uses the
current value of sys_nerr and may access past the bounds of the array.

Different from the message "Using sys_errlist from executables is not
ABI-stable" on freebsd-arch, this change does not affect the static library.
There seems no reason to prevent overriding the error messages in the static
library.
2013-08-31 22:32:42 +00:00
..
2013-08-22 08:15:03 +00:00
2013-03-22 13:36:03 +00:00
2013-01-01 18:29:25 +00:00
2013-08-23 14:31:05 +00:00
2013-04-14 00:59:56 +00:00
2013-05-30 08:02:00 +00:00
2013-05-12 22:22:12 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2013-07-25 03:54:08 +00:00
2013-05-05 06:20:49 +00:00
2013-08-28 16:59:55 +00:00