2012-11-09 Nick Clifton <nickc@redhat.com>
authorNick Clifton <nickc@redhat.com>
Fri, 9 Nov 2012 17:00:44 +0000 (17:00 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 9 Nov 2012 17:00:44 +0000 (17:00 +0000)
commit708e2187a341e9eee46669dbb8c4d6603be5cf40
tree2f156302c2faa127189b6ba700d2707e213964db
parentf23200ada9c9f078722cd78ae3fd595c65b8b83a
2012-11-09  Nick Clifton  <nickc@redhat.com>

* elf32-rx.c (describe_flags): New function.  Returns a buffer
containing a description of the E_FLAG_RX_... values set.
(rx_elf_merge_private_bfd_data): Use it.
(rx_elf_print_private_bfd_data): Likewise.
(elf32_rx_machine): Skip EF_RX_CPU_RX check.
(elf32_rx_special_sections): Define.
(elf_backend_special_sections): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* config/obj-elf.c (obj_elf_change_section): Allow init array
sections to have the SHF_EXECINSTR attribute for the RX target.
* config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI.
(enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI.
(md_longopts): Add -mgcc-abi and -mrx-abi.
(md_parse_option): Add support for OPTION_USES_GCC_ABI and
OPTION_USES_RX_ABI.
* doc/as.texinfo (RX Options): Add mention of remaining RX
options.
* doc/c-rx.texi: Document -mgcc-abi and -mrx-abi.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* rx.h (EF_RX_CPU_RX): Add comment.
(E_FLAG_RX_ABI): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to
true.
(PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings.
(PARSE_AND_LIST_ARG_CASES): Add support for
--flag-mismatch-warnings.
13 files changed:
bfd/ChangeLog
bfd/elf32-rx.c
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/config/obj-elf.c
gas/config/tc-rx.c
gas/doc/as.texinfo
gas/doc/c-rx.texi
include/elf/ChangeLog
include/elf/rx.h
ld/ChangeLog
ld/emultempl/rxelf.em