matt
222a0a07b3
Add RCSID.
...
Simplify.
2012-08-05 06:34:09 +00:00
matt
c5be335689
Add another ARM EABI runtime routine for
...
combined quotient / remainder for signed long long.
2012-08-05 06:33:51 +00:00
christos
53b6bc587f
add -I${TOOLDIR}/include/nbinclude to fix the build (find arm/elf_machdep.h).
...
Is nbinclude intended here? Why not put the machine files in ${TOOLDIR}/include?
2012-08-05 06:20:14 +00:00
skrll
b061958676
Ensure stack alignment. "looks fine" matt@
2012-08-05 05:10:38 +00:00
matt
20eab5e912
For ARM EABI, we need -DDSOFTFLOAT_NEED_FIXUNS too.
2012-08-05 04:54:38 +00:00
matt
7d3aca317e
Add support for MACHINE_ARCH matching earm or earmeb
...
Make evbearm-e[bl] a shortcut for evbarm and earmeb or earm.
Allow cats, iyonic, netwiner, shark, zaurus to specify earm though they
still default to arm.
2012-08-05 04:39:09 +00:00
matt
e9b001e787
Add __aeabi_uldivmod (unsigned long long div/mod).
...
Only use 32-bit softfloat if arm/armeb.
earm/earmeb will use the 64-bit softfloat.
2012-08-05 04:30:46 +00:00
matt
ca51ed1c42
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
...
can pick any redefinitions of the function (for ARM EABI).
2012-08-05 04:28:58 +00:00
matt
fba9f55f04
ARM EABI (AAPCS) uses different names for the softfloat routines that
...
the normal GCC ones. So after we redefine softfloat's to be what (old) GCC
wants, we redefined the old GCC names to what ARM EABI want (but only if we
are using ARM EABI). We do this for routines not compiled by softfloat so
can just have these redefinitions in one place.
2012-08-05 04:27:42 +00:00
riastradh
0b891b69f1
Force sys_close not to restart by returning ERESTART.
...
Print a diagnostic message if we ever get ERESTART out of fd_close
and convert it to EINTR instead.
Even if fd_close fails, it has already closed the file descriptor, so
restarting the system call is a mistake, with dangerous consequences
for multithreaded programs.
Should probably turn the message into a kassert eventually, and maybe
add one deeper in fd_close in order to more easily debug it before
all the data structures are destroyed.
2012-08-05 04:26:10 +00:00
matt
fd8b39a588
Add a routine for __aeabi_uldivmod which is just a wrapper around __qdivrem
...
but returns the 64-bit dividend and remainder in r0-r3.
2012-08-05 04:24:13 +00:00
matt
59f5e05f96
For __udivsi3 and __divsi3, add their EABI aliases as alternate entry
...
points.
2012-08-05 04:22:01 +00:00
riastradh
6377442f2e
Add hdaudio modules to the md.evbppc set list too.
2012-08-05 04:17:41 +00:00
riastradh
aa1b6ae825
Add uatp to the md.evbppc modules set list too.
2012-08-05 04:14:40 +00:00
matt
72be8acdc7
Add a macro for determining whether we can use LDRD/STRD instructions
2012-08-05 04:13:19 +00:00
matt
ce51494ef9
Add ABI version stuff.
2012-08-05 04:12:46 +00:00
matt
641919f3e4
Add the new MACHINE_ARCH of earm and earmeb (arm EABI(AAPCS-LINUX)).
2012-08-05 04:11:35 +00:00
matt
602e0146d8
Add arm{,eb}--netbsdelf-eabi support. (still evolving)
2012-08-05 04:10:18 +00:00
riastradh
27d763f8ca
Build hdaudio and hdafg modules.
2012-08-05 04:03:39 +00:00
matt
ad73c53594
Add arm{,eb}--netbsdelf-eabi support.
2012-08-05 04:03:03 +00:00
riastradh
d237c30a6a
...and be sure to config_pending_decr if kthread_create fails.
...
This error branch looks suspect, though. Shouldn't we bail at this
point rather than blithely try to proceed?
2012-08-05 02:47:52 +00:00
riastradh
17be18e233
Restore config pending stuff, adjusted to avoid the race.
...
Leave a note about what this code probably should look like for
anyone who comes rummaging around with the intent to really fix it.
I would do that myself if I had time and resources to test this at
the moment, and more comfort with our firewire stack, but I don't.
2012-08-05 02:36:16 +00:00
riastradh
57dd555999
Fix ffs_fstest_delfs's error branch for rump_pub_etfs_remove.
...
rump_pub_etfs_remove returns an error code, rather than setting errno
and returning -1.
2012-08-05 02:03:05 +00:00
riastradh
5bc0a6401f
Clarify description of ->ucom_read method.
...
From when I was trying to figure out what's wrong with uftdi reading
from a beaglebone last month. (Still haven't figured that out!)
2012-08-05 01:58:36 +00:00
matt
cf510d3400
back out elf note changes since we can use e_flags to determine EABI usage
2012-08-05 01:44:43 +00:00
matt
3e95365cba
back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage.
2012-08-05 01:43:58 +00:00
riastradh
12da95356e
Use my @NetBSD.org email address in the bwi(4) man page.
2012-08-04 22:31:36 +00:00
jdf
711e13238a
src/games/fortune/fortune/fortune.6:
...
* reference strfile(8) in `SEE ALSO' section.
src/games/fortune/strfile/strfile.8:
* remove redundant argument to (successive) `.Nm' macros.
src/games/fortune/datfiles/fortunes2:
* remove (the least complete variant of a) double fortune.
Patch submitted by Bug Hunting.
2012-08-04 22:29:58 +00:00
bouyer
45b66ef963
If ch_ndrives is > 0, then ch_drive is not supposed to be NULL.
2012-08-04 21:21:09 +00:00
wiz
b5615275e0
Bump date for more hardware support.
2012-08-04 19:48:24 +00:00
roy
9535b4e814
Workaround libc not exporting in6addr_any when built with MKINET6=no.
2012-08-04 19:11:39 +00:00
martin
1f4116c31b
No need to statically initialize physmem here, it is set to the correct
...
value in pmap_bootstrap(), which is early enough.
Tested on my Centris 660AV.
2012-08-04 17:18:38 +00:00
matt
a7f19c0a52
Add EABI4 and EABI5 for arm
2012-08-04 15:51:20 +00:00
christos
7dd78711cb
fix bogus test.
2012-08-04 15:50:16 +00:00
matt
e43469a595
Don't abuse DBG, use COPTS instead.
2012-08-04 15:17:16 +00:00
matt
57a1ba1789
Use COPTS instead of CFLAGS
2012-08-04 15:16:16 +00:00
matt
234b053454
-Wfoo goes into CWARNFLAGS
2012-08-04 15:13:09 +00:00
matt
36e2a4216f
Use COPTS instead of CFLAGS
...
When compiling crti.c and crtn.c, add -DCRTI and -DCRTN, respectively.
2012-08-04 14:59:05 +00:00
matt
910686b1a1
Use CRTI instead of __S
2012-08-04 14:57:46 +00:00
reinoud
8a7df726af
Fix IO lockups in NetBSD/usermode.
...
1) Don't block IO signals since the return path is not garanteed to enable the
signal again.
2) Since signals can get dropped, do a 2nd pass over the routines.
2012-08-04 14:53:32 +00:00
nonaka
3c7b0f08bb
regen.
2012-08-04 13:03:38 +00:00
nonaka
c007ea7074
Add PLANEX GW-USH300N.
2012-08-04 13:03:17 +00:00
nonaka
b4b8d53804
Add NTT DOCOMO L-02C entry at supported hardware.
2012-08-04 12:58:41 +00:00
nonaka
04a483f9df
Match NTT DOCOMO L-02C.
2012-08-04 12:55:06 +00:00
christos
912592a638
mention current status
2012-08-04 12:47:00 +00:00
christos
d9ddb5220c
- fix typo in comment
...
- Don't call abort1 with NULL ld, after panic(9).
2012-08-04 12:38:20 +00:00
pgoyette
3943dd5652
Add distrib entries for new uatp module.
...
Hello, riastradh!
2012-08-04 12:33:23 +00:00
christos
0c222dcdd0
Don't increment the mount reference count here. Otherwise we are left with
...
refcount of one when we unmount, and vfs_destroy does not... Who is expected
to decrement this anyway?!?!
2012-08-04 12:31:57 +00:00
christos
cd27e50e59
add #include <machine/asm.h>, use PIC_PLT()
2012-08-04 11:03:34 +00:00
skrll
b98543086d
define<tab> consistency
2012-08-04 09:24:19 +00:00