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 | |
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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf-eh-frame.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f016362..43d5e45 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-11-14 Richard Sandiford <rsandifo@redhat.com> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with + composite relocations against the personality data. + 2004-11-13 Paul Brook <paul@codesourcery.com> * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve 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; } |