From 45dfa85a1ee44000d43abb7945a4aa7631707563 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 5 May 2012 03:05:32 +0000 Subject: Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section and bfd_ind_section with their _ptr variants, or use corresponding bfd_is_* macros. --- bfd/versados.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bfd/versados.c') diff --git a/bfd/versados.c b/bfd/versados.c index 7f7766a..ae6f671 100644 --- a/bfd/versados.c +++ b/bfd/versados.c @@ -1,6 +1,6 @@ /* BFD back-end for VERSAdos-E objects. Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. + 2006, 2007, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support . Versados is a Motorola trademark. @@ -287,7 +287,7 @@ process_esd (bfd *abfd, struct ext_esd *esd, int pass) sec->flags |= SEC_ALLOC; break; case ESD_XDEF_IN_ABS: - sec = (asection *) & bfd_abs_section; + sec = bfd_abs_section_ptr; case ESD_XDEF_IN_SEC: { int snum = VDATA (abfd)->def_idx++; @@ -768,7 +768,7 @@ versados_canonicalize_reloc (bfd *abfd, int esdid = (int) (size_t) src[count].sym_ptr_ptr; if (esdid == 0) - src[count].sym_ptr_ptr = bfd_abs_section.symbol_ptr_ptr; + src[count].sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; else if (esdid < ES_BASE) { /* Section relative thing. */ -- cgit v1.1