Index: bfd/aout-ns32k.c |
diff --git a/bfd/aout-ns32k.c b/bfd/aout-ns32k.c |
index 9a0737d7ef7a25a5dac8eca6e2348101686b9ffd..75886bca1d26e2a182e2acc1ea382b8be7399122 100644 |
--- a/bfd/aout-ns32k.c |
+++ b/bfd/aout-ns32k.c |
@@ -1,6 +1,6 @@ |
/* BFD back-end for ns32k a.out-ish binaries. |
Copyright 1990, 1991, 1992, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
- 2002, 2003, 2005, 2006, 2007, 2010 Free Software Foundation, Inc. |
+ 2002, 2003, 2005, 2006, 2007, 2010, 2012 Free Software Foundation, Inc. |
Contributed by Ian Dall (idall@eleceng.adelaide.edu.au). |
This file is part of BFD, the Binary File Descriptor library. |
@@ -20,6 +20,7 @@ |
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
MA 02110-1301, USA. */ |
+#include "sysdep.h" |
#include "bfd.h" |
#include "aout/aout64.h" |
#include "ns32k.h" |
@@ -303,10 +304,10 @@ MY_swap_std_reloc_out (bfd *abfd, |
from the abs section, or as a symbol which has an abs value. |
Check for that here. */ |
if (bfd_is_com_section (output_section) |
- || output_section == &bfd_abs_section |
- || output_section == &bfd_und_section) |
+ || bfd_is_abs_section (output_section) |
+ || bfd_is_und_section (output_section)) |
{ |
- if (bfd_abs_section.symbol == sym) |
+ if (bfd_abs_section_ptr->symbol == sym) |
{ |
/* Whoops, looked like an abs symbol, but is really an offset |
from the abs section. */ |