aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-vax.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-09-28 23:15:50 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-09-28 23:15:50 +0000
commit624f0b2537fb7d28855c88a3355ac02e3c34de08 (patch)
tree4586a287f66a099f818ea41930b9ef6d787b6c45 /bfd/elf32-vax.c
parent04ff5cb5c7bdb58241ac0674869e59d389692119 (diff)
downloadgdb-624f0b2537fb7d28855c88a3355ac02e3c34de08.zip
gdb-624f0b2537fb7d28855c88a3355ac02e3c34de08.tar.gz
gdb-624f0b2537fb7d28855c88a3355ac02e3c34de08.tar.bz2
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
.got sections.
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r--bfd/elf32-vax.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index 64b2c40..0d42b72 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -1270,16 +1270,7 @@ elf_vax_size_dynamic_sections (output_bfd, info)
s->reloc_count = 0;
}
}
- else if (strncmp (name, ".got", 4) == 0)
- {
- if (s->_raw_size == 0)
- {
- /* Strip this section if we don't need it; see the
- comment below. */
- strip = true;
- }
- }
- else
+ else if (strncmp (name, ".got", 4) != 0)
{
/* It's not one of our sections, so don't allocate space. */
continue;