History log of /openbsd-current/gnu/usr.bin/binutils-2.17/ld/ldgram.y
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 07-Dec-2023 kettenis

Collect .openbsd.syscalls sections into a new PT_OPENBSD_SYSCALLS segment.
This will be used soon to pin system calls to designated call sites.

ok deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.8 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.7 07-Oct-2022 deraadt

In the linkers, collect objects in section "openbsd.mutable" and place
them into a page-aligned region in the bss, with the right markers for
kernel/ld.so to identify the region and skip making it immutable.
While here, fix readelf/objdump versions to show all of this.
ok miod kettenis


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE 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.6 10-Aug-2016 guenther

Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.
Teach ld to access that and PT_GNU_RELRO in linker scripts.

ok deraadt@


Revision tags: OPENBSD_6_0_BASE
# 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_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 30-Dec-2013 kettenis

Recognize PT_OPENBSD_RANDOMIZE in linker scripts.

ok miod@, matthew@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


# 1.8 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.7 07-Oct-2022 deraadt

In the linkers, collect objects in section "openbsd.mutable" and place
them into a page-aligned region in the bss, with the right markers for
kernel/ld.so to identify the region and skip making it immutable.
While here, fix readelf/objdump versions to show all of this.
ok miod kettenis


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE 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.6 10-Aug-2016 guenther

Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.
Teach ld to access that and PT_GNU_RELRO in linker scripts.

ok deraadt@


Revision tags: OPENBSD_6_0_BASE
# 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_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 30-Dec-2013 kettenis

Recognize PT_OPENBSD_RANDOMIZE in linker scripts.

ok miod@, matthew@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


# 1.7 07-Oct-2022 deraadt

In the linkers, collect objects in section "openbsd.mutable" and place
them into a page-aligned region in the bss, with the right markers for
kernel/ld.so to identify the region and skip making it immutable.
While here, fix readelf/objdump versions to show all of this.
ok miod kettenis


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE 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.6 10-Aug-2016 guenther

Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.
Teach ld to access that and PT_GNU_RELRO in linker scripts.

ok deraadt@


Revision tags: OPENBSD_6_0_BASE
# 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_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 30-Dec-2013 kettenis

Recognize PT_OPENBSD_RANDOMIZE in linker scripts.

ok miod@, matthew@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.6 10-Aug-2016 guenther

Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.
Teach ld to access that and PT_GNU_RELRO in linker scripts.

ok deraadt@


Revision tags: OPENBSD_6_0_BASE
# 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_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 30-Dec-2013 kettenis

Recognize PT_OPENBSD_RANDOMIZE in linker scripts.

ok miod@, matthew@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision