From 8d452c78705a36c5ab7f27d7c1e08dc18b0743be Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Jul 2007 02:11:56 +0000 Subject: [PATCH] * config/tc-ppc.c (ppc_pe_section): Comment out code assigning coff section flag values to bfd section flag. --- gas/ChangeLog | 5 +++++ gas/config/tc-ppc.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9e9d9706baa..dd3e59eda8d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-07-02 Alan Modra + + * config/tc-ppc.c (ppc_pe_section): Comment out code assigning + coff section flag values to bfd section flag. + 2007-06-30 H.J. Lu * aclocal.m4: Regenerated. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index a83aa111422..a86a3bea92c 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -4568,7 +4568,7 @@ ppc_pe_section (int ignore ATTRIBUTE_UNUSED) case 'R': /* Remove section at link time */ flags |= SEC_NEVER_LOAD; break; - +#if IFLICT_BRAIN_DAMAGE /* Section Protection */ case 'r': /* section is readable */ flags |= IMAGE_SCN_MEM_READ; @@ -4612,7 +4612,7 @@ ppc_pe_section (int ignore ATTRIBUTE_UNUSED) flags |= IMAGE_SCN_ALIGN_64BYTES; align = 6; break; - +#endif default: as_bad (_("unknown section attribute '%c'"), *input_line_pointer); @@ -4638,7 +4638,6 @@ ppc_pe_section (int ignore ATTRIBUTE_UNUSED) } bfd_set_section_alignment (stdoutput, sec, align); - } static void -- 2.30.2