From 757bc39371648891e9187f0f32f2b76a5464666a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 5 Jun 2003 05:25:38 +0000 Subject: [PATCH] * dw2gencfi.c (cfi_finish): Set .eh_frame read-only. --- gas/ChangeLog | 4 ++++ gas/dw2gencfi.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 83a80c0a884..8abacaef05f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-06-04 Richard Henderson + + * dw2gencfi.c (cfi_finish): Set .eh_frame read-only. + 2003-06-04 Richard Henderson * config/tc-alpha.c (s_alpha_usepv): New. diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index a632cd1acce..76408a436e1 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); -- 2.30.2