Commit Graph

287583 Commits

Author SHA1 Message Date
nia
4986201e82 update information 2021-04-24 07:12:17 +00:00
mrg
258e49078f remove diff to upstream. 2021-04-24 06:45:56 +00:00
mrg
d09fcf21ff reduce diffs to upstream. 2021-04-24 06:44:24 +00:00
mrg
ca4eb663da make netbsd section more GNU-style. 2021-04-24 06:44:01 +00:00
skrll
3a6fd5092c G/C 2021-04-24 06:38:39 +00:00
rin
138c755404 Fix build with MKDEBUG=yes for aarch64. 2021-04-24 06:34:52 +00:00
mrg
f0fc1517e8 reduce diffs to upstream. 2021-04-24 06:32:09 +00:00
mrg
399f6b5a0b use GCC_NO_IMPLICIT_FALLTHRU 2021-04-24 04:50:47 +00:00
macallan
1322e99212 add -l option to dump a list of available fonts 2021-04-24 00:49:26 +00:00
macallan
207794b100 add an ioctl() to get a list of fonts currently available via wsfont 2021-04-24 00:15:37 +00:00
mrg
4568bc619b cc1objplus and lto-dump are now enabled. 2021-04-23 22:53:03 +00:00
mrg
7bcf01e5b9 build cc1objplus. don't forget debug set this time. 2021-04-23 22:50:05 +00:00
rillig
5bd0234249 lint: merge duplicate code in grammar for GCC compound expressions
This increases the number of shift/reduce conflicts, once again.  I
don't know why since the previous two grammar rules only differed in a
single detail.  One of them had a declaration_list while the other
didn't.  This difference is exactly what declaration_list_opt is for.

Anyway, the tests for both cases (with and without declarations) work
exactly as before.

Merging this duplicate code will probably make it easier to fix the
current limitation in lint regarding GCC compound expressions that a
statement followed by a declaration generates a syntax error.

Fixing this is not trivial, my first attempt failed either with
segmentation faults or with sym->s_type becoming NOSPEC during the
expression.
2021-04-23 20:26:43 +00:00
rillig
cd38323370 tests/lint: test GCC compound expression without declaration 2021-04-23 20:13:29 +00:00
rin
f843c9618d Add lto-dump.debug. 2021-04-23 15:21:49 +00:00
simonb
0144255326 Merge the .text.* sections into the .text section on MIPS, SPARC and
SPARC64 as is done on all other ports.  Mostly costmetic, but does mean
that main() now appears before the _etext symbol instead of after it.
2021-04-23 08:42:25 +00:00
skrll
4ebe5623b4 Use sys/cdefs.h __CONCAT3 2021-04-23 06:13:05 +00:00
skrll
3111edd8a6 Trialing whitespace 2021-04-23 06:02:48 +00:00
skrll
1c68c1dcfe Provide __CONCATn macros that take from 3 to 8 arguments and concatenate
them.

I didn't provide the non-STDC versions
2021-04-23 05:56:43 +00:00
yamaguchi
34534503ff enabled PPPOE_DEBUG for librumpnet_pppoe* when RUMP_DEBUG is defined 2021-04-23 03:44:05 +00:00
yamaguchi
7c3ad1a224 Added a test case for MTU of pppoe(4) 2021-04-23 03:41:55 +00:00
yamaguchi
8fd0ecaa70 Make IFF_DEBUG enabled if $DEBUG is true 2021-04-23 03:40:05 +00:00
yamaguchi
4bb5023316 functionalize rump.ifconfig and pppoectl for clearer test code 2021-04-23 03:38:19 +00:00
yamaguchi
f0773bb1c5 Adjust mtu at LCP instead at IPCP
The adjustment must be done at LCP when a PPPoE connection
does not use IPCP.
2021-04-23 03:36:13 +00:00
yamaguchi
e9679de3fb Fix to set mtu even if it is bigger than mru notified at LCP 2021-04-23 03:31:33 +00:00
yamaguchi
2d87bd9bd5 Added test cases for "pppoectl passiveauthproto" 2021-04-23 03:07:19 +00:00
yamaguchi
861187a72c Add a new option to enable SPPP_AUTHFLAG_PASSIVEAUTHPROTO flag 2021-04-23 02:28:40 +00:00
mrg
8147e6c899 build new GCC 10 lto-dump(1) tool. 2021-04-23 01:56:14 +00:00
mrg
571b8d3cee sort. 2021-04-23 01:53:55 +00:00
yamaguchi
ba783f9d03 Introduct a new flag to accept different authentication protocol
in myauthproto and hisauthproto

When the flag is enabled, a authentication protocol notified
at LCP negotiation is used as my authentication protocol.
When the flags is NOT enabled, my authentication protoco is
not changed at LCP negotiation.
2021-04-23 01:13:25 +00:00
rillig
66445508cf tests/lint: add test for typeof after statement
Found by christos@.
2021-04-22 22:43:26 +00:00
mrg
7e0fcb8493 arm64eb works. 2021-04-22 20:45:00 +00:00
christos
185787c65b PR/56120: Chris Pinnock: build.sh (-m alpha) release fails on current on
Darwin in libc compilation
We build the regex code in tools without nls. We don't include any nls headers
for that, but on Darwin wint_t gets defined, so we end up with a compilation
error. The cleaner fix would have been to always use regex_foo_t types, but
the minimal fix is to only do this for the tools build, using cpp.
2021-04-22 19:20:24 +00:00
wiz
69305a0d1c cgram: allow providing an input file instead of the random fortune 2021-04-22 14:57:36 +00:00
yamaguchi
a9a3fd4504 Added missing free of sc_hunique to prevent memory leak
when using PPPoE server
2021-04-22 10:26:24 +00:00
mrg
716f126bf9 arm64* now works. (thanks skrll.)
evbarmv5 and evbarmv7hfeb works.  (thanks martin.)
2021-04-22 05:00:35 +00:00
rin
1062ebcd31 Capitalize /EFI and /EFI/NetBSD as usual. Both are case-insensitive although.
Maybe not worth bumping dates...
2021-04-22 01:36:25 +00:00
rin
84148c19da Fix rnd(9) support; events were not sampled actually in the previous.
Remove #if-0'ed and wrap long line for clarity.
2021-04-22 01:33:18 +00:00
rin
7da850018c Apply this fix also for binutils.old.
http://www.nerv.org/netbsd/?q=id:20210422T010948Z.f87d2246188cfedb66a0d5a012c107b6a2b9f395

> Fix regression where ld(1) is trapped into infinite loop when
> linking binary whose text does not fit within R_PPC_REL24.
>
> Reported upstream as Bug 27755:
> https://sourceware.org/bugzilla/show_bug.cgi?id=27755
>
> This problem was introduced to binutils-2-31-1 for our tree.
> netbsd-9 is affected, while netbsd-8 is not.
2021-04-22 01:14:18 +00:00
rin
1c7fbcda57 Fix regression where ld(1) is trapped into infinite loop when
linking binary whose text does not fit within R_PPC_REL24.

Reported upstream as Bug 27755:
https://sourceware.org/bugzilla/show_bug.cgi?id=27755

This problem was introduced to binutils-2-31-1 for our tree.
netbsd-9 is affected, while netbsd-8 is not.
2021-04-22 01:09:48 +00:00
skrll
fd9a2ad443 Do previous differently as the API is different. 2021-04-21 16:23:47 +00:00
christos
a32fdb6548 Put things back, emit.ln it was meant to be there. 2021-04-21 14:04:26 +00:00
christos
2730ab42e6 remove emit.ln; looks like an accident and breaks the build. 2021-04-21 13:41:42 +00:00
rillig
be94027e4e tests/lint: fix the hack for emit.ln to also work if MKUPDATE != "no" 2021-04-21 13:26:16 +00:00
jakllsch
f1bae0bb42 regenerate 2021-04-21 13:12:42 +00:00
jakllsch
e14bb724aa Fix Realtek RTL8125 description 2021-04-21 13:09:33 +00:00
hannken
a2c5994a36 Prevent blocking l2arc_feed_thread() forever, skip the
cv_timedwait() for negative or zero ticks.
2021-04-21 10:02:34 +00:00
ryo
ea089466ac added more attributes of PTE displayed by "ddb>machine pte" 2021-04-21 09:52:20 +00:00
skrll
b5c783f5b6 Provide some more operations that are part of compiler lse.S. This is
incomplete, but at least covers all the atomic_swap ops and allows the
aa64 kernel to link with gcc 10.
2021-04-21 07:31:37 +00:00
rillig
97ccd8d967 tests/lint: fix inconsistent operator for emit.ln
The build failed with:

	nbmake[8]: "/.../src/share/mk/bsd.files.mk" line 47:
	    Inconsistent operator for /.../emit.ln
2021-04-20 23:30:35 +00:00