diff options
author | Nick Clifton <nickc@redhat.com> | 2013-08-09 10:40:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-08-09 10:40:04 +0000 |
commit | 4046d87a365240eed765f315f37b9bb64f208892 (patch) | |
tree | f33935fdd15080e3104e7614a7aefd403794c325 /include | |
parent | 1ed8d8006b916d7cda234df9660252545051c6fe (diff) | |
download | fsf-binutils-gdb-4046d87a365240eed765f315f37b9bb64f208892.zip fsf-binutils-gdb-4046d87a365240eed765f315f37b9bb64f208892.tar.gz fsf-binutils-gdb-4046d87a365240eed765f315f37b9bb64f208892.tar.bz2 |
* 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.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/rl78.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 8445e61..2b69482 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2013-08-09 Nick Clifton <nickc@redhat.com> + + * rl78.c (E_FLAG_RL78_G10): Define. + 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com> * mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment. diff --git a/include/elf/rl78.h b/include/elf/rl78.h index 82959e1..b281d3a 100644 --- a/include/elf/rl78.h +++ b/include/elf/rl78.h @@ -1,5 +1,5 @@ /* RL78 ELF support for BFD. - Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2008-2013 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -104,8 +104,9 @@ END_RELOC_NUMBERS (R_RL78_max) #define EF_RL78_ALL_FLAGS (EF_RL78_CPU_MASK) /* Values for the e_flags field in the ELF header. */ -#define E_FLAG_RL78_64BIT_DOUBLES (1 << 0) +#define E_FLAG_RL78_64BIT_DOUBLES (1 << 0) #define E_FLAG_RL78_DSP (1 << 1) /* Defined in the RL78 CPU Object file specification, but not explained. */ +#define E_FLAG_RL78_G10 (1 << 2) /* CPU is missing register banks 1-3, so uses different ABI. */ /* These define the addend field of R_RL78_RH_RELAX relocations. */ #define RL78_RELAXA_BRA 0x00000010 /* Any type of branch (must be decoded). */ |