aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-24 13:19:27 +0000
committerNick Clifton <nickc@redhat.com>2013-04-24 13:19:27 +0000
commit544008aaf7f992ad762049cbd4d6c4216d006857 (patch)
tree6518ec626b5c93f40a369f833583b7900d04a0e1 /bfd/ecoff.c
parent901d9a916042f252777b454573dd650f6a367fb5 (diff)
downloadgdb-544008aaf7f992ad762049cbd4d6c4216d006857.zip
gdb-544008aaf7f992ad762049cbd4d6c4216d006857.tar.gz
gdb-544008aaf7f992ad762049cbd4d6c4216d006857.tar.bz2
* ecoff.c: casting the return value of BFD_ALIGN to int
* elf32-tic6x.c: removing unused variables * elf32-v850.c: redefine the type of a variable (int -> bfd_vma) * vms-alpha.c: initialize a variable
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index eaf8ada..5add50c 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -1,7 +1,5 @@
/* Generic ECOFF (Extended-COFF) routines.
- Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
- Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Original version by Per Bothner.
Full support added by Ian Lance Taylor, ian@cygnus.com.
@@ -1888,7 +1886,7 @@ _bfd_ecoff_sizeof_headers (bfd *abfd,
ret = (bfd_coff_filhsz (abfd)
+ bfd_coff_aoutsz (abfd)
+ c * bfd_coff_scnhsz (abfd));
- return BFD_ALIGN (ret, 16);
+ return (int) BFD_ALIGN (ret, 16);
}
/* Get the contents of a section. */