Age | Commit message (Collapse) | Author |
|
Jumbo merges are NOT WELCOME. They have to be seperated out and tested.
|
|
|
|
post-binutils 2.17 but pre-GPLv3 commits.
miod@ says now is the time to get this in.
|
|
This makes the -msecure-plt option work, which is necessary to generate
Secure-PLT ABI code.
|
|
remaining commented out variable settings. We'll continue to use the
same layout for both BSS-PLT and Secure-PLT since supporting the more
relro friendly layout that Linux uses isn't compatible with our way of
making the PLT and GOT read-only.
|
|
This smells like a workaround but it allows audio/mpd to
build and the resulting binary runs well enough to make
landry@ happy. In any case, having a broken binary is not
much worse than not having a binary because ld(1) crashed.
ok miod@, deraadt@
|
|
aes{dec{,last},enc{,last},imc} instructions (regression in 2.17).
Correctly disassemble aeskeygenassist.
Before (binutils 2.15):
0: 66 0f 38 db c8 aesimc %xmm0,%xmm1
5: 66 0f 3a 44 da 04 pclmulqdq $0x4,%xmm2,%xmm3
b: 66 0f 3a 44 ec 10 pclmullqhqdq %xmm4,%xmm5
11: 66 data16
12: 0f .byte 0xf
13: 3a df cmp %bh,%bl
15: fe 08 decb (%rax)
Currently (binutils 2.17):
0: 66 data16
1: 0f 38 db aesimc %xmm1,%xmm1
4: c8 66 0f 3a enterq $0xf66,$0x3a
8: 44 da 04 66 rexX fiaddl (%rsi,2)
c: 0f 3a 44 ec 10 pclmullqhqdq %xmm4,%xmm5
11: 66 data16
12: 0f .byte 0xf
13: 3a df cmp %bh,%bl
15: fe 08 decb (%rax)
With these changes:
0: 66 0f 38 db c8 aesimc %xmm0,%xmm1
5: 66 0f 3a 44 da 04 pclmulqdq $0x4,%xmm2,%xmm3
b: 66 0f 3a 44 ec 10 pclmullqhqdq %xmm4,%xmm5
11: 66 0f 3a df fe 08 aeskeygenassist $0x8,%xmm6,%xmm7
|
|
random stream. Only srand() should give real random values. Make
our pimped Perl more compatible with the rest of the world.
OK afresh1@ millert@
|
|
building a static binary out of PIE objects; similar to the logic
found on other platforms, for some reason arm was lacking this fix.
|
|
world uses them.
|
|
allow non "sy"/0xf options for dmb. This omits the *ld options
available in armv8 running in a32 mode. Similiar changes made in
freebsd.
ok miod@
|
|
hasn't been required for a while.
|
|
obtained by passing --no-secureplt to ld(1), or -Wl,--no-secureplt to cc(1)
when linking.
|
|
only used by the alpha backend and allow it to produce more precise
relocation information, but need a recent as(1) for this to work.
This will be necessary to enable secureplt by default.
|
|
build logic.
|
|
|
|
kernel, and hopefully userland as well.
|
|
|
|
|
|
Flag bits worked out with kettenis@
ok mlarkin@
|
|
pointed out by miod@
|
|
|
|
binutils 2.15, it introduces bogus failures when inter-library dependencies
are present.
With the binutils 2.17 behaviour restored, --as-needed will cause linker
failures when necessary inter-library dependencies are not present. This is
actually a good thing as binutils 2.15 will silently produce executables
that will fail at runtime in those cases.
ok miod@
|
|
ok kettenis@
|
|
at least for now, as it would result in a partially writable GOT. Our
ld.so(1) has the smarts to properly write-protect the single .got, so we
don't need this.
ok guenther@
|
|
Original commit message:
Change gcc and ld semantics to make static PIE the default when invoking
'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@
|
|
|
|
|
|
|
|
|
|
Simply adding -type l mean the problem it was trying to solve is *not*
solved, so just go back to the original set. Sorry, but random files types
in /usr/include are your problem, not the build system's...
|
|
ok mlarkin@
|
|
Based on diff from Gregory Edigarov (edigarov (at) qarea.com)
ok afresh1@
|
|
'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@
|
|
OK deraadt@
|
|
Thanks to didickman AT gmail for noticing.
|
|
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.
|
|
Many thanks to Nathanael Rensen <nathanael at polymorpheus dot com>
for tracking it down and supplying the patch.
Has been reported upstream and the fix incorporated into a larger change
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/192
|
|
uses srand48_deterministic if a seed is provided.
seems fine millert@
|
|
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@
|
|
-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@
|
|
|
|
commit it deraadt@
|
|
ok kurt@
|
|
ok kurt@
|
|
- only the binutils package (no gdb here)
- don't import libiberty and texinfo, they are elsewhere
- remove all .info* generated files
|
|
OK ingo@
|