* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
authorIan Lance Taylor <ian@airs.com>
Wed, 8 Sep 1993 19:11:47 +0000 (19:11 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 8 Sep 1993 19:11:47 +0000 (19:11 +0000)
default flag values.

gas/ChangeLog
gas/config/obj-elf.c

index adf62f808ad8dc6ac4377568a049871bd519d310..78bf35a92605b990f52da46f69611c8b0e1dc299 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep  8 15:09:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
+       default flag values.
+
 Tue Sep  7 10:22:52 1993  Stan Shebs  (shebs@rtl.cygnus.com)
 
        * read.c: (change_to_section): Don't include body if not MANY_SECTIONS.
index 9914db5b562b92efcbb2716b0eaceb83569d9eb9..1f5d66fbdcc0f8d3d685d15baa303a359e38f107 100644 (file)
@@ -313,10 +313,10 @@ obj_elf_section (xxx)
       input_line_pointer = p;
     }
   if (!strcmp (string, ".rodata"))
-    default_flags = SEC_ALLOC | SEC_READONLY | SEC_RELOC;
+    default_flags = SEC_ALLOC | SEC_READONLY | SEC_RELOC | SEC_LOAD;
   else if (!strcmp (string, ".init")
           || !strcmp (string, ".fini"))
-    default_flags = SEC_ALLOC | SEC_READONLY | SEC_RELOC | SEC_CODE;
+    default_flags = SEC_ALLOC | SEC_READONLY | SEC_RELOC | SEC_CODE | SEC_LOAD;
 
   SKIP_WHITESPACE ();
   if (*input_line_pointer != ',')
This page took 0.035246 seconds and 4 git commands to generate.