From b8f7596cbe3bed56dbd9681340035791288a0d9c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 19 Dec 1994 22:33:35 +0000 Subject: * config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is clear for a section with the "ZERO" attribute. --- gas/config/tc-hppa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gas/config') 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 -- cgit v1.1