-2020-05-04 Nick Clifton <nickc@redhat.com>
+2020-05-05 Gunther Nikl <gnikl@justmail.de>
+
+ * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
+ (md_parse_option): Remove initialization of elf_flags.
2020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
const char EXP_CHARS[] = "eE";
const char FLT_CHARS[] = "dD";
\f
-/* ELF flags to set in the output file header. */
-static int elf_flags;
-
#ifndef TE_LINUX
bfd_boolean rx_use_conventional_section_names = FALSE;
+static int elf_flags = E_FLAG_RX_ABI;
#else
bfd_boolean rx_use_conventional_section_names = TRUE;
static int elf_flags;
#endif
-static bfd_boolean rx_use_small_data_limit = FALSE;
+static bfd_boolean rx_use_small_data_limit = FALSE;
static bfd_boolean rx_pid_mode = FALSE;
static int rx_num_int_regs = 0;
int rx_pid_register;
int
md_parse_option (int c ATTRIBUTE_UNUSED, const char * arg ATTRIBUTE_UNUSED)
{
-#ifndef TE_LINUX
- elf_flags = E_FLAG_RX_ABI;
-#endif
switch (c)
{
case OPTION_BIG: