aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-rl78.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-03-19 15:37:43 +0000
committerNick Clifton <nickc@redhat.com>2015-03-19 15:37:43 +0000
commit1740ba0cec44bdfe9cba586892a5953a4c602228 (patch)
tree26294748df3121fa55f1be80dce4027b1aff3f18 /gas/doc/c-rl78.texi
parent8bf3b159e55b42bb084f9da1af400a285025618f (diff)
downloadgdb-1740ba0cec44bdfe9cba586892a5953a4c602228.zip
gdb-1740ba0cec44bdfe9cba586892a5953a4c602228.tar.gz
gdb-1740ba0cec44bdfe9cba586892a5953a4c602228.tar.bz2
Add support for G13 and G14 flag bits in RL78 ELF binaries.
inc * rl78.h (E_FLAG_RL78_G10): Redefine. (E_FLAG_RL78_CPU_MASK, E_FLAG_RL78_ANY_CPU, E_FLAG_RL78_G13 E_FLAG_RL78_G14): New flags. bin * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags. gas * config/tc-rl78.c (enum options): Add G13 and G14. (md_longopts): Add -mg13 and -mg14. (md_parse_option): Handle -mg13 and -mg14. (md_show_usage): List -mg13 and -mg14. * doc/c-rl78.texi: Add description of -mg13 and -mg14 options. bfd * elf32-rl78.c (rl78_cpu_name): New function. Prints the name of the RL78 core based upon the flags. (rl78_elf_merge_private_bfd_data): Handle merging of G13 and G14 flags. (rl78_elf_print_private_bfd_data): Use rl78_cpu_name. (elf32_rl78_machine): Always return bfd_mach_rl78.
Diffstat (limited to 'gas/doc/c-rl78.texi')
-rw-r--r--gas/doc/c-rl78.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/doc/c-rl78.texi b/gas/doc/c-rl78.texi
index fee16f1..5cb568f 100644
--- a/gas/doc/c-rl78.texi
+++ b/gas/doc/c-rl78.texi
@@ -32,6 +32,15 @@ Enable support for link-time relaxation.
Mark the generated binary as targeting the G10 variant of the RL78
architecture.
+@item mg13
+Mark the generated binary as targeting the G13 variant of the RL78
+architecture.
+
+@item mg14
+@itemx mrl78
+Mark the generated binary as targeting the G14 variant of the RL78
+architecture. This is the default.
+
@item m32bit-doubles
Mark the generated binary as one that uses 32-bits to hold the
@code{double} floating point type. This is the default.