* config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
authorJeff Law <law@redhat.com>
Mon, 19 Dec 1994 22:33:35 +0000 (22:33 +0000)
committerJeff Law <law@redhat.com>
Mon, 19 Dec 1994 22:33:35 +0000 (22:33 +0000)
clear for a section with the "ZERO" attribute.

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

index 7502cd66a997f0b08435f8d9e704b74f9e9683b4..5312daeb24c8b7a8a0637dcc9a1a76b894e7b330 100644 (file)
@@ -7,6 +7,9 @@ Mon Dec 19 16:53:36 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
 
 Mon Dec 19 14:15:07 1994  Jeff Law  (law@snake.cs.utah.edu)
 
+       * config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
+       clear for a section with the "ZERO" attribute.
+
        * Reduce useless symbols for ELF in an attempt to make smaller
        objects and speed up the linker.
        * config/tc-hppa.c (struct call_info): Replace end_symbol field
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.036156 seconds and 4 git commands to generate.