christos
4fd46030a6
look in the right place for the modules of compat binaries
2013-09-19 21:19:13 +00:00
christos
8bdd0253b8
Pass MLIBDIR to CPPFLAGS.
2013-09-19 21:18:17 +00:00
rmind
c19ced7da2
G/C npf_ncode(9)
2013-09-19 17:29:06 +00:00
rmind
7b5edfdc0d
NPF: G/C n-code in favour of BPF byte-code. Delete lots of code, mmm!
2013-09-19 01:49:07 +00:00
rmind
4e592132ab
- Convert NPF to use BPF byte-code by default. Compile BPF byte-code in
...
npfctl(8) and generate separate marks to describe the filter criteria.
- Rewrite 'npfctl show' functionality and fix some of the bugs.
- npftest: add a test for BPF COP.
- Bump NPF_VERSION.
2013-09-19 01:04:45 +00:00
uwe
f09e72233a
Fix previous: use PICFLAGS for crtbeginS.o
...
Should unbreak sh3 builds.
XXX: PICFLAGS is defined in bsd.lib.mk which lib/csu does not use.
For now supply a local definition. joerg@, please fix appropriately.
2013-09-18 22:53:39 +00:00
joerg
db0a20e19e
GC put16.
...
XXX Use sys/endian.h
2013-09-14 13:05:51 +00:00
njoly
0336046eb1
Add needed sys/stat.h include for utimens functions.
2013-09-14 10:41:18 +00:00
nakayama
c7b602785c
Redo previous to fix build break.
2013-09-14 05:38:00 +00:00
joerg
900d87e72c
Use __RCSID.
2013-09-13 19:29:47 +00:00
joerg
bdfde3da9a
Redo the locale cache to be constant. It now contains the localeconv()
...
data and which LC_MONETARY and LC_NUMERIC values it is derived from.
In newlocale(3) and setlocale(3), check for the existing entries and on
miss, create a new entry. This is currently not using a lock for the
list as the worst case is a small memory leak.
2013-09-13 13:13:32 +00:00
joerg
4d12bfcd15
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
...
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
joerg
1bf0d67629
NetBSD certainly supports TLS in static applications if it supports TLS
...
on the platform at all.
2013-09-12 15:35:15 +00:00
joerg
975a152cfc
If a library needs a symbol from another library, pull that library in
...
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
matt
26dbb44c7a
Define ELF_NOTE_MARCH_DESC for when running non-eabi in compat_netbsd32
2013-09-10 22:00:01 +00:00
pooka
b3e8687dfb
more platform-specific qualifiers
2013-09-10 17:58:39 +00:00
pooka
4194c8cb75
-I../librumpuser is still required for sp_common.c
2013-09-10 17:39:10 +00:00
matt
988e1b8be5
MARCH note is conditional
2013-09-10 17:23:55 +00:00
pooka
0f188198a5
use <rump/rumpuser_port.h>
2013-09-10 16:53:06 +00:00
pooka
6cd40f3fba
Install rumpuser_port.h
2013-09-10 16:51:24 +00:00
matt
b4939ef9a5
Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for
...
which a program was compiled.
2013-09-10 16:45:33 +00:00
tron
1ad2891b6d
Don't scrub the environment unless we are going to change it. This should
...
prevent crashes in applications which carefully and manually construct
a temporary environment and later restore the original environment
like Emacs 24.
Problem reported by Thomas Klausner on "pkgsrc-users" mailing list.
2013-09-09 10:21:28 +00:00
matt
66ad0cf771
detect whether hw divide is present.
2013-09-08 13:15:53 +00:00
matt
98efa985ed
Detect presence of hardware divide.
2013-09-08 12:11:56 +00:00
yamt
cfc4d5466a
document MD ways to access private data for some platforms
2013-09-06 17:54:09 +00:00
pooka
0c778f0d54
Avoid strict-alias problem flagged by certain compilers (e.g. Centos one):
...
libc/gen/utmpx.c:89: error: dereferencing pointer 'otv' does break strict-aliasing rules
reviewed by Christos (thanks!)
2013-09-05 17:35:11 +00:00
matt
8c08c8dda2
mips .eh_frame is writable
2013-09-05 00:28:11 +00:00
matt
85b4461aa6
bic sp not allowed in thumb (even with thumb2)
2013-09-05 00:27:38 +00:00
matt
df25d88db7
Fix the .cfi correctly.
2013-09-04 23:08:29 +00:00
htodd
3bf56cd237
Fix build by matching .cfi/#if.
2013-09-04 22:38:09 +00:00
matt
cb89adbb61
only emit cfi if __ARM_EABI__ && __UNWIND_TABLES__
2013-09-04 21:17:15 +00:00
ryoon
27e03817f7
Fix typos from FreeMiNT's db-1.86 patch.
2013-09-04 13:03:22 +00:00
christos
3ff21a6f59
print an error if we failed to allocate.
2013-09-03 08:44:45 +00:00
matt
2a674d4fc6
Use less got, add END(), make thumb tolerant.
2013-09-03 00:30:19 +00:00
joerg
08a6753cbd
Missing alias for strerror_l.
2013-09-02 07:59:32 +00:00
matt
bff961dda2
Use a constructor to get the cache_info.
...
However memset can be called before the constructor is called, just treat
those as simple fills.
Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h and use it
2013-08-30 21:28:59 +00:00
christos
efbe1fcbf4
add stdint.h for FreeBSD compat.
2013-08-29 15:01:57 +00:00
christos
e6ada316ce
use sysctl to find the pathname argv[0] if available (from FreeBSD via
...
Ed Maste)
2013-08-29 14:58:56 +00:00
riastradh
719254e9b5
Bump libc minor for consttime_memequal and explicit_memset.
2013-08-28 18:01:22 +00:00
riastradh
1239c2bb08
Publish explicit_memset and consttime_memequal in userland libc.
...
Remove the double-underscore from the userland versions, and do the
weak alias dance instead, now that these are public parts of libc.
As discussed on tech-userlevel:
https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
(option 3)
2013-08-28 17:47:07 +00:00
riastradh
495fdb7e9a
Make explicit_memset match memset's return value.
2013-08-28 15:46:23 +00:00
riastradh
cc79193075
Fix sense of consttime_memequal and update all callers.
...
Now it returns true (nonzero) to mean equal and false (zero) to mean
inequal, as the name suggests.
As promised on tech-userlevel back in June:
https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
2013-08-28 15:24:41 +00:00
christos
efab425d4c
get rid of PATH_MAX.
2013-08-28 08:05:21 +00:00
christos
4d322dedff
move the host file getbyname and getbyaddr functions to sethostent.c so
...
that they are in a separate file from the dns ones in order for libhack
to use them.
2013-08-27 09:56:12 +00:00
matt
704e1f2829
MIPS wants a read/write eh_frame.
2013-08-26 14:20:53 +00:00
matt
2e5f734e9f
Add LIBISPRIVATE?=yes
2013-08-25 14:20:30 +00:00
skrll
b0df966c1e
Whitespace.
2013-08-24 07:12:12 +00:00
matt
7d46aa31f0
Add IEEE 754 versions of
...
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
2013-08-24 00:51:48 +00:00
matt
809bd8df99
Add IEEE 754 versions of __float{,}disf which use no floating point.
2013-08-23 17:41:03 +00:00
matt
0ec618ca27
Add __floatunsi{sd}f for IEEE754.
...
Unlike the quad versions, these don't use floating point.
2013-08-23 16:01:35 +00:00