aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-10-10 13:58:05 +0000
committerAlan Modra <amodra@gmail.com>2004-10-10 13:58:05 +0000
commitf12123c0d5ef931a2617b4b3bdb877556133c206 (patch)
tree483f9e7ea7bae9cb116dc8214e156ba7a620b295 /bfd/elf32-ppc.c
parent3472e2e9990e20e2ab0b3326ee7a4c87acd3d715 (diff)
downloadgdb-f12123c0d5ef931a2617b4b3bdb877556133c206.zip
gdb-f12123c0d5ef931a2617b4b3bdb877556133c206.tar.gz
gdb-f12123c0d5ef931a2617b4b3bdb877556133c206.tar.bz2
* libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while.
* libbfd.h: Regnerate. * elf32-cris.c: Add missing semicolon to BFD_ASSERTs. * elf32-frv.c: Likewise. * elf32-m32r.c: Likewise. * elf32-ppc.c: Likewise. * elf64-hppa.c: Likewise. * elfxx-ia64.c: Likewise. * opncls.c: Likewise.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index a9a246d..edc4efc 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -5473,7 +5473,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
BFD_ASSERT (sec != NULL);
BFD_ASSERT (bfd_is_und_section (sec)
|| strcmp (bfd_get_section_name (abfd, sec), ".got") == 0
- || strcmp (bfd_get_section_name (abfd, sec), ".cgot") == 0)
+ || strcmp (bfd_get_section_name (abfd, sec), ".cgot") == 0);
addend -= sec->output_section->vma + sec->output_offset + 0x8000;
break;