aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
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);