History log of /openbsd/gnu/usr.bin/binutils-2.17/ld/scripttempl/elf.sc (Results 1 – 12 of 12)
Revision Date Author Comments
# fa04e3d1 03-Dec-2018 guenther <guenther@openbsd.org>

Merge post-2.17 but pre-GPLv3 diffs that add support for DT_GNU_HASH
to ld and improve the readelf support:
https://sourceware.org/ml/binutils/2006-07/msg00129.html
https://sourceware.org/ml/binuti

Merge post-2.17 but pre-GPLv3 diffs that add support for DT_GNU_HASH
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@

show more ...


# 12dd90a1 01-Jul-2017 deraadt <deraadt@openbsd.org>

provide both TRAP and NOP values for our architectures, then change
elf.sc to FILL .text segment with TRAP. .init/.fini remain NOP FILL.

It is possible that some of these TRAP values aren't perfect

provide both TRAP and NOP values for our architectures, then change
elf.sc to FILL .text segment with TRAP. .init/.fini remain NOP FILL.

It is possible that some of these TRAP values aren't perfect yet, but
they can be changed. When doing so also change the ld.script and gap.o
TRAP value.

discussions with mortimer, ok kettenis

show more ...


# 84941a69 14-Aug-2016 guenther <guenther@openbsd.org>

Turning off relro shouldn't insert padding into the middle of the relro
section; remove the PAD_GOT0 use that I should have deleted before. This
caused ld.so crashes on arm when building binutils.

Turning off relro shouldn't insert padding into the middle of the relro
section; remove the PAD_GOT0 use that I should have deleted before. This
caused ld.so crashes on arm when building binutils.

critical debugging observations by kettenis@

show more ...


# 7310f5ff 10-Aug-2016 guenther <guenther@openbsd.org>

Cover your kid's remaining eye and lock up the pets for the great old ones
have been disturbed: rework the linker script and then enable RELRO support
on all but mips64 (something something padding)

Cover your kid's remaining eye and lock up the pets for the great old ones
have been disturbed: rework the linker script and then enable RELRO support
on all but mips64 (something something padding) and m88k (untested).
This extends the RO coverage from just .got and .cdtors to also include
.openbsd.randomdata, .jcr, .dynamic, and .data.rel.ro., and moves more
segments from the text section to the rodata section. Depends on the
previous csu and ld.so work; reinstall those *before* rebuilding ld, or
just get a snapshot.

clues from kettenis
assistance testing and ok deraadt@

show more ...


# 2d3e7489 09-Aug-2014 guenther <guenther@openbsd.org>

We don't use the __openbsd_randomdata_{start,end} symbols, but rather
get that info via the PT_OPENBSD_RANDOM segment info, so kill the symbols
While here, delete the commented out lines for __DYNAMI

We don't use the __openbsd_randomdata_{start,end} symbols, but rather
get that info via the PT_OPENBSD_RANDOM segment info, so kill the symbols
While here, delete the commented out lines for __DYNAMIC as the question
they ask is answered 'no'

ok matthew@ back in May

show more ...


# 08d55005 24-Mar-2013 miod <miod@openbsd.org>

Don't forget to put .plt padding in the BSS_PLT case; lost during the 2.15->2.17
update.


# 4fd6915c 21-Mar-2013 miod <miod@openbsd.org>

Don't set TEXT_PLT if PLT_BEFORE_GOT.


# 05ee7c54 20-Mar-2013 guenther <guenther@openbsd.org>

Move the __openbsd_randomdata_{start,end} symbols outside of the
.openbsd.randomdata so that ld can cleanly suppress the program header
slot for PT_OPENBSD_RANDOMIZE when it isn't needed...such as fo

Move the __openbsd_randomdata_{start,end} symbols outside of the
.openbsd.randomdata so that ld can cleanly suppress the program header
slot for PT_OPENBSD_RANDOMIZE when it isn't needed...such as for /boot.
The symbols probably can and should be removed completely, but until that
can be tested this at least unblocks the 2.17 transition

ok miod@ matthew@

show more ...


# fec31230 18-Mar-2013 miod <miod@openbsd.org>

Try harder putting .ctor and .dtor next to .got, to be able to have ld.so
mprotect these sections RO as soon as they have been relocated; similar to
what the W^X changes in 2.15 did.


# 2ae320cc 09-Mar-2013 miod <miod@openbsd.org>

Bring back got and plt padding sections and special symbols from our changes
to binutils 2.15. Do not preserve brain cells. Do not collect $20,000.
Do not pass go. Do not keep your sanity.


# c494713c 20-Aug-2012 matthew <matthew@openbsd.org>

Add support for .openbsd.randomdata and PT_OPENBSD_RANDOMIZE to
binutils 2.17. Passes randomdata regress tests on sparc64.


# 3d8817e4 24-Apr-2011 miod <miod@openbsd.org>

Here comes the easter bunnytils 2.17 (the last version released against a
licence mere mortals can understand the terms of); will be connected to the
build on an arch-by-arch basis.

Testsuites and g

Here comes the easter bunnytils 2.17 (the last version released against a
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@

show more ...