History log of /openbsd-current/gnu/usr.bin/binutils-2.17/ld/ld.texinfo
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 06-Jul-2023 deraadt

teach the BFD tools how to handle NOBTCFI, quite similar to WXNEEDED
ok kettenis


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.7 03-Dec-2018 guenther

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@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.6 21-Jun-2016 guenther

Make creation of text-relocations a fatal error by default, with -znotext
to permit it and -ztext to reenable the default of forbidding it.

ok kettenis@


# 1.5 28-May-2016 deraadt

-z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placed
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


Revision tags: OPENBSD_5_9_BASE
# 1.4 25-Aug-2015 deraadt

Unbreak binutils on sparc64, hppa (and probably some others).
Jumbo merges are NOT WELCOME. They have to be seperated out and tested.


# 1.3 23-Aug-2015 bcallah

Introduce -Bsymbolic-functions and related flags. Taken from two
post-binutils 2.17 but pre-GPLv3 commits.
miod@ says now is the time to get this in.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 24-Apr-2011 miod

A first attempt at merging our local changes and fixes into the 2.17 codebase.
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.


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


# 1.7 03-Dec-2018 guenther

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@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.6 21-Jun-2016 guenther

Make creation of text-relocations a fatal error by default, with -znotext
to permit it and -ztext to reenable the default of forbidding it.

ok kettenis@


# 1.5 28-May-2016 deraadt

-z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placed
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


Revision tags: OPENBSD_5_9_BASE
# 1.4 25-Aug-2015 deraadt

Unbreak binutils on sparc64, hppa (and probably some others).
Jumbo merges are NOT WELCOME. They have to be seperated out and tested.


# 1.3 23-Aug-2015 bcallah

Introduce -Bsymbolic-functions and related flags. Taken from two
post-binutils 2.17 but pre-GPLv3 commits.
miod@ says now is the time to get this in.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 24-Apr-2011 miod

A first attempt at merging our local changes and fixes into the 2.17 codebase.
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.


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.6 21-Jun-2016 guenther

Make creation of text-relocations a fatal error by default, with -znotext
to permit it and -ztext to reenable the default of forbidding it.

ok kettenis@


# 1.5 28-May-2016 deraadt

-z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placed
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


Revision tags: OPENBSD_5_9_BASE
# 1.4 25-Aug-2015 deraadt

Unbreak binutils on sparc64, hppa (and probably some others).
Jumbo merges are NOT WELCOME. They have to be seperated out and tested.


# 1.3 23-Aug-2015 bcallah

Introduce -Bsymbolic-functions and related flags. Taken from two
post-binutils 2.17 but pre-GPLv3 commits.
miod@ says now is the time to get this in.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 24-Apr-2011 miod

A first attempt at merging our local changes and fixes into the 2.17 codebase.
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.


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision