Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section
[deliverable/binutils-gdb.git] / gas / config / tc-microblaze.c
index 7c6357e8e88007a0e71c31d35573b3588a2086df..440c88bd1e8e707d3798acd5900f72c7d4d7b18e 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-microblaze.c -- Assemble code for Xilinx MicroBlaze
 
-   Copyright 2009, 2010 Free Software Foundation.
+   Copyright 2009, 2010, 2012 Free Software Foundation.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -2101,7 +2101,7 @@ md_estimate_size_before_relax (fragS * fragP,
          else if (streq (fragP->fr_opcode, str_microblaze_ro_anchor))
            {
               /* It is accessed using the small data read only anchor.  */
-              if ((S_GET_SEGMENT (fragP->fr_symbol) == &bfd_com_section)
+              if ((S_GET_SEGMENT (fragP->fr_symbol) == bfd_com_section_ptr)
                  || (S_GET_SEGMENT (fragP->fr_symbol) == sdata2_segment)
                  || (S_GET_SEGMENT (fragP->fr_symbol) == sbss2_segment)
                  || (! S_IS_DEFINED (fragP->fr_symbol)))
@@ -2125,7 +2125,7 @@ md_estimate_size_before_relax (fragS * fragP,
             }
          else if (streq (fragP->fr_opcode, str_microblaze_rw_anchor))
            {
-              if ((S_GET_SEGMENT (fragP->fr_symbol) == &bfd_com_section)
+              if ((S_GET_SEGMENT (fragP->fr_symbol) == bfd_com_section_ptr)
                  || (S_GET_SEGMENT (fragP->fr_symbol) == sdata_segment)
                  || (S_GET_SEGMENT (fragP->fr_symbol) == sbss_segment)
                  || (!S_IS_DEFINED (fragP->fr_symbol)))
This page took 0.02436 seconds and 4 git commands to generate.