* dw2gencfi.c (cfi_finish): Set .eh_frame read-only.

This commit is contained in:
Richard Henderson 2003-06-05 05:25:38 +00:00
parent f4b97536ed
commit 757bc39371
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-04 Richard Henderson <rth@redhat.com>
* dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
2003-06-04 Richard Henderson <rth@redhat.com>
* config/tc-alpha.c (s_alpha_usepv): New.

View File

@ -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);