mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
* dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
This commit is contained in:
@ -785,7 +785,7 @@ cfi_finish (void)
|
||||
cfi_seg = subseg_new (".eh_frame", 0);
|
||||
#ifdef BFD_ASSEMBLER
|
||||
bfd_set_section_flags (stdoutput, cfi_seg,
|
||||
SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA);
|
||||
SEC_ALLOC | SEC_LOAD | SEC_DATA | SEC_READONLY);
|
||||
#endif
|
||||
subseg_set (cfi_seg, 0);
|
||||
record_alignment (cfi_seg, 2);
|
||||
|
Reference in New Issue
Block a user