diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/config.bfd | 4 | ||||
-rwxr-xr-x | bfd/configure | 1 | ||||
-rw-r--r-- | bfd/configure.ac | 1 | ||||
-rw-r--r-- | bfd/elf32-h8300.c | 9 | ||||
-rw-r--r-- | bfd/targets.c | 2 |
6 files changed, 25 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f4391d7..efa539c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp> + + * config.bfd: Add h8300-*-linux. + * configure.ac: Add h8300_elf32_linux_vec. + * configure: Regenerate. + * elf32-h8300.c: Likewise. + * targets.c(_bfd_target_vector): Likewise. + 2015-02-23 Nick Clifton <nickc@redhat.com> PR 17914 diff --git a/bfd/config.bfd b/bfd/config.bfd index 62f8ee4..b79c711 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -461,6 +461,10 @@ case "${targ}" in targ_underscore=yes ;; + h8300*-*-linux*) + targ_defvec=h8300_elf32_linux_vec + ;; + h8300*-*-*) targ_defvec=h8300_coff_vec targ_underscore=yes diff --git a/bfd/configure b/bfd/configure index 1fc7991..20b2e27 100755 --- a/bfd/configure +++ b/bfd/configure @@ -15356,6 +15356,7 @@ do frv_elf32_fdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; h8300_coff_vec) tb="$tb coff-h8300.lo reloc16.lo $coffgen" ;; h8300_elf32_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; + h8300_elf32_linux_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; h8500_coff_vec) tb="$tb coff-h8500.lo reloc16.lo $coffgen" ;; hppa_elf32_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; hppa_elf32_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; diff --git a/bfd/configure.ac b/bfd/configure.ac index 337a23f..cd18689 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -757,6 +757,7 @@ do frv_elf32_fdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; h8300_coff_vec) tb="$tb coff-h8300.lo reloc16.lo $coffgen" ;; h8300_elf32_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; + h8300_elf32_linux_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; h8500_coff_vec) tb="$tb coff-h8500.lo reloc16.lo $coffgen" ;; hppa_elf32_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; hppa_elf32_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c index 3676032..3598c34 100644 --- a/bfd/elf32-h8300.c +++ b/bfd/elf32-h8300.c @@ -1744,3 +1744,12 @@ elf32_h8_get_relocated_section_contents (bfd *output_bfd, #define elf_symbol_leading_char '_' #include "elf32-target.h" + +#undef TARGET_BIG_SYM +#define TARGET_BIG_SYM h8300_elf32_linux_vec +#undef TARGET_BIG_NAME +#define TARGET_BIG_NAME "elf32-h8300-linux" +#undef elf_symbol_leading_char +#define elf32_bed elf32_h8300_linux_bed + +#include "elf32-target.h" diff --git a/bfd/targets.c b/bfd/targets.c index 0c7fed5..9b5458e 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -631,6 +631,7 @@ extern const bfd_target frv_elf32_vec; extern const bfd_target frv_elf32_fdpic_vec; extern const bfd_target h8300_coff_vec; extern const bfd_target h8300_elf32_vec; +extern const bfd_target h8300_elf32_linux_vec; extern const bfd_target h8500_coff_vec; extern const bfd_target hppa_elf32_vec; extern const bfd_target hppa_elf32_linux_vec; @@ -1045,6 +1046,7 @@ static const bfd_target * const _bfd_target_vector[] = &h8300_coff_vec, &h8300_elf32_vec, + &h8300_elf32_linux_vec, &h8500_coff_vec, &hppa_elf32_vec, |