History log of /openbsd-current/gnu/usr.bin/binutils-2.17/bfd/elf-bfd.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_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.8 03-Feb-2019 kettenis

Add some fixes from upstream to the code that parses .eh_frame sections
in order the generate .eh_frame_hdr. In particular, don't rely on FDEs
pointing to the last CIE that was seen. Fixes exception handling issues
with clang++ on platforms that don't use ld.lld as the default linker.

ok deraadt@


# 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 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.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_7_BASE OPENBSD_5_8_BASE
# 1.2 13-Jan-2015 kettenis

Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


# 1.8 03-Feb-2019 kettenis

Add some fixes from upstream to the code that parses .eh_frame sections
in order the generate .eh_frame_hdr. In particular, don't rely on FDEs
pointing to the last CIE that was seen. Fixes exception handling issues
with clang++ on platforms that don't use ld.lld as the default linker.

ok deraadt@


# 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 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.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_7_BASE OPENBSD_5_8_BASE
# 1.2 13-Jan-2015 kettenis

Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@


# 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 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.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_7_BASE OPENBSD_5_8_BASE
# 1.2 13-Jan-2015 kettenis

Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@


# 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 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.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_7_BASE OPENBSD_5_8_BASE
# 1.2 13-Jan-2015 kettenis

Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision