* config/tc-ppc.c (ppc_pe_section): Comment out code assigning
authorAlan Modra <amodra@gmail.com>
Mon, 2 Jul 2007 02:11:56 +0000 (02:11 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Jul 2007 02:11:56 +0000 (02:11 +0000)
coff section flag values to bfd section flag.

gas/ChangeLog
gas/config/tc-ppc.c

index 9e9d9706baa1306cf2a73fb5f72080a6624f7e38..dd3e59eda8d520ec486dec793b3376014fd8b8fb 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * 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  <hongjiu.lu@intel.com>
 
        * aclocal.m4: Regenerated.
index a83aa11142256a386b08d922ec5c0458075dc94c..a86a3bea92c6c03d2164382ec4bd476c0ea5874e 100644 (file)
@@ -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