* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
.got sections.
This commit is contained in:
parent
04ff5cb5c7
commit
624f0b2537
2 changed files with 6 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-09-28 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
|
||||||
|
.got sections.
|
||||||
|
|
||||||
2002-09-28 Alan Modra <amodra@bigpond.net.au>
|
2002-09-28 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf.c (map_sections_to_segments): Correct test for start of
|
* elf.c (map_sections_to_segments): Correct test for start of
|
||||||
|
|
|
@ -1270,16 +1270,7 @@ elf_vax_size_dynamic_sections (output_bfd, info)
|
||||||
s->reloc_count = 0;
|
s->reloc_count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (strncmp (name, ".got", 4) == 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
|
|
||||||
{
|
{
|
||||||
/* It's not one of our sections, so don't allocate space. */
|
/* It's not one of our sections, so don't allocate space. */
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue