diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2004-11-15 09:09:13 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2004-11-15 09:09:13 +0000 |
commit | f4a6705cf87d44e639f82031a03dfccb3c3c621e (patch) | |
tree | 529e3d45b5cb692f8fb15628ffaf876b35dfacdf /bfd/elf-eh-frame.c | |
parent | 62d569323650b64cc83dd588b0f130bd6ea5e30a (diff) | |
download | gdb-f4a6705cf87d44e639f82031a03dfccb3c3c621e.zip gdb-f4a6705cf87d44e639f82031a03dfccb3c3c621e.tar.gz gdb-f4a6705cf87d44e639f82031a03dfccb3c3c621e.tar.bz2 |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
composite relocations against the personality data.
Diffstat (limited to 'bfd/elf-eh-frame.c')
-rw-r--r-- | bfd/elf-eh-frame.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index c4cf46f..7468eef 100644 --- a/bfd/elf-eh-frame.c +++ b/bfd/elf-eh-frame.c @@ -498,7 +498,10 @@ _bfd_elf_discard_section_eh_frame cie.personality = h; } - cookie->rel++; + /* Cope with MIPS-style composite relocations. */ + do + cookie->rel++; + while (GET_RELOC (buf) != NULL); } buf += per_width; } |