aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-09-03 19:13:14 +0000
committerIan Lance Taylor <ian@airs.com>1997-09-03 19:13:14 +0000
commit7e519ffc586e840e7562995899e49ab34a3f6cec (patch)
treee6c4c1a7e34405c806ca5f87deccfd767c4741bb /ld/ldlang.c
parent3b52112dfd1614a5af574dbee57a8f24d3021702 (diff)
downloadgdb-7e519ffc586e840e7562995899e49ab34a3f6cec.zip
gdb-7e519ffc586e840e7562995899e49ab34a3f6cec.tar.gz
gdb-7e519ffc586e840e7562995899e49ab34a3f6cec.tar.bz2
* ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
noload_section. PR 13139.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 66b3590..ad58208 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -845,7 +845,7 @@ wild_doit (ptr, section, output, file)
output->bfd_section->flags &= ~SEC_ALLOC;
break;
case noload_section:
- output->bfd_section->flags &= ~SEC_LOAD;
+ output->bfd_section->flags &= ~ (SEC_LOAD | SEC_HAS_CONTENTS);
output->bfd_section->flags |= SEC_NEVER_LOAD;
break;
}