diff options
author | Jeff Law <law@redhat.com> | 1994-12-19 22:33:35 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-12-19 22:33:35 +0000 |
commit | b8f7596cbe3bed56dbd9681340035791288a0d9c (patch) | |
tree | 0159e46ea5ab5724872cbb2e2cdf1e98f6ccf952 | |
parent | 885ae6b979ad57b264e50ca16aa48c2d3850d780 (diff) | |
download | gdb-b8f7596cbe3bed56dbd9681340035791288a0d9c.zip gdb-b8f7596cbe3bed56dbd9681340035791288a0d9c.tar.gz gdb-b8f7596cbe3bed56dbd9681340035791288a0d9c.tar.bz2 |
* config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
clear for a section with the "ZERO" attribute.
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7502cd6..5312dae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 4c5fd73..976b76a 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -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 |