From e870e0c546ac82e72603f5b243669990a66621b5 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 28 Sep 2002 23:19:01 +0000 Subject: [PATCH] Pick up the following change from binutils-current: 2002-09-28 Jason Thorpe * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip .got sections. --- gnu/dist/toolchain/bfd/elf32-vax.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gnu/dist/toolchain/bfd/elf32-vax.c b/gnu/dist/toolchain/bfd/elf32-vax.c index 7e466ba2616e..b3fd581bab26 100644 --- a/gnu/dist/toolchain/bfd/elf32-vax.c +++ b/gnu/dist/toolchain/bfd/elf32-vax.c @@ -1292,16 +1292,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;