]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ld.texi
Allows linker scripts to set the SEC_READONLY flag.
authorLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 21 Jul 2021 13:32:03 +0000 (14:32 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Jul 2021 13:36:02 +0000 (14:36 +0100)
commit6b86da53d5ee2022b9065f445d23356190380746
tree30672413b66483f04b1d54399cae642ae651eccc
parent8f5d31b8d1f80fd9fff4cef4acc4491a0d83fbed
Allows linker scripts to set the SEC_READONLY flag.

* ld.texi: Document new output section type.
* ldgram.y: Add new token.
* ldlang.c: Handle the new flag.
* ldlang.h: Add readonly_section to list of section types.
* ldlex.l: Add a new identifier.
* testsuite/ld-scripts/output-section-types.t: New example linker script.
* testsuite/ld-scripts/output-section-types.d: Test driver.
* testsyute/ld-scripts/script.exp: Run the new test.
ld/ld.texi
ld/ldgram.y
ld/ldlang.c
ld/ldlang.h
ld/ldlex.l
ld/testsuite/ld-scripts/output-section-types.d [new file with mode: 0644]
ld/testsuite/ld-scripts/output-section-types.t [new file with mode: 0644]
ld/testsuite/ld-scripts/script.exp