Commit Graph

300946 Commits

Author SHA1 Message Date
he 3be72521d2 Bump MAXTSIZ from 64MB to 128MB also for o32.
This so that the rather large cc1 from gcc12 can be run.
OK'ed by simonb@
2023-05-14 18:44:27 +00:00
rillig 942c4f27e1 indent: shorten variable names for indenting comments
No functional change.
2023-05-14 18:05:52 +00:00
rillig 1304bdca7f indent: fix handling of multiple block comments in a line 2023-05-14 17:53:38 +00:00
christos 33f7a1f145 make arm build 2023-05-14 17:50:29 +00:00
christos fe019e1f32 undo previous 2023-05-14 17:21:53 +00:00
rillig 217e4d847d indent: in comments, keep a leading tab
This kind of comments is used for the CVS IDs at the top of files.
2023-05-14 17:13:37 +00:00
rillig 0cd0431ee6 indent: fix vertical spacing after declarations
A comment is not supposed to change the state of the 'blank line after
declaration', but it did.  The initialization of saved_just_saw_decl was
wrong though since it tried to capture the previous value after it had
already been overwritten.
2023-05-14 16:47:06 +00:00
phx 34815acdf9 Update loadbsd source and distribution binary to version 3.3.
- Loading the kernel to the highest priority memory segment is default now.
- New option -l to revert the to the previous behaviour of largest segment.
- New option -M to define a minimum size for the memory segment.
- Fixed some warnings and typos.
- Put assembler inline source into its own source text startit.s.
- Can be built with Bebbo's gcc6 Amiga port or with vbcc.
2023-05-14 16:13:05 +00:00
rillig eb14db9dab indent: reduce code for scanning tokens
The input line is guaranteed to end with '\n', so there's no need to
carry another pointer around.

No functional change.
2023-05-14 14:14:07 +00:00
christos 1936c0799b try to fix the build. 2023-05-14 12:45:56 +00:00
rillig 0081badbbf indent: remove foreign RCS IDs 2023-05-14 12:12:02 +00:00
rillig e04d6833e7 indent: miscellaneous cleanups 2023-05-14 11:29:23 +00:00
riastradh 283c6b4be3 openssl compat: Try this again!
compatdir appears to be for things like /usr/lib that have
/usr/lib/eabi as a subdirectory, so for /usr/lib/openssl it would
mean we have /usr/lib/openssl/eabi as a subdirectory.  But that's not
what we have; we have /usr/lib/eabi/openssl.

Let's try using NetBSD.dist.compat.in instead, which appears to be
intended for this purpose, from what I can gather.
2023-05-14 11:04:56 +00:00
rillig a7a4fde319 indent: reduce binary size
No functional change.
2023-05-14 11:02:53 +00:00
riastradh 7cf7afeeb9 kern/sys_descrip.c: Nix trailing whitespace. 2023-05-14 09:29:58 +00:00
skrll a39fa79c30 Check for RB_HALT in cpu_reboot. 2023-05-14 09:14:30 +00:00
riastradh 84da3ae614 x86/efiboot: Nix trailing whitespace. 2023-05-14 09:07:54 +00:00
riastradh 7caa063f47 x86/locore.S: Nix trailing whitespace. 2023-05-14 09:05:38 +00:00
riastradh f3f4271d89 x86/boot(8): Nix trailing whitespace. 2023-05-14 09:03:02 +00:00
riastradh 093750639d options(4): Nix trailing whitespace. 2023-05-14 09:02:05 +00:00
mrg 877aec1b8e mark /usr/lib/openssl and /usr/lib/openssl/modules as "compatdir".
remove them as explicit part of all arm64 builds when they're only
(currently) used and consumed by llvm builds.

this fixes gcc builds and i don't think it breaks llvm ones though
i'm still waiting for that test.
2023-05-14 07:07:23 +00:00
christos 26931968e6 switch alpha to OpenSSL-3.x 2023-05-14 01:17:08 +00:00
rillig 4f2a635091 lint: add query for chained assignments 2023-05-13 20:55:44 +00:00
riastradh 8f8672b0ba openssl: More set list fixes. 2023-05-13 20:13:05 +00:00
christos 30e1e2b7fc fix alpha 2023-05-13 18:59:36 +00:00
rillig 8c2ceb1bdd indent: prevent undefined behavior on unbalanced parentheses 2023-05-13 17:54:34 +00:00
riastradh 1e9b358f6a openssl: More tests need -Wno-missing-field-initializers. 2023-05-13 17:46:09 +00:00
rillig ee7d9431ec indent: do not add a blank at the beginning of a line
Most calls to output_line did already reset the variable.  There may be
some untested edge cases in or after comments, but these should be fine
as well.
2023-05-13 17:20:41 +00:00
rillig c49e59f750 indent: do not add a space before a comment that starts a line 2023-05-13 16:40:18 +00:00
rillig 09f60083f6 indent: replace __dead functions with return statements
No functional change.
2023-05-13 16:19:37 +00:00
christos 1246b2c5b1 switch i386 and m68k to OpenSSL-3.x 2023-05-13 15:44:59 +00:00
rillig 2261e976c8 indent: implement 'blank after declarations' 2023-05-13 15:34:22 +00:00
riastradh 61b8d55f2a openssl: libcrypto bf test needs -Wno-missing-field-initializers 2023-05-13 15:12:13 +00:00
rillig ae0013d277 indent: use enum instead of magic numbers for tracking declarations
No functional change.
2023-05-13 14:30:48 +00:00
rillig 4cae730b26 tests/indent: extend test for blank line after declaration 2023-05-13 14:19:14 +00:00
rillig 3c4b7d72f3 indent: improve names of option variables
No functional change.
2023-05-13 13:48:54 +00:00
rillig 272b0ac37c indent: add debug logging for enum token classification 2023-05-13 13:45:24 +00:00
christos 97591ca356 fix m68k/i386 2023-05-13 13:43:25 +00:00
rillig 24dd152d37 indent: fix lexing of numbers that are spread over multiple lines 2023-05-13 13:31:37 +00:00
rillig 9db90c6e6b tests/indent: add test for lexing of numbers 2023-05-13 13:24:01 +00:00
rillig af5234764a distrib/sets: format tests list 2023-05-13 13:21:35 +00:00
riastradh bf2355496c aarch64: New directories for compat openssl on aarch64.
Hope I got the setlist tags right, not really sure how this works.
2023-05-13 13:04:14 +00:00
riastradh 6abe226d43 libfido2: Needs -Wno-error=pointer-sign on arm. 2023-05-13 13:04:03 +00:00
rin 8cd5eb9a5d aq(4): AQC113-116 support by ryo@ has been pull-up'ed into netbsd-10. 2023-05-13 12:51:28 +00:00
rillig ae2b6a8fde indent: rename struct fields for buffers
No binary change except for assertion line numbers.
2023-05-13 12:31:02 +00:00
andvar 3e36cf7df1 change a typo in sizeof(struct queueue *) to sizeof(nqueue[0])
riastradh recommends using array[0] instead of pointer.
2023-05-13 11:48:19 +00:00
andvar 5b7fbaca05 fix typo in unused definition s/ESA_KDATA_OUEUE_LEFT/ESA_KDATA_QUEUE_LEFT/. 2023-05-13 11:30:27 +00:00
andvar a4d536841f s/requied/required/ in comments (likely grammar should be also improved in the
future).
2023-05-13 11:27:10 +00:00
andvar 7bca8c8e2e fix typos in comments. 2023-05-13 11:19:19 +00:00
riastradh ffc5358d68 libcryptotest: Suppress some warnings.
Detected by clang aarch64 32-bit arm compat library build.
2023-05-13 11:11:39 +00:00