For NetBSD/m68k, program header is erroneously readable from core dump,
although a page containing it is missing. This spoils relocation for
the main executable, and debugging with core dumps becomes impossible,
as described in the PR.
In order to avoid this failure, add consistency check for program header;
for NetBSD, 1st entry of program header refers program header itself. If
this is not the case, we should be reading random garbage from core dump.
Yes, this is a kind of the hackest hack. But, unable to debug with core
dump is critical. Therefore, I commit this workaround temporarily until
the real cause is found and fixed.
Note that this is not a recent regression for GDB nor kernel, as
mentioned in the PR. These from netbsd-8 and -9 fail in the same way
without this hack.
no longer build...
> Part of PR port-powerpc/56899
>
> Set default OS ABI to NetBSD when target is *-*-netbsd*.
>
> This fixes default behaviors of GDB when no executable is loaded
> (== OS ABI is not determined yet).
Set default OS ABI to NetBSD when target is *-*-netbsd*.
This fixes default behaviors of GDB when no executable is loaded
(== OS ABI is not determined yet).
allow conditionally disabling the building of certain user space
programs in the 'base' set.
There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
In addition, we must lower innerFramesWidth to prevent the new-old
fonts from causing the two text input boxes to overlap. xdm really
could be more clever about text layout...
PR xsrc/56855
functions and users likely aren't running X as root. Also turn off
the xman menu item until a custom greeter screen can be imported
(also note apropos is broken)...
radeon has different case but same name firmware files. the lower case
ones are already installed into /libdata/firmware, and to avoid having
to provide some special method to build on systems with case-preserving
file systems (such as macOS), we install the lower case ones in /usr.
this means that anyone that requires the lower case files must either
have /usr as part of the / file system, or manually keep them updated.
last part of PR#54976, though i doubt we'll try to pull up these.
this is enabled on i386, amd64 and arm64.
radeon has different case but same name firmware files. the lower case
ones are already installed into /libdata/firmware, and to avoid having
to provide some special method to build on systems with case-preserving
file systems (such as macOS), we install the lower case ones in /usr.
this means that anyone that requires the lower case files must either
have /usr as part of the / file system, or manually keep them updated.
not yet hooked into build.
part of PR#54976, though i doubt we'll try to pull up these.
these share the same license as amdgpu-firmware, so keep them in
the same license subdir.
skip importing the upper case ones that are already available
in sys/dev/microcode.
there's an extra check that we inherited from FreeBSD that tries to
detect KVA exhaustion on platforms with limited KVA, but the condition
that decided whether to use the extra check was using a FreeBSDism
that doesn't exist on NetBSD, resulting in this check being used on
all platforms. on amd64 systems with lots of memory, this extra check
would result in the ARC thinking that it constantly needed to reclaim memory,
resulting in all the xcall threads running all the time but not doing
anything useful. change this condition so that this extra check for
KVA exhaustion is only used on 32-bit platforms. fixes PR 55707.
Use X11EXTRAMANTRANSFORMS to set most of them, so that the sed(1)
syntax noise doesn't drown out the keys/values. Add comments.
Keep using X11EXTRAMANDEFS for __app_version__ - my make-fu is too
weak to figure out how to do that properly while keeping happy
multiple levels of quoting along the way.
Same output is generated.