diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-05 03:05:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-05 03:05:32 +0000 |
commit | 45dfa85a1ee44000d43abb7945a4aa7631707563 (patch) | |
tree | 4fbcbb79f675fb33e849112175102446d2fc8e64 /gas/config/tc-microblaze.c | |
parent | 3ea17611f9c0a265d51cbdd4d0989b12c11aaad4 (diff) | |
download | gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.zip gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.gz gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.bz2 |
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.
Diffstat (limited to 'gas/config/tc-microblaze.c')
-rw-r--r-- | gas/config/tc-microblaze.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c index 7c6357e..440c88b 100644 --- a/gas/config/tc-microblaze.c +++ b/gas/config/tc-microblaze.c @@ -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))) |