# Test NOCROSSREFS in a linker script.
# By Ian Lance Taylor, Cygnus Support.
-# Copyright (C) 2000-2015 Free Software Foundation, Inc.
+# Copyright (C) 2000-2016 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
set flags "-mshelf32"
}
+# arc-elf32 requires the symbol __SDATA_BEGIN__ to always be present.
+if [istarget arc*-*-elf32] {
+ set flags "$flags --defsym=__SDATA_BEGIN__=0"
+}
+
# IA64 has both ordered and unordered sections in an input file.
setup_xfail ia64-*-*