aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-07-17 10:40:11 +0000
committerThiemo Seufer <ths@networkno.de>2006-07-17 10:40:11 +0000
commitf43abd2b3904cba0e8b4ae0d3d0ad94bdb5fad84 (patch)
treee562fb296cf1f3b99d9ac1df025a8423d1315175 /gas/read.c
parent616f635db8e531a2a7c6713a5f17a1bdb1817315 (diff)
downloadgdb-f43abd2b3904cba0e8b4ae0d3d0ad94bdb5fad84.zip
gdb-f43abd2b3904cba0e8b4ae0d3d0ad94bdb5fad84.tar.gz
gdb-f43abd2b3904cba0e8b4ae0d3d0ad94bdb5fad84.tar.bz2
* read.c (s_struct): Use IS_ELF.
* config/tc-mips.c (md_begin, mips16_mark_labels, mips_ip, md_parse_option, s_change_sec, pic_need_relax, mips_fix_adjustable, tc_gen_reloc, mips_frob_file_after_relocs, s_mips_end, s_mips_frame, s_mips_mask): Likewise.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index da319a1..cb9e72c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3135,7 +3135,7 @@ s_struct (int ignore ATTRIBUTE_UNUSED)
#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
/* The ELF backend needs to know that we are changing sections, so
that .previous works correctly. */
- if (OUTPUT_FLAVOR == bfd_target_elf_flavour)
+ if (IS_ELF)
obj_elf_section_change_hook ();
#endif
subseg_set (absolute_section, 0);