* elf32-mips.c (mips_elf32_section_processing): Permit a
SHT_MIPS_REGINFO section to have a size of 0.
This commit is contained in:
parent
7a50d4ac66
commit
cc3bfcee61
@ -1,3 +1,8 @@
|
||||
1999-06-12 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* elf32-mips.c (mips_elf32_section_processing): Permit a
|
||||
SHT_MIPS_REGINFO section to have a size of 0.
|
||||
|
||||
1999-06-12 David O'Brien <obrien@freebsd.org>
|
||||
|
||||
* config.bfd (alpha*-*-freebsd*): New target.
|
||||
|
@ -2750,7 +2750,8 @@ mips_elf32_section_processing (abfd, hdr)
|
||||
bfd *abfd;
|
||||
Elf32_Internal_Shdr *hdr;
|
||||
{
|
||||
if (hdr->sh_type == SHT_MIPS_REGINFO)
|
||||
if (hdr->sh_type == SHT_MIPS_REGINFO
|
||||
&& hdr->sh_size > 0)
|
||||
{
|
||||
bfd_byte buf[4];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user