Commit Graph

219799 Commits

Author SHA1 Message Date
martin
62c0de7a28 Disable -Wconversion for gcc older than 4.5 2013-07-17 19:24:56 +00:00
pooka
4a8002bb72 Include sys/null.h only on NetBSD because sys/null.h is not available
elsewhere.  This conditional makes the header portable and it can simply
be dropped verbatim into any system.

Also, move the inclusion below the comment block describing the purpose
of queue.h so that people looking at the header first see information
about the functionality instead of about a portability detail.
2013-07-17 15:50:59 +00:00
christos
d8748c5de0 print the next parser name instead of just the pointer in debugging. 2013-07-17 15:42:03 +00:00
christos
ee1471609b Allow -v to be used with other commands (list scan for example) as documented. 2013-07-17 15:40:42 +00:00
msaitoh
629a712518 Add some new TLB and cache entries from document (Table 3-22 Encoding of CPUID
Leaf 2 Descriptors, Intel 64 and IA-32 Architectures Software Developer's
Manual Vol. 2A.)
2013-07-17 15:26:38 +00:00
msaitoh
449b90bab6 Fix 0x0d's DCACHE entry and 0xeb's L3CACHE entry from the document
(Table 3-22 Encoding of CPUID Leaf 2 Descriptors, Intel 64 and IA-32
Architectures Software Developer's Manual Vol. 2A.)
2013-07-17 15:22:43 +00:00
martin
3f349243f2 Use -fPIE for crtbegin.o (instead of -fpie).
Fixes linking the firefox js shell. Ok: joerg@
2013-07-17 14:23:45 +00:00
matt
beba19ed6e Use += for SYSTEM_DEP not ?= 2013-07-17 14:05:43 +00:00
christos
37a296c0b9 PR/48057: psi: skip and msgfmt cannot be used together. Looks like a pasto;
fixed.
2013-07-17 12:55:48 +00:00
oki
087ed689f5 if received PADT, get correct sc related with session id.
RFC2516 5.5 says, no tags required in PADT packet.
2013-07-17 10:16:58 +00:00
matt
c1bc7ededb Use __HAVE_FPU__ instead __HAVE_68881__ 2013-07-17 06:43:32 +00:00
matt
d35c388600 Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
2013-07-17 06:39:06 +00:00
matt
68f3caa6de Export fpreg.h for libc 2013-07-17 05:42:02 +00:00
matt
cfa141e181 Export <m68k/fpreg.h> 2013-07-17 05:41:30 +00:00
matt
7a54509455 Use a more portable series of instructions. 2013-07-17 04:57:55 +00:00
matt
a4ef47e089 Use a more compact instruction sequence that also works on coldfire 2013-07-17 04:56:14 +00:00
matt
4c5ed3b22b Use assym.h 2013-07-17 03:01:27 +00:00
matt
387bfc7df7 Add genassym / assym.h support 2013-07-17 01:41:17 +00:00
matt
65726deb61 Add END(func)
Fix some straggling %r@<eol> to (%r)
2013-07-16 23:24:18 +00:00
matt
7b231464eb Make INTERRUPT_{SAVE,RESTORE}REG visible to userland 2013-07-16 23:01:05 +00:00
matt
2d913a7c7d Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
2013-07-16 23:00:15 +00:00
matt
b3065f5358 Remove non __ELF__ clauses.
Add GOT_SETUP and LEA_LCL macros.
2013-07-16 22:23:15 +00:00
matt
5c5fa67e4a Use SYSTRAP
Use a branch for CERROR (avoid the PLT)
2013-07-16 22:20:35 +00:00
matt
4a2ab9f9a7 Add END(func) 2013-07-16 22:19:37 +00:00
matt
d4d3821c9c Add END(func)
Use SYSTRAP
2013-07-16 22:19:16 +00:00
matt
e198e9ac6c Make CERROR hidden. Use END() appropriately. 2013-07-16 22:18:14 +00:00
matt
942581824f Add END(func) 2013-07-16 22:12:20 +00:00
matt
dd123293f0 Add END(func) 2013-07-16 21:49:45 +00:00
matt
440d829b3c WEAK_ALIAS is always present
Use END(func)
2013-07-16 21:48:32 +00:00
matt
82416e4fed Add END(func) 2013-07-16 21:46:42 +00:00
pooka
c9632786bd A simple (void) is apparently too easy and traditional to make
Wunused-result STFU, so let's invent something a bit more verbose to
try to achieve the desired result of "ccg xnaht I really don't care if
you think I should check the return value".
2013-07-16 21:14:42 +00:00
matt
b97b6cbaca Add an END macro. reorder EXTBL macro 2013-07-16 21:01:03 +00:00
matt
07a0a32561 Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
2013-07-16 20:49:41 +00:00
pooka
093ebbd17d Give reader-friendly aliases to rfork flags. 2013-07-16 20:17:06 +00:00
sjg
af0aba95fb When a var is set in the CMD context, it prevents the same name
being set in GLOBAL context.  We should also delete any such
variable in GLOBAL context, else make -V will show the wrong value.
2013-07-16 20:00:56 +00:00
sjg
7217d3f346 Fix unit-tests to cope with recent change to progname 2013-07-16 19:59:28 +00:00
pooka
f3e50bbb57 Explicitly ignore return value of writev() for sending a packet.
Otherwise you get the following with some compilers:
warning: ignoring return value of 'writev', declared with attribute warn_unused_result [-Wunused-result]
2013-07-16 19:44:31 +00:00
kefren
4866020490 send the actual prefix on the wire instead of struct headers
statify
2013-07-16 19:40:01 +00:00
pooka
c5876c964f COMPAT_60 for rump kernels.
Requested via github (buildrump.sh)
2013-07-16 19:07:54 +00:00
christos
b0420de909 Add -Wconversion for WARNS > 5 2013-07-16 17:48:52 +00:00
christos
b294e9655c WARNS=6 2013-07-16 17:48:22 +00:00
christos
37e3924882 WARNS=6 [-Wconversion] 2013-07-16 17:47:43 +00:00
kefren
4a79aafa57 create binding for connected routes on startup
decay an warning message to debug only
2013-07-16 16:55:01 +00:00
christos
17cdc7e70d use bmake_foo instead of efoo() 2013-07-16 14:22:13 +00:00
christos
4f413ffa5d More gmake compatibility:
1. add -w flag to print Entering and Leaving directory name the the beginning
   and the end of processing.
2. export MAKELEVEL=$((MAKELEVEL + 1)) only in the child environment.
3. when printing error messages, prefix them with the program name [$MAKELEVEL]
   for $MAKELEVEL > 0
4. if $MAKEFLAGS consists only of letters assume it is a set of flags (as
   allowed by posix), convert them to -f -l -a -g -s, so that they get parsed
   properly.
With those fixes gmake -> bmake -> gmake -> bmake etc. works as expected.
2013-07-16 14:00:53 +00:00
reinoud
420d7ac724 Remove udf_node * as state variables and add the loop invariants UFS and tmpfs
carry to make it easier to debug.
2013-07-16 10:49:36 +00:00
msaitoh
74224ab6c4 Fix yet another NVM bank detect problem in wm(4). Use bank 0 if the detect
function failed. It's the same as FreeBSD. Observed and tested with Asus P8P67
Deluxe motherboard and tested by jnemeth.
2013-07-16 10:30:27 +00:00
joerg
55efcbee9d Disable unwind sections for the boot loaders. 2013-07-16 10:05:38 +00:00
msaitoh
c148f0440f Update Intel's Processor Family Names of family == 6 from the latest document.
Add 0x35(Atom), 0x36(Atom S), 0x3f(future Xeon), 0x46(Haswell) and update some
models.
2013-07-16 09:54:30 +00:00
joerg
85363808c6 hp700 rescue/ldd fails on -j16 build if usr.bin/ldd/elf32/libldd_elf32.a
hasn't been made yet. Add an explicit .WAIT before rescue to avoid this.
2013-07-16 09:52:21 +00:00