From f4a6705cf87d44e639f82031a03dfccb3c3c621e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 15 Nov 2004 09:09:13 +0000 Subject: * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with composite relocations against the personality data. --- bfd/elf-eh-frame.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bfd/elf-eh-frame.c') diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index c4cf46f65c..7468eef4f5 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; } -- cgit v1.2.1