mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
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.
This commit is contained in:
committed by
Nick Clifton
parent
8f5d31b8d1
commit
6b86da53d5
@@ -121,7 +121,8 @@ enum section_type
|
||||
first_overlay_section,
|
||||
overlay_section,
|
||||
noload_section,
|
||||
noalloc_section
|
||||
noalloc_section,
|
||||
readonly_section
|
||||
};
|
||||
|
||||
/* This structure holds a list of program headers describing
|
||||
|
||||
Reference in New Issue
Block a user