summaryrefslogtreecommitdiff
path: root/devel/gdb/files/patch-bfd-mach-o.c
blob: 2996a19cb93206768c258d4c116129f9f95e27ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bfd/mach-o.c.orig	2013-03-07 10:15:55.000000000 +0100
+++ bfd/mach-o.c	2013-03-07 10:16:09.000000000 +0100
@@ -2683,7 +2683,7 @@
 	  s->flags = xlat->macho_sectype | xlat->macho_secattr;
 	  s->align = xlat->sectalign > bfdalign ? xlat->sectalign 
 						: bfdalign;
-	  bfd_set_section_alignment (abfd, sec, s->align);
+	  (void)bfd_set_section_alignment (abfd, sec, s->align);
 	  bfd_flags = bfd_get_section_flags (abfd, sec);
 	  if (bfd_flags == SEC_NO_FLAGS)
 	    bfd_set_section_flags (abfd, sec, xlat->bfd_flags);