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. --- gas/config/tc-tic6x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gas/config/tc-tic6x.c') diff --git a/gas/config/tc-tic6x.c b/gas/config/tc-tic6x.c index 017254a..ddbfb50 100644 --- a/gas/config/tc-tic6x.c +++ b/gas/config/tc-tic6x.c @@ -1,5 +1,5 @@ /* TI C6X assembler. - Copyright 2010, 2011 + Copyright 2010, 2011, 2012 Free Software Foundation, Inc. Contributed by Joseph Myers Bernd Schmidt @@ -790,12 +790,12 @@ md_begin (void) /* We must construct a fake section similar to bfd_com_section but with the name .scommon. */ - scom_section = bfd_com_section; + scom_section = *bfd_com_section_ptr; scom_section.name = ".scommon"; scom_section.output_section = & scom_section; scom_section.symbol = & scom_symbol; scom_section.symbol_ptr_ptr = & scom_section.symbol; - scom_symbol = * bfd_com_section.symbol; + scom_symbol = * bfd_com_section_ptr->symbol; scom_symbol.name = ".scommon"; scom_symbol.section = & scom_section; } -- cgit v1.1