commit | 6b86da53d5ee2022b9065f445d23356190380746 | [log] [tgz] |
---|---|---|
author | Luca Boccassi <luca.boccassi@microsoft.com> | Wed Jul 21 14:32:03 2021 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Wed Jul 21 14:36:02 2021 +0100 |
tree | 30672413b66483f04b1d54399cae642ae651eccc | |
parent | 8f5d31b8d1f80fd9fff4cef4acc4491a0d83fbed [diff] |
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.