diff options
author | Gunther Nikl <gnikl@justmail.de> | 2020-05-05 10:19:41 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-05-05 10:19:41 +0100 |
commit | 7d0bd4874453d781a0e6e998b47422f968907bdb (patch) | |
tree | 2b09a4222074f1f1b575d87da88aedbf68f24f72 /gas/config | |
parent | c3236f84c1735f0c80fabda1ce955fc3e2a73d3e (diff) | |
download | binutils-7d0bd4874453d781a0e6e998b47422f968907bdb.zip binutils-7d0bd4874453d781a0e6e998b47422f968907bdb.tar.gz binutils-7d0bd4874453d781a0e6e998b47422f968907bdb.tar.bz2 |
[GAS] change of ELF flags initial value in rx-linux
* config/tc-rx.c (elf_flags): Initialize for non-linux targets.
(md_parse_option): Remove initialization of elf_flags.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-rx.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index e3521d3..6f8ac6d 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -41,17 +41,15 @@ const char line_separator_chars[] = "!"; const char EXP_CHARS[] = "eE"; const char FLT_CHARS[] = "dD"; -/* 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; @@ -130,9 +128,6 @@ struct cpu_type cpu_type_list[] = 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: |