Age | Commit message (Collapse) | Author |
|
from Nir Lichtman
ok pascal sthen
(they okayed the ports version which I take to be an agreement with this).
|
|
|
|
first six entries are in the same order as syscall arguments, such
that syscall() can just use the trapframe as the argument vector
for mi_syscall() and not need to reorder into another buffer on the
stack. This doesn't affect coredump layout or ptrace(2), but does
affect kernel crash dumps.
Possibility noted during miod@'s cleanup of the MD syscall()
implementations
ok mlarkin@ kurt@
|
|
clang-16
"looks fine to me" robert@, ok kettenis@
|
|
This is ancient GNU software that tends to break whenever clang adds
more warnings about deprecated features in new languages versions or
turns them into errors. Using -std=gnu89 (the defaults for base-gcc)
for those packages means we'll probably avoid most new warnings, errors,
and possible miscompilations when updating clang.
ok robert@
|
|
|
|
The code wants a pointer to a "CORE_ADDR", thus the "(CORE_ADDR)" cast
is erroneous. Just pass NULL.
ok jsg@
|
|
Use proper tag-relative values for DT_MIPS_RLD_MAP_REL tags.
This causes an ABI break on mips64. Your system must have latest ld.so
before applying this commit.
OK deraadt@ kettenis@
|
|
ok deraadt@
|
|
them into a page-aligned region in the bss, with the right markers for
kernel/ld.so to identify the region and skip making it immutable.
While here, fix readelf/objdump versions to show all of this.
ok miod kettenis
|
|
conversion specifier to mean 'll'. Found by an ok deraadt@
|
|
ok mpi@
|
|
ok deraadt@
|
|
generated with the static linked ELF file.
ok mpi@
|
|
|
|
Instead of just checking if *namep is NULL, also check if the string
pointed by *namep is empty. This is probably the original intent of
the code.
OK kettenis@ jsg@ deraadt@
|
|
An amd64 clang 10 binary built with lld 10 would abort after calling
execve(2) if it had been stripped. PT_LOAD segment aligment being
changed by strip was the cause.
Changing to 4K matches lld and results in a working binary after strip.
Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not
defined by the arch) would have also worked but we don't support large
pages in userland.
ok kettenis@
|
|
|
|
ok bluhm kettenis
|
|
okay millert@, tb@
|
|
this got fixed in recent binutils, but it's GPLv3.
So do the same thing in a slightly different way
okay guenther@
|
|
okay guenther@ kettenis@
|
|
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and
install(1) will always create files safely, thus clean the option usage
from the tree.
Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
|
|
alltraps_kern() is a trap function. Also initialize the struct
amd64_frame_cache in amd64_skip_prologue() which was missing.
Original diff from IIJ.
ok mpi mortimer kettenis deraadt
|
|
|
|
dumps with many many segments.
ok yasuoka@
|
|
access it. ok deraadt@ kettenis@
|
|
|
|
ok mlarkin@ deraadt@ mpi@ kettenis@
|
|
the PPL on top, store it where trapframe puts the trap number. This
makes interrupt handlers get called with the correct stack alignment.
Also, document the use of if_err to differentiate resumed/recursed
interrupts from 'real' ones.
tested in snaps
ok deraadt@
|
|
layout. Simplify how we identify which frames have trapframes while here.
ok kettenis@
|
|
state.
ok patrick@
|
|
ok mortimer@
|
|
|
|
- only the binutils package (no gdb here)
- don't import libiberty and texinfo, they are elsewhere
- remove all .info* generated files
|
|
|
|
other similar makefiles define POST_INSTALL = :
so even the GNU guys are aware this might be non standard.
fix it.
okay krw@ kettenis@
|
|
okay millert@ deraadt@
|
|
ok deraadt@
|
|
ok guenther
|
|
Install info and data files with -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE}
Prompted by natano@
Tweaks and oks deraadt@ natano@
|
|
ok mikeb@
|
|
aren't recognized by the in-tree gdb because it's built with the bfd code
from 2.15.
From miod@.
|
|
requested by and OK jmc@
|
|
But don't restore ownership/setuid/etc bits. ok deraadt@
|
|
- only the binutils package (no gdb here)
- don't import libiberty and texinfo, they are elsewhere
- remove all .info* generated files
|
|
kettenis ok'd me poking around in here; ingo ok'd the diff
|
|
|
|
be able to use the virtualization instructions.
ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
|
|
a reasonable 64-bit ABI for 64-bit ELF files instead of a 32-bit ABI.
|