projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a50d4a
)
* elf32-mips.c (mips_elf32_section_processing): Permit a
author
Ian Lance Taylor
<ian@airs.com>
Sat, 12 Jun 1999 13:08:29 +0000
(13:08 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Sat, 12 Jun 1999 13:08:29 +0000
(13:08 +0000)
SHT_MIPS_REGINFO section to have a size of 0.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-mips.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 92876ac8891b1baca384e32f765f791ee3567d42..7670efced690ac550ccf1c4ca449fcd637e0be10 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
diff --git
a/bfd/elf32-mips.c
b/bfd/elf32-mips.c
index 93a24660f80ad688945c6fae6c6b4867016fffac..b4de2e93f1d6bc6e0e9a5159b800e8b97c664e18 100644
(file)
--- a/
bfd/elf32-mips.c
+++ b/
bfd/elf32-mips.c
@@
-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];