| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
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.
|
|
|
|
| |
build logic.
|
|
|
|
| |
ok mlarkin@
|
|
|
|
|
|
|
|
| |
'cc -static'. To explicitly request the legacy behaviour, use -nopie.
For the few port affected by this, bumps will follow shortly.
looks good to kettenis@, ok kurt@
|
|
|
|
|
|
| |
do some sanity checking while it determines the load base.
ok kurt@
|
|
|
|
|
|
|
|
|
|
| |
Previously a breakpoint at the first instruction would force us to
single-step. Depending on the single-step implementation this would make us
step over the breakpoint and continue in many cases. Fix this by passing the
address of the current instruction pointer which will skip the code that
checks if we need to step over a breakpoint. A similar fix has been made
upstream many moons ago. Fixes debugging static PIE on sparc64 and probably
others that use some sort of software single-stepping.
|
|
|
|
| |
archdep.h help from kettenis@
|
|
|
|
| |
ok kurt@, guenther@
|
|
|
|
|
|
|
|
|
|
|
|
| |
-static -pie.
On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute
relocs into RELATIVE relocs when we can for -static -pie.
With this change we don't need -Wl,-Bsymbolic anymore when building -static
-pie binaries.
ok millert@, kurt@
|
|
|
|
| |
ok kurt@
|
|
|
|
|
| |
so we need to use memmove() to handle the overlap. Sourceware PR 11456
OK deraadt@
|
| |
|
|
|
|
|
|
| |
instructions on amd64.
ok deraadt@ miod@ mlarkin@
|
|
|
|
| |
ok miod@, deraadt@
|
|
|
|
|
|
|
| |
Alan Modra (and Alan's employer) graciously permitted use of his patch
under GPLv2.
ok kettenis@
|
|
|
|
|
|
|
| |
@file allows reading command line arguments from a file. Gcc now uses this to
pass very long arguments lists to ld.
ok guenther@ miod@
|
|
|
|
| |
Request and testing by krw@
|
|
|
|
|
|
|
|
| |
2005-08-17 Alan Modra <amodra@bigpond.net.au>
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called
without any got section.
ok miod@
|
| |
|