* config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
[deliverable/binutils-gdb.git] / gas / config / tc-hppa.c
index 4c5fd7335044041224f2b09372391d9f82dbfbc9..976b76a863f3077b374b32963cfc8652bedee3fa 100644 (file)
@@ -5351,11 +5351,12 @@ pa_subspace (unused)
       if (common || dup_common)
        flags |= SEC_IS_COMMON;
 
+      flags |= SEC_RELOC | SEC_HAS_CONTENTS;
+
       /* This is a zero-filled subspace (eg BSS).  */
       if (zero)
-       flags &= ~SEC_LOAD;
+       flags &= ~(SEC_LOAD | SEC_HAS_CONTENTS);
 
-      flags |= SEC_RELOC | SEC_HAS_CONTENTS;
       applicable &= flags;
 
       /* If this is an existing subspace, then we want to use the
This page took 0.024836 seconds and 4 git commands to generate.