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

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


Revision tags: OPENBSD_7_3_BASE
# 1.8 09-Jan-2023 kettenis

Implement --execute-only (and turn --no-execute-only from a no-op into an
options that does the opposite).

Note that this option is likely to be ineffective without changes to the
linker scripts. A change that adjusts the hppa linker scripts will follow
shortly. Other architectures will need some work.

ok deraadt@


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
# 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 31-May-2016 stefan

Port over binutils fix for PR ld/3111.

This greatly speeds up up linking of object files that contain
lots of dwarf2 symbols by caching symbol tables.

Original patch before binutils was switched to GPLv3 from:
https://sourceware.org/ml/binutils/2006-08/msg00334.html

Aaron Miller made us aware of that diff and adapted it to our
in-tree binutils. Many thanks!

Ports build testing on amd64 by krw@
ok deraadt@ krw@


# 1.4 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.3 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.2 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.


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


# 1.8 09-Jan-2023 kettenis

Implement --execute-only (and turn --no-execute-only from a no-op into an
options that does the opposite).

Note that this option is likely to be ineffective without changes to the
linker scripts. A change that adjusts the hppa linker scripts will follow
shortly. Other architectures will need some work.

ok deraadt@


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
# 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 31-May-2016 stefan

Port over binutils fix for PR ld/3111.

This greatly speeds up up linking of object files that contain
lots of dwarf2 symbols by caching symbol tables.

Original patch before binutils was switched to GPLv3 from:
https://sourceware.org/ml/binutils/2006-08/msg00334.html

Aaron Miller made us aware of that diff and adapted it to our
in-tree binutils. Many thanks!

Ports build testing on amd64 by krw@
ok deraadt@ krw@


# 1.4 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.3 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.2 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.


# 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 31-May-2016 stefan

Port over binutils fix for PR ld/3111.

This greatly speeds up up linking of object files that contain
lots of dwarf2 symbols by caching symbol tables.

Original patch before binutils was switched to GPLv3 from:
https://sourceware.org/ml/binutils/2006-08/msg00334.html

Aaron Miller made us aware of that diff and adapted it to our
in-tree binutils. Many thanks!

Ports build testing on amd64 by krw@
ok deraadt@ krw@


# 1.4 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.3 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.2 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.


# 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 31-May-2016 stefan

Port over binutils fix for PR ld/3111.

This greatly speeds up up linking of object files that contain
lots of dwarf2 symbols by caching symbol tables.

Original patch before binutils was switched to GPLv3 from:
https://sourceware.org/ml/binutils/2006-08/msg00334.html

Aaron Miller made us aware of that diff and adapted it to our
in-tree binutils. Many thanks!

Ports build testing on amd64 by krw@
ok deraadt@ krw@


# 1.4 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.3 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.2 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.


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision