Commit Graph

282095 Commits

Author SHA1 Message Date
skrll 134a7d48fd Provide _UC_REGS_* defines for all registers 2020-10-24 07:03:11 +00:00
kamil 990d4b76d9 Register the usr/share/gdb dir 2020-10-24 07:03:00 +00:00
skrll ecebc551e7 Update the unwinder comment to better reflect ARM64 2020-10-24 07:02:20 +00:00
skrll 3d84f9f79d s/ARM/ARM64/ in comment 2020-10-24 07:00:26 +00:00
kamil fe62285e60 Install the NetBSD XML syscall definitions 2020-10-24 05:01:57 +00:00
rillig cecfcf73ed make(1): clean up comments in cond.c 2020-10-24 04:51:19 +00:00
blymn e3b984d959 Add new tests and check files for libcurses from the Google Summoer of Code
project.
2020-10-24 04:47:43 +00:00
blymn ce321bb046 Merge in code from Google Summer of Code project which dramatically
increases the number of tests performed.

Thanks to Naman Jain <jnaman806@gmail.com> for his excellent work on
this GSoC project.
2020-10-24 04:46:16 +00:00
rillig b70caa05d2 make(1): clean up code style in compat.c 2020-10-24 04:40:45 +00:00
rillig 37bfc650f3 make(1): remove redundant parameter from meta_name 2020-10-24 04:31:53 +00:00
rillig cfeefe9d25 make(1): clean up comments in buf.c 2020-10-24 04:27:24 +00:00
rillig 123f145507 make(1): clean up code layout in arch.c
Combining #ifdef with else if is bad style.  Mixing spaces and tabs in
indentation is bad style as well.

The generated code stays exactly the same.
2020-10-24 04:20:50 +00:00
rillig 62a45a3fab make(1): fix local variable name for determining the basename 2020-10-24 04:03:04 +00:00
rillig e076a2b46c make(1): clean up comments and braces in arch.c 2020-10-24 04:00:56 +00:00
rillig ca5fb406b3 make(1): make Arch_ParseArchive simpler
Neither '\0' nor ')' have ever been space characters.
2020-10-24 03:48:09 +00:00
rillig de6e71e3e0 make(1): remove lengthy comments from archive handling
The relevant information is already documented on OP_ARCHV, but only
since a few weeks.
2020-10-24 03:45:02 +00:00
rillig 623fe6530b make(1): don't modify GNode name while rebuilding the suffix graph 2020-10-24 03:30:25 +00:00
rillig 918e5893f9 make(1): extend test suff-lookup.mk
This test ensures that FindSuffByName behaves correctly.

In order to convert some char pointers to const char pointers, there
needs to be FindSuffByNameLen, and to make sure that this function
actually uses the given length, this test has the suffixes ".sho" and
".short".  Without the proper string comparison in FindSuffByNameLen,
the suffix ".short" might be found when searching for ".sho".
2020-10-24 03:18:22 +00:00
rillig 98de3f139f make(1): improve local variable names in SuffFindThem 2020-10-24 03:01:19 +00:00
rillig a989a4e99f make(1): add test for looking up suffixes 2020-10-24 02:25:02 +00:00
macallan f64266f94e support mmap() 2020-10-23 22:14:47 +00:00
rillig a159790434 make(1): improve variable names in SuffRebuildGraph 2020-10-23 20:15:19 +00:00
rillig de3e72da51 make(1): fix typos in comments 2020-10-23 20:14:50 +00:00
rillig 34674cb04c make(1): convert error level for Parse_Error to an enum 2020-10-23 20:04:56 +00:00
rillig f686c5aa1f make(1): add test for dependencies of the form '%.o: %.c' 2020-10-23 19:54:35 +00:00
rillig 685b1164a5 make(1): rename GNode.cmgn to youngestChild
The name is longer than before but also clearer.
2020-10-23 19:48:17 +00:00
rillig 3d32d01229 make(1): add test for .END depending on another target 2020-10-23 19:28:17 +00:00
rillig f1f99ad284 make(1): add test case in which .BEGIN depends on .END
Just for fun.
2020-10-23 19:23:00 +00:00
rillig 67a0f8d800 make(1): add test for the '::' dependency operator 2020-10-23 19:11:30 +00:00
martin 57bc5d61da Do not force bootselector MBR code for installs with only a single named
partition.
2020-10-23 19:03:42 +00:00
martin ea4944af8e Do not force alignment of the first partition by default (which is
treated special to skip the first track), unless an existing partition
table hints at it.
2020-10-23 19:02:58 +00:00
rillig dea61c0579 make(1): negate OP_NOP and rename it to GNode_IsTarget 2020-10-23 18:36:09 +00:00
rillig 59603394cc make(1): merge duplicate documentation for OP_NOP 2020-10-23 18:10:39 +00:00
rillig cfedae578a make(1): only define TRUE and FALSE if necessary
For -DUSE_ENUM_BOOLEAN, the macros are not necessary.
2020-10-23 18:05:35 +00:00
rillig 6958c1bb37 make(1): allow compilation with Boolean implemented as char 2020-10-23 17:59:25 +00:00
jdc 2a27498463 Add missing prop_object_release() to the E250/E450 patches.
Use the recently added (in r1.2) functions for SPARCle i2c devices too.
Simplify adding "compatible" entries and handle cases where there is none.
2020-10-23 17:53:07 +00:00
rillig deae9629c3 make(1): add tests for the variable named "" 2020-10-23 17:53:01 +00:00
rillig a906cce6bf make(1): add test for variable name aliasing 2020-10-23 17:21:22 +00:00
rillig ebedae7db7 make(1): rename Shell fields
Some of them should have been in an anonymous union, or should just kept
as separate fields.  There is only a small, fixed number of shells,
therefore it doesn't make sense to squeeze two completely separate
meanings into a single field just because that field happens to have a
fitting data type.
2020-10-23 17:05:40 +00:00
rillig 25210c6f0b make(1): describe the Shell fields by topic
Describing each field in isolation does not help to understand how these
fields work together.
2020-10-23 16:45:34 +00:00
wiz e2f11738e5 renice: Make usage match man page more. 2020-10-23 16:16:10 +00:00
wiz 82232f0f37 Fix macro use, sort. 2020-10-23 16:14:40 +00:00
rillig 9c4b20dd9c make(1): add field names in declaration of DEFSHELL_CUSTOM 2020-10-23 16:00:23 +00:00
rillig eef38fb29e make(1): remove unused null shell 2020-10-23 15:54:17 +00:00
rillig 6f608deec1 make(1): add target-specific COPTS when generating cpre or casm 2020-10-23 15:44:38 +00:00
rillig 943741bc10 make(1): decorate shell declarations with field names
Without these names, the declarations were hard to read, even though
they were already grouped into lines.  This grouping was inconsistent
though and the many string literals were hard to tell apart.
2020-10-23 15:19:51 +00:00
jdc 6be20158fd Move E250 and E450 i2c patches from dev/pcfiic_ebus.c to sparc64/ofw_patch.c.
They are now co-located with the other OFW patch routines.
New i2c devices are created for E250/E450 and v210/v240, so create new
functions to avoid duplicate code.
2020-10-23 15:18:10 +00:00
rillig 8aca25c26b make(1): add test for dollar in .MAKEFLAGS target 2020-10-23 14:48:49 +00:00
rillig 0109d8f326 make(1): move tests from cond2.mk to varmod-ifelse.mk (fixup) 2020-10-23 14:38:39 +00:00
rillig 4fa705e6c5 make(1): move tests from cond2.mk to varmod-ifelse.mk 2020-10-23 14:24:51 +00:00