* coffcode.h: Added a cast to void when a bfd_set_section_*()

macro's return value is ignored.
	* elf32-hppa.c: Likewise.
	* elf32-tic6x.c: Likewise.
	* mach-o.c: Likewise.
	* mmo.c: Likewise.
	* opncls.c: Likewise.
	* peicode.h: Likewise.
	* elf32-m32r.c: Check return value of bfd_set_section_*().
	* elfnn-ia64.c: Likewise.
	* elfxx-mips.c: Likewise.
	* vms-alpha.c: Likewise.
This commit is contained in:
Nick Clifton
2013-04-17 14:16:01 +00:00
parent 17310e568d
commit a253d456e1
13 changed files with 69 additions and 56 deletions

View File

@@ -1,6 +1,5 @@
/* M32R-specific support for 32-bit ELF.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
Copyright 1996-2013 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -1390,7 +1389,8 @@ m32r_elf_add_symbol_hook (bfd *abfd,
flags);
if (s == NULL)
return FALSE;
bfd_set_section_alignment (abfd, s, 2);
if (! bfd_set_section_alignment (abfd, s, 2))
return FALSE;
}
bh = bfd_link_hash_lookup (info->hash, "_SDA_BASE_",