From b8cee39d75eebcf6175a210cf878d3e1f4825870 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Aug 2013 10:40:03 +0000 Subject: * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10 flag bits do not match. (rl78_elf_print_private_bfd_data): Describe G10 flag. * readelf.c (get_machine_flags): Handle RL78 G10 flag. * config/tc-rl78.c (elf_flags): New variable. (enum options): Add OPTION_G10. (md_longopts): Add mg10. (md_parse_option): Parse -mg10. (rl78_elf_final_processing): New function. * config/tc-rl78.c (tc_final_processing): Define. * doc/c-rl78.texi: Document -mg10 option. * rl78.c (E_FLAG_RL78_G10): Define. * lib/ld-lib.exp (check_shared_lib_support): Note that the RL78 does not support shared library generation. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 802d9f1831..bd8acb3063 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2013-08-09 Nick Clifton + + * readelf.c (get_machine_flags): Handle RL78 G10 flag. + 2013-07-26 Sergey Guriev Alexander Ivchenko Maxim Kuznetsov diff --git a/binutils/readelf.c b/binutils/readelf.c index b6c2a39cc3..2dd1d8bef2 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2779,6 +2779,11 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) strcat (buf, ", G-Float"); break; + case EM_RL78: + if (e_flags & E_FLAG_RL78_G10) + strcat (buf, ", G10"); + break; + case EM_RX: if (e_flags & E_FLAG_RX_64BIT_DOUBLES) strcat (buf, ", 64-bit doubles"); -- cgit v1.2.1