| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
this got fixed in recent binutils, but it's GPLv3.
So do the same thing in a slightly different way
okay guenther@
|
|
|
|
| |
ok patrick@, naddy@
|
|
|
|
| |
ok kettenis@ deraadt@
|
|
|
|
|
|
|
|
| |
to pass the real count, with a minimal .shstrtab segment for consistency.
Also, add support for PN_XNUM to readelf.
problem reported and testing by claudio@
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to ld and improve the readelf support:
https://sourceware.org/ml/binutils/2006-07/msg00129.html
https://sourceware.org/ml/binutils/2006-07/msg00181.html
Disable the ld support on mips64, as its ABI requires a symbol
ordering that conflicts with the requirements of DT_GNU_HASH.
Tested on macppc, alpha, and sparc64 to verify operation with all
three ELF word size combos
testing help miod@
ok kettenis@
|
|
|
|
| |
ok naddy@ jca@
|
|
|
|
| |
access it. ok deraadt@ kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
given as input before the resolved source location. This change was introduced
to bintutils after the switch from GPLv2 but the author Tristan Gingold granted
me permission relicense the diff under GPLv2; thanks!
Taken as is from binutils commit be6f64938f985dfb0eaa2107b99f193bb865ce04
This option is used by the syzkaller kernel fuzzer to produce a human readable
representation of the coverage collected by kcov.
ok deraadt@ jca@ visa@
|
|
|
|
| |
From Sebastien Marie
|
|
|
|
|
|
| |
m88k-specific dynamic tags
ok deraadt@ jsg@
|
|
|
|
|
|
|
|
| |
archive members are set to deterministic values. U cancels D. This should
simplify the syspatch work.
Based on a diff by daniel@
ok millert@ deraadt@ kettenis@
|
| |
|
|
|
|
|
|
|
| |
-Wstring-plus-int -Wempty-body and -Wshift-negative-value warnings
as binutils is built with -Werror.
ok guenther@ millert@
|
|
|
|
|
|
| |
Teach ld to access that and PT_GNU_RELRO in linker scripts.
ok deraadt@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
| |
on a binary by a software builder (ie. packager) to indicate to the kernel
that this software performs W^X violations.
ok kettenis guenther millert
|
| |
|
|
|
|
|
|
| |
But don't try to chown or set special bits. This fixes several ports.
ok deraadt@
|
|
|
|
|
| |
ar/ranlib and objcopy/strip can pledge "stdio rpath wpath cpath fattr"
ok guenther
|
|
|
|
|
|
|
| |
of files. In two cases however they were not being masked. These are build
tools -- therefore they should not encourage further propogation of such
unsafe bits.
ok guenther
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setuid-preserving code in the so-called smart_rename() function. I
don't want my tools (ar, ranlib, objcopy, strip) going through the
effort to preserve setuid bits on ``build-directory'' files when they
sense a symbolic link, thank you very much. The modern way is to build
code, then set such modes at install-time.
Our kernel goes through the effort to clear setuid flags, and this was
neutering that attempt. Also has atrocious error handling.
(Identified as an issue of concern while doing the audit for pledge)
ok guenther
|
|
|
|
| |
kettenis ok'd me poking around in here; ingo ok'd the diff
|
|
|
|
|
|
| |
"stdio rpath", while objdump(1) also needs "tmppath" for objdump -i.
ok deraadt@, comments sthen@ kettenis@
|
|
|
|
| |
ok visa@, deraadt@
|
|
|
|
| |
kernel, and hopefully userland as well.
|
|
|
|
|
|
|
| |
a column, it needs to included in all rows, even after the register is
restored.
ok jsg@
|
|
|
|
| |
This corrects the alignment of the columns of hidden symbols
|
|
|
|
| |
ok kettenis@ deraadt@
|
|
|
|
| |
binutils 2.17. Passes randomdata regress tests on sparc64.
|
|
|
|
| |
Patch gyped from nicm@'s and jasper@'s work on the gdb port.
|
|
|
|
| |
somewhere with it building on arm/ia64. much pressure pirofti@ deraadt@
|
|
|
|
| |
really.
|
|
|
|
|
|
| |
ld(1) needs a lot more work, as the upstream code evolved significantly since
2.15, mostly due to changes in PIE binaries layout, and we had already
diverged significantly to implement W^X.
|
|
licence mere mortals can understand the terms of); will be connected to the
build on an arch-by-arch basis.
Testsuites and generated files have been intentionnaly omitted from this import.
Peer pressure and ok from at least drahn@ pirofti@ deraadt@
|