diff options
author | Alan Modra <amodra@gmail.com> | 2016-01-17 12:13:30 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-01-17 12:13:30 +1030 |
commit | adec12c116e2e184cfa37d1c39cd2d83a7e89d31 (patch) | |
tree | 6b20cb39df0e4f19de477223fdfc0039cdf7528a /binutils/readelf.c | |
parent | 4e566232a751facfa5e0234299593a5231c60845 (diff) | |
download | gdb-adec12c116e2e184cfa37d1c39cd2d83a7e89d31.zip gdb-adec12c116e2e184cfa37d1c39cd2d83a7e89d31.tar.gz gdb-adec12c116e2e184cfa37d1c39cd2d83a7e89d31.tar.bz2 |
m68hc11/12 readelf support
Supports relocation of debug sections.
* readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 47ac1ad..f74ef7b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -11404,6 +11404,9 @@ is_32bit_abs_reloc (unsigned int reloc_type) return reloc_type == 3; /* R_M32C_32. */ case EM_M32R: return reloc_type == 34; /* R_M32R_32_RELA. */ + case EM_68HC11: + case EM_68HC12: + return reloc_type == 6; /* R_M68HC11_32. */ case EM_MCORE: return reloc_type == 1; /* R_MCORE_ADDR32. */ case EM_CYGNUS_MEP: |