Index: bfd/peicode.h |
diff --git a/bfd/peicode.h b/bfd/peicode.h |
index 5d100298f15150152cda4e7ccd9866402009dac7..e8357922b1c3ba8c46135576212ce3e28905f9ae 100644 |
--- a/bfd/peicode.h |
+++ b/bfd/peicode.h |
@@ -1,6 +1,7 @@ |
/* Support for the generic parts of PE/PEI, for BFD. |
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
- 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
+ 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
+ Free Software Foundation, Inc. |
Written by Cygnus Solutions. |
This file is part of BFD, the Binary File Descriptor library. |
@@ -545,7 +546,7 @@ pe_ILF_make_a_symbol (pe_ILF_vars * vars, |
sprintf (vars->string_ptr, "%s%s", prefix, symbol_name); |
if (section == NULL) |
- section = (asection_ptr) & bfd_und_section; |
+ section = bfd_und_section_ptr; |
/* Initialise the external symbol. */ |
H_PUT_32 (vars->abfd, vars->string_ptr - vars->string_table, |