diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-06-29 07:02:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-06-29 07:02:35 +0000 |
commit | 8aac363c960c31f5c977212ffb95b4f3f648c4db (patch) | |
tree | a496c30e647360ea2b8326f1fd2e236221e60524 | |
parent | d487d729f2f58fc333c8b108bc6f653de71de90f (diff) | |
download | binutils-redhat-8aac363c960c31f5c977212ffb95b4f3f648c4db.tar.gz |
* readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 105a45d6f4..c864bc4591 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2012-06-29 Alan Modra <amodra@gmail.com> + + * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc. + 2012-06-12 Tom Tromey <tromey@redhat.com> * dwarf-mode.el: Add final comment. Bump version. diff --git a/binutils/readelf.c b/binutils/readelf.c index 527edf2a6e..b1bacfd722 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -10093,6 +10093,9 @@ is_16bit_abs_reloc (unsigned int reloc_type) case EM_XC16X: case EM_C166: return reloc_type == 2; /* R_XC16C_ABS_16. */ + case EM_CYGNUS_MN10200: + case EM_MN10200: + return reloc_type == 2; /* R_MN10200_16. */ case EM_CYGNUS_MN10300: case EM_MN10300: return reloc_type == 2; /* R_MN10300_16. */ |