OSDN Git Service

* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 15 Nov 2004 09:09:13 +0000 (09:09 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 15 Nov 2004 09:09:13 +0000 (09:09 +0000)
composite relocations against the personality data.

bfd/ChangeLog
bfd/elf-eh-frame.c

index f016362..43d5e45 100644 (file)
@@ -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
index c4cf46f..7468eef 100644 (file)
@@ -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;
                    }