aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r--gas/dw2gencfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c
index a632cd1..76408a4 100644
--- a/gas/dw2gencfi.c
+++ b/gas/dw2gencfi.c
@@ -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);